> -----Original Message-----
> From: Wu, Wenjun1 <[email protected]>
> Sent: Monday, May 23, 2022 12:49 PM
> To: [email protected]; Wu, Jingjing <[email protected]>; Xing, Beilei
> <[email protected]>; Zhang, Qi Z <[email protected]>; Su, Simei
> <[email protected]>
> Cc: [email protected]; Wu, Wenjun1 <[email protected]>
> Subject: [PATCH v4] net/iavf: fix race condition for multi-cores
>
> In multi-cores cases for RX timestamp offload, if packets arrive too fast, aq
> command to get phc time will be pended.
>
> This patch adds spinlock to fix this issue. To avoid phc time being frequently
> overwritten, move related variables to iavf_rx_queue structure, and each
> queue will handle timestamp calculation by itself.
>
> Fixes: 2a0a62f40af5 ("net/iavf: enable Rx timestamp on Flex Descriptor")
> Fixes: 33db16136e55 ("net/iavf: improve performance of Rx timestamp
> offload")
>
> Signed-off-by: Wenjun Wu <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi