[PATCH v1 00/12] Cleanups for ixgbe, i40e, and iavf PMD's

Anatoly Burakov
2026-02-09T14:14:01Z

This patchset is an assortment of cleanups for ixgbe, i40e, and iavf PMD.

IXGBE:

- Remove unnecessary macros and #ifdef's
- Disentangle unrelated flow API code paths

I40E:

- Get rid of global variables and unnecessary allocations
- Reduce code duplication around default RSS keys
- Use more appropriate integer types and definitions

IAVF:

- Remove dead code
- Remove unnecessary allocations
- Separate RSS uninit from hash flow parser uninit

This is done in preparation for further rework.

Anatoly Burakov (12):
net/ixgbe: remove MAC type check macros
net/ixgbe: remove security-related ifdefery
net/ixgbe: split security and ntuple filters
net/i40e: get rid of global filter variables
net/i40e: use stack allocations for tunnel set
net/i40e: make default RSS key global
net/i40e: use unsigned types for queue comparisons
net/i40e: use proper flex len define
net/i40e: remove global pattern variable
net/iavf: remove remnants of pipeline mode
net/iavf: do not use malloc in crypto VF commands
net/iavf: decouple hash uninit from parser uninit

drivers/net/intel/i40e/i40e_ethdev.c | 148 ++++++++---------
drivers/net/intel/i40e/i40e_ethdev.h | 24 +--
drivers/net/intel/i40e/i40e_flow.c | 146 ++++++++---------
drivers/net/intel/i40e/i40e_hash.c | 27 +++-
drivers/net/intel/i40e/i40e_hash.h | 3 +
drivers/net/intel/iavf/iavf_ethdev.c | 4 +
drivers/net/intel/iavf/iavf_fdir.c | 1 -
drivers/net/intel/iavf/iavf_fsub.c | 1 -
drivers/net/intel/iavf/iavf_generic_flow.h | 15 --
drivers/net/intel/iavf/iavf_hash.c | 14 +-
drivers/net/intel/iavf/iavf_hash.h | 13 ++
drivers/net/intel/iavf/iavf_ipsec_crypto.c | 158 ++++++------------
drivers/net/intel/ixgbe/ixgbe_ethdev.c | 8 -
drivers/net/intel/ixgbe/ixgbe_ethdev.h | 16 --
drivers/net/intel/ixgbe/ixgbe_flow.c | 162 ++++++++++++-------
drivers/net/intel/ixgbe/ixgbe_rxtx.c | 26 ---
drivers/net/intel/ixgbe/ixgbe_rxtx.h | 2 -
drivers/net/intel/ixgbe/ixgbe_rxtx_vec_sse.c | 6 -
18 files changed, 352 insertions(+), 422 deletions(-)
create mode 100644 drivers/net/intel/iavf/iavf_hash.h

--
2.47.3