Commit 82dd0f7e authored by Alexander Duyck's avatar Alexander Duyck Committed by Jeff Kirsher

fm10k: Add ethtool support

This patch adds basic ethtool support to the device to allow for configuration.
Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b101c962
......@@ -28,5 +28,5 @@
obj-$(CONFIG_FM10K) += fm10k.o
fm10k-objs := fm10k_main.o fm10k_common.o fm10k_pci.o \
fm10k_netdev.o fm10k_pf.o \
fm10k_netdev.o fm10k_ethtool.o fm10k_pf.o \
fm10k_mbx.o fm10k_tlv.o
......@@ -424,4 +424,7 @@ void fm10k_restore_rx_state(struct fm10k_intfc *);
void fm10k_reset_rx_state(struct fm10k_intfc *);
int fm10k_open(struct net_device *netdev);
int fm10k_close(struct net_device *netdev);
/* Ethtool */
void fm10k_set_ethtool_ops(struct net_device *dev);
#endif /* _FM10K_H_ */
This diff is collapsed.
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment