Re: [dpdk-dev] [PATCH v5] net/ice: fix function pointer in multi-process
From: Zhang, Qi Z <hidden>
Date: 2021-10-27 03:28:45
From: Zhang, Qi Z <hidden>
Date: 2021-10-27 03:28:45
-----Original Message-----
From: Yu, DapengX <redacted>
Sent: Tuesday, October 26, 2021 9:56 AM
To: Yang, Qiming <redacted>; Zhang, Qi Z
[off-list ref]
Cc: dev@dpdk.org; Wang, Haiyue <redacted>; Yu, DapengX
[off-list ref]; stable@dpdk.org
Subject: [PATCH v5] net/ice: fix function pointer in multi-process
From: Dapeng Yu <redacted>
This patch uses the index value to call the function, instead of the function
pointer assignment to save the selection of Receive Flex Descriptor profile ID.
Otherwise the secondary process will run with wrong function address from
primary process.
Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <redacted>
Acked-by: Haiyue Wang <redacted>Applied to dpdk-next-net-intel. Thanks Qi