[PATCH v3 0/3] common/sfc_efx/base: add VADAPTER statistics for Medford4

Ivan Malov <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
This series adds support for per-VF (VADAPTER) MAC
statistics on Medford4 in the libefx base layer.

The first patch selectively updates the MCDI headers, adding
new definitions needed by the subsequent patches.

The second patch introduces netport VADAPTER statistics IDs,
which identify the per-VF counter set returned by the NIC.

The third patch switches the netport statistics call to use
GET_NETPORT_STATISTICS_V2, passing the EVB port handle so
that the correct per-VF counters are retrieved.


v3:

- addressed https://mails.dpdk.org/archives/dev/2026-August/343074.html
  -- patch 3/3: documented why V2 is used unconditionally


v2:

- note for the future AI reviews: apply this on top of
  the 'net/sfc: miscellaneous bug fixes' series

- v1 review notes do not seem to point at factual defects



Andy Moreton (2):
  common/sfc_efx/base: add support for VADAPTER statistics IDs
  common/sfc_efx/base: switch netport stats to use EVB port ID

Ivan Malov (1):
  common/sfc_efx/base: update MCDI headers

 drivers/common/sfc_efx/base/efx_impl.h      |   3 +-
 drivers/common/sfc_efx/base/efx_mcdi.c      |   2 +-
 drivers/common/sfc_efx/base/efx_np.c        |  60 +++-
 drivers/common/sfc_efx/base/efx_regs_mcdi.h | 313 +++++++++++++++++++-
 drivers/common/sfc_efx/base/medford4_mac.c  |  12 +-
 5 files changed, 373 insertions(+), 17 deletions(-)

-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.