[PATCH v2 0/3] common/sfc_efx/base: add VADAPTER statistics for Medford4
Ivan Malov
ivan.malov at arknetworks.am
Wed Aug 12 19:10:36 CEST 2026
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.
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
More information about the dev
mailing list