IB/ipoib: Add get statistics support to SRIOV VF

Add SRIOV VF support to get traffic statistics.

Signed-off-by: Feras Daoud <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
This commit is contained in:
Feras Daoud 2017-07-02 15:05:59 +03:00 • committed by Leon Romanovsky
commit eb54714ddc

View file

@ -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)