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

2021-06-20 Thread Zhang, Qi Z
> -Original Message- > From: Yu, DapengX > Sent: Wednesday, June 9, 2021 3:05 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Yu, DapengX > ; sta...@dpdk.org > Subject: [PATCH] net/i40e: fix wrong data path selection in secondary process > > From: Dapeng Yu > > The flag use_

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

2021-06-09 Thread dapengx . yu
From: Dapeng Yu 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") Fixe