IB/ipoib: Let lower driver handle get_stats64 call
authorErez Shitrit <[email protected]>
Mon, 12 Jun 2017 07:45:21 +0000 (10:45 +0300)
committerDoug Ledford <[email protected]>
Tue, 18 Jul 2017 01:21:26 +0000 (21:21 -0400)
commitb6c871e5875798e5ed3744c725622dcd3c92be92
tree5f7e43c8327793adf866c3ce4594654d0d24981c
parent8fe8bacb92f249c91a1407b48aa1cb98067fe19d
IB/ipoib: Let lower driver handle get_stats64 call

The driver checks if the lower level driver supports get_stats, and if
so calls it to get the updated statistics, otherwise takes from the
current netdevice stats object.

Signed-off-by: Erez Shitrit <[email protected]>
Reviewed-by: Alex Vesker <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/ipoib/ipoib_main.c