Skip to content

common/sfc_efx/base: add VADAPTER statistics for Medford4

Ivan Malov dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 1 replySuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common/sfc_efx/base: update MCDI headersdrivers/common/sfc_efx/base/efx_regs_mcdi.h+306 -71 reply
2/3common/sfc_efx/base: add support for VADAPTER statistics IDsdrivers/common/sfc_efx/base/efx_np.c+45 -00 replies
3/3common/sfc_efx/base: switch netport stats to use EVB port IDdrivers/common/sfc_efx/base/efx_impl.h drivers/common/sfc_efx/base/efx_mcdi.c drivers/common/sfc_efx/base/efx_np.c +1 more+22 -100 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchViacheslav GalaktionovIvan Malov
1/3R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.47.3