]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite80ca0139929a37a8d2b7fc90625aa5107066f57
tree0bd4e85cf5b7ac245326df243bf6afe9a5da1ab0
parent1d051e009851334899e2041c3d8dcde36e2db1c2
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