[dpdk-stable] [PATCH] net/i40e: fix wrong data path selection in secondary process

Zhang, Qi Z qi.z.zhang at intel.com
Mon Jun 21 05:01:51 CEST 2021



> -----Original Message-----
> From: Yu, DapengX <dapengx.yu at intel.com>
> Sent: Wednesday, June 9, 2021 3:05 PM
> To: Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>; Yu, DapengX
> <dapengx.yu at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/i40e: fix wrong data path selection in secondary process
> 
> From: Dapeng Yu <dapengx.yu at intel.com>
> 
> The flag use_avx2 and use_avx512 are defined as local variables, they will not
> be aware by the secondary process, then wrong data path is selected. Fix the
> issue by moving them into struct i40e_adapter.
> 
> Fixes: 6ada10deac66 ("net/i40e: remove devarg use-latest-supported-vec")
> Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dapeng Yu <dapengx.yu 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 stable mailing list