onload icon indicating copy to clipboard operation
onload copied to clipboard

timestamps with af_xdp

Open wrfeewrtgaqwfrwaq opened this issue 10 months ago • 3 comments

Sorry to bother, but I can't find it anywhere in the documentation. Does onload use hardware timestamps when in af_xdp mode?

wrfeewrtgaqwfrwaq avatar Apr 16 '24 15:04 wrfeewrtgaqwfrwaq

The recently merged https://github.com/Xilinx-CNS/onload/pull/167 introduces HW timestamps for AF_XDP. However, the underlying network driver must implement the xmo_rx_timestamp() function, which implies the use of newer Linux kernels. Hope that gives you some useful pointers.

AF_XDP is not commercially supported in Onload, so there is only limited coverage in the documentation.

ivatet-amd avatar Apr 16 '24 15:04 ivatet-amd

Do you maybe know what exactly is minimum required kernel version?

wrfeewrtgaqwfrwaq avatar Apr 19 '24 09:04 wrfeewrtgaqwfrwaq

I'm told v6.3 is the kernel that introduces the required functionality.

abower-amd avatar May 03 '24 14:05 abower-amd

Thanks a lot!

wrfeewrtgaqwfrwaq avatar May 09 '24 22:05 wrfeewrtgaqwfrwaq