From: Ben Greear <greearb@candelatech.com>
To: Jesse Brandeburg <jesse.brandeburg@gmail.com>
Cc: NetDev <netdev@vger.kernel.org>, jeffrey.t.kirsher@intel.com
Subject: Re: Question on e1000 patch, rx-copy-break related.
Date: Thu, 04 May 2006 09:48:15 -0700 [thread overview]
Message-ID: <445A304F.9040504@candelatech.com> (raw)
In-Reply-To: <4807377b0605040900y31bfaec3o73cb04c5c9a2e4e@mail.gmail.com>
Jesse Brandeburg wrote:
>> My personal preference is to set a flag in the skb struct indicating
>> whether
>> or not the crc is appended (and skb_put). Then, bridging code can
>> ignore it if needed,
>> and sniffers and such can get the CRC in user-land. To remain
>> backwards compat,
>> at least the skb-put of the crc logic should default to OFF so that we
>> don't
>> break any existing user-land bridging logic. I have the ethtool API
>> logic written to
>> twiddle this save-crc behaviour if someone decides this is worthy of
>> the kernel.
>
>
> that seems like an excellent idea, however, finding room in the skb
> struct is fun.
This field has 2 bits free. We only need one bit for this feature.
__u8 pkt_type:3,
fclone:2,
ipvs_property:1;
>> > Well, its a changing picture. I had planned to eventually enable the
>> > hardware to strip the CRC if we aren't connected to some kind of
>> > offboard management. We'll get there in steps.
>>
>> So, as of 2.6.16.13, is the hardware stripping (SERC) enabled? Could
>> you also let me know where this bit is defined in case I want to twiddle
>> it myself (a quick grep for SERC in 2.6.16.13 yields nothing.)
>
>
> Yes, SECRC is enabled in 2.6.16, for both packet split and legacy
> receive paths. It will probably stay enabled for 2.6.17 too unless
> the BMC communication bug is rated important enough for the change to
> be made. Unfortunately right now due to SECRC bit being set BMC
> communication over SMBUS is likely broken.
Ok, thanks for the info.
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
prev parent reply other threads:[~2006-05-04 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 19:56 Question on e1000 patch, rx-copy-break related Ben Greear
2006-05-03 17:22 ` Jesse Brandeburg
2006-05-03 18:12 ` Ben Greear
2006-05-03 18:21 ` Chris Leech
2006-05-04 16:00 ` Jesse Brandeburg
2006-05-04 16:48 ` Ben Greear [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=445A304F.9040504@candelatech.com \
--to=greearb@candelatech.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jesse.brandeburg@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.