[PATCH v4] net/ice: improve performance of RX timestamp offload

Zhang, Qi Z qi.z.zhang at intel.com
Thu Mar 24 10:09:13 CET 2022



> -----Original Message-----
> From: Wu, Wenjun1 <wenjun1.wu at intel.com>
> Sent: Monday, February 28, 2022 3:36 PM
> To: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>
> Cc: Van Haaren, Harry <harry.van.haaren at intel.com>; Su, Simei
> <simei.su at intel.com>; Wu, Wenjun1 <wenjun1.wu at intel.com>
> Subject: [PATCH v4] net/ice: improve performance of RX timestamp offload
> 
> Previously, each time a burst of packets is received, SW reads HW register
> and assembles it and the timestamp from descriptor together to get the
> complete 64 bits timestamp.
> 
> This patch optimizes the algorithm. The SW only needs to check the
> monotonicity of the low 32bits timestamp to avoid crossing borders.
> Each time before SW receives a burst of packets, it should check the time
> difference between current time and last update time to avoid the low 32
> bits timestamp cycling twice.
> 
> Signed-off-by: Wenjun Wu <wenjun1.wu at intel.com>

Added cc stable

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list