]> git.karo-electronics.de Git - linux-beck.git/commit
sfc: display vadaptor statistics for all interfaces
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 2 Jun 2015 10:39:06 +0000 (11:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 19:57:28 +0000 (12:57 -0700)
commit3c36a2aded8c9ef06bd09183bd6905f6b55f9886
treefd28ce24df869d78e2303c7fe273b00f78bca979
parent0a2ab4d988d75a42f3997343d1f0a767b9fdec3d
sfc: display vadaptor statistics for all interfaces

All interfaces will display vadaptor statistics, so set all the
relevant bits in the stats bitmask. Only functions with the
LINKCTRL flag will see other stats, including (per-port) MAC stats.

The vadaptor stats are from rx_unicast to tx_overflow.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/mcdi_pcol.h
drivers/net/ethernet/sfc/nic.h