mbox series

[net-next,0/5] eth: fbnic: cleanup and add a few stats

Message ID 20241115015344.757567-1-kuba@kernel.org (mailing list archive)
Headers show
Series eth: fbnic: cleanup and add a few stats | expand

Message

Jakub Kicinski Nov. 15, 2024, 1:53 a.m. UTC
Cleanup trival problems with fbnic and add the PCIe and RPC (Rx parser)
stats.

All stats are read under rtnl_lock for now, so the code is pretty
trivial. We'll need to add more locking when we start gathering
drops used by .ndo_get_stats64.

Jakub Kicinski (3):
  eth: fbnic: add missing SPDX headers
  eth: fbnic: add missing header guards
  eth: fbnic: add basic debugfs structure

Sanman Pradhan (2):
  eth: fbnic: add PCIe hardware statistics
  eth: fbnic: add RPC hardware statistics

 .../device_drivers/ethernet/meta/fbnic.rst    |  43 ++++
 drivers/net/ethernet/meta/fbnic/Makefile      |   1 +
 drivers/net/ethernet/meta/fbnic/fbnic.h       |   6 +
 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |  47 +++++
 .../net/ethernet/meta/fbnic/fbnic_debugfs.c   |  68 ++++++
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  74 +++++++
 .../net/ethernet/meta/fbnic/fbnic_hw_stats.c  | 193 ++++++++++++++++++
 .../net/ethernet/meta/fbnic/fbnic_hw_stats.h  |  28 +++
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   |  16 +-
 9 files changed, 475 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_debugfs.c