]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Add readout of statistics using ethtool
authorHans Westgaard Ry <hans.westgaard.ry@oracle.com>
Thu, 21 Apr 2016 11:13:21 +0000 (13:13 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:39:43 +0000 (19:39 -0400)
commit07a396e12749328ce3ef0a1d7534f2f8c1b301ea
tree06c2304980cb3e687c7dfc689cbba82309b42a56
parentc5b259b86833f74113476778bc5b53e528f352a2
IB/ipoib: 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.

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>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c