Re: [dpdk-dev] [PATCH] net/i40e: fix data path corrupt on secondary process

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

[dpdk-dev] [PATCH] net/i40e: fix data path corrupt on secondary process

2021-06-09 Thread dapengx . yu
From: Dapeng Yu The rte_eth_devices array is not in share memory, it should not be referenced by i40e_adapter which is shared by primary and secondary. Any process set i40e_adapter->eth_dev will corrupt another process' context. The patch removed the field "eth_dev" from i40e_adapter. Now, when