diff options
author | Feras Daoud <ferasda@mellanox.com> | 2017-07-02 15:05:59 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-07-23 09:45:11 +0300 |
commit | eb54714ddcb2462d4d4b8aa78d028b61e217a835 (patch) | |
tree | 5a9a3cbcd3acd071ce85c9a9b8ef3376de25ff35 | |
parent | 4829d964dfb027558c732cfa0d13b716ab3f0838 (diff) | |
download | linux-eb54714ddcb2462d4d4b8aa78d028b61e217a835.tar.gz linux-eb54714ddcb2462d4d4b8aa78d028b61e217a835.tar.bz2 linux-eb54714ddcb2462d4d4b8aa78d028b61e217a835.zip |
IB/ipoib: Add get statistics support to SRIOV VF
Add SRIOV VF support to get traffic statistics.
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index f4403c52cd67..24fa87fe0952 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -1847,6 +1847,7 @@ static const struct net_device_ops ipoib_netdev_ops_vf = { .ndo_tx_timeout = ipoib_timeout, .ndo_set_rx_mode = ipoib_set_mcast_list, .ndo_get_iflink = ipoib_get_iflink, + .ndo_get_stats64 = ipoib_get_stats, }; void ipoib_setup_common(struct net_device *dev) |