mbox series

[net-next,v2,0/4] enic: Report per queue stats

Message ID 20240905010900.24152-1-neescoba@cisco.com (mailing list archive)
Headers show
Series enic: Report per queue stats | expand

Message

Nelson Escobar Sept. 5, 2024, 1:08 a.m. UTC
Hi,

This is V2 of a series that adds per queue stats report to enic driver.
Per Jakub's suggestion, I've added support for reporting the stats in netdev
qstats.  I've also split out the ethtool reporting into its own patch.

Patch #1: Use a macro instead of static const variables for array sizes.  I
          didn't want to add more static const variables in the next patch
          so clean up the existing ones first.

Patch #2: Collect per queue statistics

Patch #3: Report per queue stats in ethtool

Patch #4: Report per queue stats in netdev qstats

---

v2:
  - Split the ethtool stats reporting into its own patch
  - Added a patch for reporting stats with netdev qstats per Jakub's
    suggestion
v1: https://lore.kernel.org/all/20240823235401.29996-1-neescoba@cisco.com/

Nelson Escobar (4):
  enic: Use macro instead of static const variables for array sizes
  enic: Collect per queue statistics
  enic: Report per queue statistics in ethtool
  enic: Report per queue statistics in netdev qstats

 drivers/net/ethernet/cisco/enic/enic.h        |  38 ++++-
 .../net/ethernet/cisco/enic/enic_ethtool.c    | 114 +++++++++++--
 drivers/net/ethernet/cisco/enic/enic_main.c   | 157 +++++++++++++++---
 3 files changed, 277 insertions(+), 32 deletions(-)