]> 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)
commita17f53c71e189d694893391925fd16944161830d
treebbb0aaad8715a73766bd0b63d1412e6d45254fed
parent0fd6faa3eafbb57678009b8e434571a837e95b64
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]