fm10k: Add ethtool support

This patch adds basic ethtool support to the device to allow for configuration.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Alexander Duyck
2014-09-20 19:50:15 -04:00
committed by Jeff Kirsher
parent b101c96264
commit 82dd0f7ee9
4 changed files with 873 additions and 1 deletions

View File

@@ -1000,6 +1000,7 @@ struct net_device *fm10k_alloc_netdev(void)
/* set net device and ethtool ops */
dev->netdev_ops = &fm10k_netdev_ops;
fm10k_set_ethtool_ops(dev);
/* configure default debug level */
interface = netdev_priv(dev);