]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: Add driver stats
authorShannon Nelson <snelson@pensando.io>
Tue, 3 Sep 2019 22:28:19 +0000 (15:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:24:44 +0000 (09:24 +0200)
commit53fe93dd5b1c264771c41ef2e246806533f3f3b4
treebbb0aaad8715a73766bd0b63d1412e6d45254fed
parentbf5e5b5ad4292019146a2bc21ea341e29da53e75
ionic: Add driver stats

Add in the detailed statistics for ethtool -S that the driver
keeps as it processes packets.  Display of the additional
debug statistics can be enabled through the ethtool priv-flags
feature.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/Makefile
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_stats.c [new file with mode: 0644]
drivers/net/ethernet/pensando/ionic/ionic_stats.h [new file with mode: 0644]