Re: [dpdk-dev] [PATCH v3] net/iavf: fix multi-process shared data
From: Zhang, Qi Z <hidden>
Date: 2021-10-11 02:57:54
-----Original Message-----
From: Yu, DapengX <redacted>
Sent: Monday, October 11, 2021 10:02 AM
To: Wu, Jingjing <redacted>; Xing, Beilei <redacted>;
Richardson, Bruce [off-list ref]; Ananyev, Konstantin
[off-list ref]
Cc: dev@dpdk.org; Zhang, Qi Z <redacted>; Yigit, Ferruh
[off-list ref]; Yu, DapengX [off-list ref];
stable@dpdk.org
Subject: [PATCH v3] net/iavf: fix multi-process shared data
From: Dapeng Yu <redacted>
When the iavf_adapter instance is not initialized completedly in the primary
process, the secondary process accesses its "rte_eth_dev"
member, it causes secondary process crash.
This patch replaces eth_dev with eth_dev_data in iavf_adapter.
Fixes: f978c1c9b3b5 ("net/iavf: add RSS hash parsing in AVX path")
Fixes: 9c9aa0040344 ("net/iavf: add offload path for Rx AVX512 flex
descriptor")
Fixes: 63660ea3ee0b ("net/iavf: add RSS hash parsing in SSE path")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <redacted>Acked-by: Qi Zhang <redacted> Applied to dpdk-next-net-intel. Thanks Qi