-----Original Message-----
From: Stephen Hemminger [mailto:stephen@networkplumber.org]
Sent: Wednesday, June 19, 2013 11:40 AM
On Thu, 13 Jun 2013 20:55:17 -0700
Jeff Kirsher [off-list ref] wrote:
quoted
+
+/**
+ * i40e_set_settings - Set Speed and Duplex
+ * @netdev: network interface device structure
+ * @ecmd: ethtool command
+ *
+ * Set speed/duplex per media_types advertised/forced
+ **/
+static int i40e_set_settings(struct net_device *netdev,
+ struct ethtool_cmd *ecmd)
+{
+ return -EOPNOTSUPP;
+}
+
Stub not needed, if ethtool_ops.set_settings is NULL, then
ethtool_set_settings
will do this for you.
Thanks,
sln