[00/11] net/sfc: support per-queue stats on EF100

Message ID 20210928112912.785412-1-andrew.rybchenko@oktetlabs.ru (mailing list archive)


Andrew Rybchenko Sept. 28, 2021, 11:29 a.m. UTC
  Implement per-queue Rx and Tx statistics for EF100 in software.
Packets and bytes stats are collected by the driver.

Ivan Ilchenko (11):
  net/sfc: rename array of SW stats descriptions
  net/sfc: rename accumulative SW stats to total
  net/sfc: rename SW stats structures
  net/sfc: fix cleanup order of SW stats
  net/sfc: fix missing const of SW stats descriptions
  net/sfc: optimize getting number of SW stats
  net/sfc: prepare having no some SW stats on an adapter
  net/sfc: add toggle to disable total stat
  net/sfc: add support for SW stats groups
  net/sfc: collect per queue stats in EF100 Rx datapath
  net/sfc: collect per queue stats in EF100 Tx datapath

 drivers/net/sfc/sfc.h          |  26 +-
 drivers/net/sfc/sfc_dp.h       |   2 +
 drivers/net/sfc/sfc_dp_rx.h    |   1 +
 drivers/net/sfc/sfc_dp_tx.h    |   1 +
 drivers/net/sfc/sfc_ef100_rx.c |  10 +-
 drivers/net/sfc/sfc_ef100_tx.c |   6 +-
 drivers/net/sfc/sfc_ethdev.c   | 136 ++++++--
 drivers/net/sfc/sfc_sw_stats.c | 569 +++++++++++++++++++++++++--------
 8 files changed, 581 insertions(+), 170 deletions(-)