diff options
author | 2017-07-02 15:05:59 +0300 | |
---|---|---|
committer | 2017-07-23 09:45:11 +0300 | |
commit | eb54714ddcb2462d4d4b8aa78d028b61e217a835 (patch) | |
tree | 5a9a3cbcd3acd071ce85c9a9b8ef3376de25ff35 /drivers/infiniband/ulp/ipoib/ipoib_main.c | |
parent | IB/ipoib: Add multicast packets statistics (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>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_main.c')
-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) |