Re: [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process

2021-10-27 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: Wednesday, October 27, 2021 4:29 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/iavf: fix shared local data in multi

[dpdk-dev] [PATCH] net/iavf: fix shared local data in multi-process

2021-10-27 Thread dapengx . yu
From: Dapeng Yu The shared pointer is initialized to a static local array defined in the primary process and it shall not be accessed in the secondary process. This patch copies the local data to shared data, to avoid data access violation. Fixes: 040b44551f77 ("net/iavf: unify Rx packet type t