]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: add "port_" prefix to MAC stats
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 2 Jun 2015 10:38:34 +0000 (11:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 19:57:27 +0000 (12:57 -0700)
commit30876920ae27fa3a04fa1cf5d3cdfb3c25036e20
tree0bd4e85cf5b7ac245326df243bf6afe9a5da1ab0
parent9061c81fcfe26134a806fd57de906e6357974c53
sfc: add "port_" prefix to MAC stats

The MAC stats are per-port and will only be displayed on the PF
with control of the link (one per physical port). Vadapter stats
will also be displayed for this PF, so distinguish the MAC stats
by adding a prefix of "port_".

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