On Wed, Oct 21, 2026 at 03:25:42PM +0100, Anatoly Burakov wrote:
> We should not be storing rte_eth_dev pointers in shared memory, because
> rte_eth_dev pointers are process local. To address that, remove the pointer
> from iavf_info, replace it with `rte_eth_devices`-based lookup, and rework
> the call paths to either use that lookup, or not require ethdev pointer
> in the first place.
> 
> Signed-off-by: Anatoly Burakov <[email protected]>
> ---
>  drivers/net/intel/iavf/iavf.h              |  9 ++++++--
>  drivers/net/intel/iavf/iavf_ethdev.c       | 11 +++++-----
>  drivers/net/intel/iavf/iavf_ipsec_crypto.c | 24 +++++++++++-----------
>  drivers/net/intel/iavf/iavf_ipsec_crypto.h |  4 ++--
>  drivers/net/intel/iavf/iavf_vchnl.c        |  7 ++++---
>  5 files changed, 30 insertions(+), 25 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to