Subject: Re: gsip sends byte-swapped vlan tags
To: None <firstname.lastname@example.org>
From: Ignatios Souvatzis <email@example.com>
Date: 01/26/2006 16:07:40
Content-Type: text/plain; charset=us-ascii
On Thu, Jan 26, 2006 at 11:52:04AM +0100, Manuel Bouyer wrote:
> On Wed, Jan 25, 2006 at 08:50:31PM +0100, Pavel Cahyna wrote:
> > Do you have any explanation why does it help?
> The vlan driver has to strip these 4 bytes from the frame.
> This is done by a memmove() of the ethernet header 4 bytes ahead
> (se vlan_inout()). This has a cost, and as ether_header isn't 32bit-align=
> it has more cost one some architecture than others.
Splitting the mbuf chain would be even more expensive, I guess, than=20
copying 14 octets....
seal your e-mail: http://www.gnupg.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
-----END PGP SIGNATURE-----