netdev
[Top] [All Lists]

Re: Allow IP header alignment to be overriden

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: Allow IP header alignment to be overriden
From: Scott Feldman <sfeldma@xxxxxxxxx>
Date: Fri, 11 Jun 2004 00:39:22 -0700
Cc: Anton Blanchard <anton@xxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20040610223549.5e9ad025.davem@redhat.com>
References: <20040611012727.GA27672@krispykreme> <20040610223549.5e9ad025.davem@redhat.com>
Reply-to: sfeldma@xxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 2004-06-10 at 22:35, David S. Miller wrote:
> This transformation is not valid for a lot of drivers, that "2"
> in the reserve exists elsewhere in other calculations in the
> drivers.  For example, it is added to the RX skb allocation
> size.  Sometimes this '2' is there in non-trivial or hard to
> see ways (ie. it's implicitly in some DMA alignment value)

Would replacing "2" with a macro that's defined on a per-arch basis
work?  


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