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

2022-03-01 Thread Zhang, Qi Z
> -Original Message- > From: Steve Yang > Sent: Monday, February 28, 2022 5:49 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; Yang, Qiming ; Yang, > SteveX ; sta...@dpdk.org > Subject: [PATCH v1] net/iavf: fix function pointer in multi-process

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

2022-02-28 Thread Steve Yang
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 des