> Okay ... a newbie question...;-)
>
> Why align the IP header at 16 bytes?
The caches on modern processors work in 16 byte, 32 byte or 64byte chunks.
The CPU itself also tends to like loads aligned on a 4 byte boundary. Typically
we generate
[16bytes pad][2byte pad][14 byte ether][IP header]
So the IP header is at the start of a cache line and all fetched by one
read from memory, the values in it are also aligned for the CPUs that care
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]