[PATCH v1] net/iavf: fix function pointer in multi-process

Zhang, Qi Z qi.z.zhang at intel.com
Tue Mar 1 12:27:40 CET 2022



> -----Original Message-----
> From: Steve Yang <stevex.yang at intel.com>
> Sent: Monday, February 28, 2022 5:49 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Yang,
> SteveX <stevex.yang at intel.com>; stable at dpdk.org
> Subject: [PATCH v1] net/iavf: fix function pointer in multi-process
> 
> 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: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Steve Yang <stevex.yang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi




More information about the dev mailing list