[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FC41C24E35F18A40888AACA1A36F3E4168533FA5@FMSMSX102.amr.corp.intel.com>
Date: Thu, 20 Jun 2013 20:53:25 +0000
From: "Nelson, Shannon" <shannon.nelson@...el.com>
To: Stephen Hemminger <stephen@...workplumber.org>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"gospo@...hat.com" <gospo@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>
Subject: RE: [net-next 3/8] i40e: driver ethtool core
> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen@...workplumber.org]
> Sent: Wednesday, June 19, 2013 11:40 AM
>
> On Thu, 13 Jun 2013 20:55:17 -0700
> Jeff Kirsher <jeffrey.t.kirsher@...el.com> wrote:
>
> > +
> > +/**
> > + * 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists