]> 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)
commit580049995ccc789fdc3eea874e1c76e73bc84c79
tree0bd4e85cf5b7ac245326df243bf6afe9a5da1ab0
parentab06b1fc5ad82bc49c1e2d750ee465b5d0e3518c
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