Except when you cannot align (like with Tulips that always DMA to a 4 byte
aligned address). With the 14 byte Ethernet header this results in IP
and TCP misaligned.
On x86 which has reasonably fast misalignment handling that is tolerable,
but on Alpha etc. it is cheaper to copy the whole packet than to hit
the many misalignment exceptions during packet processing.
For this case it would be far cheaper to only copy and align the header
(handling misalignment in data copy and checksumming is cheap), but
that is not possible ATM.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/