]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/ipoib: Let lower driver handle get_stats64 call
authorErez Shitrit <erezsh@mellanox.com>
Mon, 12 Jun 2017 07:45:21 +0000 (10:45 +0300)
committerDoug Ledford <dledford@redhat.com>
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 <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c