[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1194220693.4438.75.camel@localhost>
Date: Sun, 04 Nov 2007 18:58:13 -0500
From: jamal <hadi@...erus.ca>
To: Jarek Poplawski <jarkao2@...pl>
Cc: Radu Rendec <radu.rendec@...s.ro>, netdev@...r.kernel.org
Subject: Re: Endianness problem with u32 classifier hash masks
On Sun, 2007-04-11 at 02:17 +0100, Jarek Poplawski wrote:
> So, even if not full ntohl(), some byte moving seems to be
> necessary here.
I thinking you were close. I am afraid my brain is congested, even the
esspresso didnt help my thinking.
It could be done with just fshift on the slow path (config time) of one
was to think hard;-> I am not too happy with the extra conversion on the
fast path, but how about the untested attached patch?
cheers,
jamal
View attachment "p0-u32" of type "text/x-patch" (647 bytes)
Powered by blists - more mailing lists