ibmvnic: Implement per-queue statistics reporting
authorJohn Allen <jallen@linux.vnet.ibm.com>
Wed, 2 Aug 2017 21:44:14 +0000 (16:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:33:05 +0000 (09:33 -0700)
commit3d52b5949d0311c4b7bc4c223918fee0f5c0dc39
treec74acc72e78820b451366d05c3b8890edb9d84a8
parentd06c3583c2cf6c27a56ee05aa128a950e31b224a
ibmvnic: Implement per-queue statistics reporting

Add counters to report number of packets, bytes, and dropped packets for
each transmit queue and number of packets, bytes, and interrupts for each
receive queue. Modify ethtool callbacks to report the new statistics.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h