> -----Original Message-----
> From: dev <[email protected]> On Behalf Of [email protected]
> Sent: Tuesday, September 28, 2021 11:38 AM
> To: Richardson, Bruce <[email protected]>; Ananyev, Konstantin
> <[email protected]>; Wu, Jingjing <[email protected]>; Xing,
> Beilei <[email protected]>
> Cc: [email protected]; Yu, DapengX <[email protected]>; [email protected]
> Subject: [dpdk-dev] [PATCH] net/iavf: fix multi-process shared data
>
> From: Dapeng Yu <[email protected]>
>
> 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 adapter->eth_dev with rte_eth_devices[port_id] in the data
> paths where rte_eth_dev instance is accessed.
>
> 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: [email protected]
>
> Signed-off-by: Dapeng Yu <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi