]> git.baikalelectronics.ru Git - kernel.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)
commitec30b9c79580e333f60ff877a1e5f80e45e81853
tree5f7e43c8327793adf866c3ce4594654d0d24981c
parentaa8787099fc9e838c538ae581d60b7f682f0426b
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