sfc: Add per-queue statistics in ethtool
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Thu, 17 Jul 2014 11:10:43 +0000 (12:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:48:36 +0000 (16:48 -0700)
commit8ccf3800dbdeaf26bcdefa471c9c8e0da7e6ec7a
treee88c2ea06aaed738991c1f3336c088f1eb9181c2
parent87b200e11bb50e90471a69fe1af01e8fce8995aa
sfc: Add per-queue statistics in ethtool

Implement per channel software TX and RX packet counters
accessed as ethtool statistics.

This allows confirmation with MAC statistics.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/rx.c
drivers/net/ethernet/sfc/tx.c