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)
commite470355bd96ad50c634e0e31d27be41f93440f60
treebbb0aaad8715a73766bd0b63d1412e6d45254fed
parent1a371ea1b7b6666f66cac42c655f26ad89348354
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]