Date: Thu, 31 Oct 2013 21:05:03 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Ian Lepore <ian@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Andre Oppermann <andre@FreeBSD.org> Subject: Re: svn commit: r257455 - head/sys/net Message-ID: <20131031200502.GB83212@onelab2.iet.unipi.it> In-Reply-To: <1383247645.31172.29.camel@revolution.hippie.lan> References: <201310311546.r9VFkAIb049844@svn.freebsd.org> <20131031180336.GA62132@onelab2.iet.unipi.it> <5272AAC4.4030700@freebsd.org> <1383247645.31172.29.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131031200502.GB83212>