Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb54714d authored by Feras Daoud's avatar Feras Daoud Committed by Leon Romanovsky
Browse files

IB/ipoib: Add get statistics support to SRIOV VF



Add SRIOV VF support to get traffic statistics.

Signed-off-by: default avatarFeras Daoud <ferasda@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 4829d964
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)