svn commit: r257455 - head/sys/net

Luigi Rizzo rizzo at iet.unipi.it
Thu Oct 31 20:03:15 UTC 2013


On Thu, Oct 31, 2013 at 01:27:25PM -0600, Ian Lepore wrote:
...
> Is there any chance all this reworking might get us to a position where
> the protocol header in an mbuf doesn't have to be 32-bit aligned
> anymore?  We pay a pretty heavy price for that requirement in the
> drivers of the least capable hardware we support, the systems that have
> the least horsepower to spare to make an extra copy of each packet to
> realign it.

So are you suggesting to use some 'copy_unaligned_32()' function/macro to
access 32-bit protocol fields in the network stack ?
(16-bit entries should not be an issue)

cheers
luigi


More information about the svn-src-all mailing list