]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2017 03:29:54 +0000 (20:29 -0700)
commit645ed7422bc1c2a36329c9cd51e84c15d715b4fc
tree848642bf531b53e4700e226796c091468dcd7f50
parent6d0e6156a0e2f6a65e1a6341f2a6f00bffcf0cd3
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>
drivers/net/ethernet/sun/sunvnet.c
drivers/net/ethernet/sun/sunvnet_common.c
drivers/net/ethernet/sun/sunvnet_common.h