[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1294192750.2992.29.camel@localhost>
Date: Wed, 05 Jan 2011 01:59:10 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Rick Jones <rick.jones2@...com>
Cc: Stephen Hemminger <shemminger@...tta.com>,
Mahesh Bandewar <maheshb@...gle.com>,
David Miller <davem@...emloft.net>,
Laurent Chavey <chavey@...gle.com>,
Tom Herbert <therbert@...gle.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v2] net: Allow ethtool to set interface in loopback
mode.
On Tue, 2011-01-04 at 17:34 -0800, Rick Jones wrote:
> >>>Since this is a boolean it SHOULD go into ethtool_flags rather than
> >>>being a high level operation.
> >>
> >>It could do, but I though ETHTOOL_{G,S}FLAGS were intended for
> >>controlling offload features.
> >
> >
> > It just seems the number of hooks keeps growing which takes more space
> > and increases complexity.
>
> Is there any complication/downside to using flags in the (un?)likely event of
> wanting different flavors of loopback in the card?
You have to define the flags. And once you start, where would you
stop? The sfc driver alone recognises 18 host-side and 8 wire-side
loopback modes.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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