netdev
[Top] [All Lists]

conflicting alignment requirements

To: "Network Development List" <netdev@xxxxxxxxxxx>
Subject: conflicting alignment requirements
From: "Jacob Avraham" <jacoba@xxxxxxxxx>
Date: Wed, 25 Jul 2001 00:57:37 +0200
Importance: Normal
Sender: owner-netdev@xxxxxxxxxxx
I noticed that some ethernet drivers, like the tulip,
require that the receive buffers be 4 byte align
(I believe due to h/w constrains).
On the  other hand, some upper layer code, like tc
(for non x86/68k), checks if the IP header is 4 byte align,
and if not, doesn't handle the packet.
So it looks like tc and tulip can not be used on other architectures.

Has this been discussed before and if yes what was the outcome?
In the short term, would that be OK to remove this restriction
from tc?

Thanks,

Jacob 

<Prev in Thread] Current Thread [Next in Thread>