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]>
- [PATCH v4 07/10] net/iavf: skip RSS teardown during PF-in... Anatoly Burakov
- Re: [PATCH v4 07/10] net/iavf: skip RSS teardown dur... Bruce Richardson
- [PATCH v4 08/10] net/iavf: remove redundant reset checks ... Anatoly Burakov
- Re: [PATCH v4 08/10] net/iavf: remove redundant rese... Bruce Richardson
- [PATCH v4 05/10] net/iavf: fix generic flow error-path le... Anatoly Burakov
- Re: [PATCH v4 05/10] net/iavf: fix generic flow erro... Bruce Richardson
- [PATCH v4 09/10] net/iavf: fix null engine for egress sec... Anatoly Burakov
- [PATCH v4 10/10] net/iavf: fix IPsec flow metadata leaks Anatoly Burakov
- [PATCH v4 03/10] net/iavf: fix false success on flow vali... Anatoly Burakov
- [PATCH v4 02/10] net/iavf: do not store ethdev pointer Anatoly Burakov
- Re: [PATCH v4 02/10] net/iavf: do not store ethdev p... Bruce Richardson
- [PATCH v4 01/10] net/iavf: keep device stopped if start f... Anatoly Burakov
- Re: [PATCH v4 01/10] net/iavf: keep device stopped i... Bruce Richardson

