[dpdk-stable] [PATCH v5] net/ice: fix function pointer in multi-process
Zhang, Qi Z
qi.z.zhang at intel.com
Wed Oct 27 05:28:38 CEST 2021
> -----Original Message-----
> From: Yu, DapengX <dapengx.yu at intel.com>
> Sent: Tuesday, October 26, 2021 9:56 AM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Wang, Haiyue <haiyue.wang at intel.com>; Yu, DapengX
> <dapengx.yu at intel.com>; stable at dpdk.org
> Subject: [PATCH v5] net/ice: fix function pointer in multi-process
>
> From: Dapeng Yu <dapengx.yu at intel.com>
>
> 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 at dpdk.org
>
> Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>
> Acked-by: Haiyue Wang <haiyue.wang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the stable
mailing list