[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1308326434.2831.16.camel@bwh-desktop>
Date: Fri, 17 Jun 2011 17:00:34 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Ben Greear <greearb@...delatech.com>
Cc: netdev@...r.kernel.org
Subject: Re: [RFC 1/2] net: Support getting/setting RX-FCS in drivers.
On Fri, 2011-06-17 at 08:33 -0700, Ben Greear wrote:
> On 06/17/2011 05:20 AM, Ben Hutchings wrote:
> > On Thu, 2011-06-16 at 21:30 -0700, greearb@...delatech.com wrote:
> >> From: Ben Greear<greearb@...delatech.com>
> >>
> >> This will allow us to enable/disable having the Ethernet
> >> frame checksum appended to the skb. Enabling this is
> >> useful when sniffing packets.
> >>
> >> In particular, this can be used to test logic that allows
> >> a NIC to receive all frames, even ones with bad checksums.
[...]
> > And as Michal says, this could reasonably be a feature not an entirely
> > separate flag. I'm not sure it's that important to have debugging flags
> > in features, but I also don't want to have 2 commands per flag...
>
> I'm not sure it really counts as a feature, and I've no desire to tangle
> with the effort to extend features beyond 32 bits.
There are several people wanting to add new flags, so between you I'm
sure you can manage it.
> Maybe we could have a new
> ethtool command that took a struct with two args, so we can "set flag-foo val"
> instead of 'enable-flag-foo' and 'disable-flag-foo'?
>
> That should be only one additional method for the drivers to implement, and
> can be used for the other patches I have planned as well.
Whereas implementing an extra feature toggle now requires zero extra
methods.
Ben.
--
Ben Hutchings, Senior Software 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