Sean Boudreau(deleted)
|
Re: devn-gigE-for-SoC-that-wants-packets-aligned-to-int32
|
Sean Boudreau(deleted)
01/11/2008 12:58 PM
post4240
|
Re: devn-gigE-for-SoC-that-wants-packets-aligned-to-int32
On Fri, Jan 11, 2008 at 12:53:00PM -0500, David Alessio wrote:
> I'm working with an SoC that needs packets aligned to a 4-byte boundary. io-net doesn't do this, so this devn-xxx
needs an aligned trampoline buffer.
>
> Can we force the new stack to align on 4-byte boundary? Do we still need a trampoline?
The driver can't assume any particular alignment on packets
it's asked to tx. Often though you don't need to copy the
whole packet to align it. If an extra descriptor fragment
can be added to the front of it at most (align - 1) bytes
need to be copied.
-seanb
|
|
|