Re: [dpdk-dev] [PATCH v2] net/ice: fix function pointer in multi-process

2021-10-22 Thread Wang, Haiyue
> -Original Message- > From: Yu, DapengX > Sent: Friday, October 22, 2021 16:58 > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX > ; > sta...@dpdk.org > Subject: [PATCH v2] net/ice: fix function pointer in multi-process > > From: Dapeng Yu > > The sharin

[dpdk-dev] [PATCH v2] net/ice: fix function pointer in multi-process

2021-10-22 Thread dapengx . yu
From: Dapeng Yu The sharing of function pointer may cause crash of secondary process. This patch removes the shared function pointer: "rxd_to_pkt_fields" in the instance of "struct ice_rx_queue" which is shared between primary and secondary process, and uses an index of function pointer array to