[PATCH] net/ice: fix race condition for multi-cores

Zhang, Qi Z qi.z.zhang at intel.com
Thu Jun 9 10:36:15 CEST 2022



> -----Original Message-----
> From: Su, Simei <simei.su at intel.com>
> Sent: Wednesday, June 8, 2022 10:46 AM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>
> Cc: dev at dpdk.org; Wu, Wenjun1 <wenjun1.wu at intel.com>; Su, Simei
> <simei.su at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/ice: fix race condition for multi-cores
> 
> In multi-cores cases for Rx timestamp offload, to avoid phc time being
> frequently overwritten, move related variables from ice_adapter to
> ice_rx_queue structure, and each queue will handle timestamp calculation by
> itself.
> 
> Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
> Fixes: 5543827fc6df ("net/ice: improve performance of Rx timestamp
> offload")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Simei Su <simei.su at intel.com>

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