]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/ipoib v2: Add readout of statistics using ethtool
authorHans Westgaard Ry <hans.westgaard.ry@oracle.com>
Thu, 30 Jun 2016 11:41:36 +0000 (13:41 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 01:05:33 +0000 (18:05 -0700)
commit37f59c0b9fda81d0f7bc8ace7f2cd0de0a6ef9bb
tree9a7f95e0910b302fde18a58b65c1ebb8751bf623
parent8d646b7aeb4913b5c9c5192915e6618d4bdf5158
IB/ipoib v2: Add readout of statistics using ethtool

IPoIB collects statistics of traffic including number of packets
sent/received, number of bytes transferred, and certain errors. This
patch makes these statistics available to be queried by ethtool.

Orabug: 23105464
Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Tested-by: Yuval Shaia <yuval.shaia@oracle.com>
Change-Id: I654587da2fd1628e0977346c87b4a3a2f08a4bdc
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c