[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375955079.2853.1.camel@deadeye.wl.decadent.org.uk>
Date: Thu, 8 Aug 2013 11:44:39 +0200
From: Ben Hutchings <bhutchings@...arflare.com>
To: Thomas Martitz <thomas.martitz@....fraunhofer.de>
CC: Joe Perches <joe@...ches.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Preferred method for configuration
On Thu, 2013-08-08 at 07:56 +0200, Thomas Martitz wrote:
> Resent with list in CC.
>
> Am 08.08.2013 07:41, schrieb Joe Perches:
> > On Thu, 2013-08-08 at 07:32 +0200, Thomas Martitz wrote:
> >> Hello,
> >>
> >> I'm developing a NIC driver and currently export some custom
> >> configuration settings and actions (e.g. enabling a loopback mode) via
> >> sysfs.
> >
> > Is there some reason you don't want to use ethtool?
> >
> >
>
> It doesn't allow for custom settings does it? For standards stuff I'm
> sure going to use ethtool.
You can always propose extensions to ethtool.
Note that the ethtool 'features' API already allows setting loopback and
there is a 'private flags' API through which you can expose up to 32
arbitrary named flags if they're really not at all generic.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
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