]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sunvnet: add stats to track ldom to ldom packets and bytes
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 14 Mar 2017 17:24:40 +0000 (10:24 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 24 Apr 2017 04:43:19 +0000 (21:43 -0700)
commitf2411e3dddf08fd0587d5e634a0f82f6d48754f7
tree344cba03d9cf0b7e0b816834c16002b3e824eb82
parent2c5fa14572498e2fc6eaab49e83b712f309284de
sunvnet: add stats to track ldom to ldom packets and bytes

In this driver, there is a "port" created for the connection to each of
the other ldoms; a netdev queue is mapped to each port, and they are
collected under a single netdev.  The generic netdev statistics show
us all the traffic in and out of our network device, but don't show
individual queue/port stats.  This patch breaks out the traffic counts
for the individual ports and gives us a little view into the state of
those connections.

Orabug: 25190537

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry-picked from commit 0f512c84544b9a8f8de53b6f4bc0c372c45d8693)

Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/sun/sunvnet.c
drivers/net/ethernet/sun/sunvnet_common.c
drivers/net/ethernet/sun/sunvnet_common.h