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

2021-06-07 Thread Wang, Yixue
Hi Qi, Patch v2 has been tested. Best Regards, Yixue. > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, May 26, 2021 14:13 > To: Yang, Qiming > Cc: Zhang, Liheng ; Wang, Yixue > ; Dong, Yao ; dev@dpdk.org; > Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH v2] net/ice: fix dat

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

2021-06-04 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Yixue > Sent: Friday, June 4, 2021 2:52 PM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: Zhang, Liheng ; Dong, Yao > ; dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v2] net/ice: fix data path corrupt on secondary process > > Hi Qi, > > Patch v2 has

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

2021-05-25 Thread Qi Zhang
The rte_eth_devices array is not in share memory, it should not be referenced by ice_adapter which is shared by primary and secondary. Any process set ice_adapter->eth_dev will corrupt another process' context. The patch removed the field "eth_dev" from ice_adapter. Now, when the data paths try to