| 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@xxxxxxxxxx> |
| References: | <20040611012727.GA27672@krispykreme> <20040610223549.5e9ad025.davem@xxxxxxxxxx> |
| 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> |
|---|---|---|
| ||
| Previous by Date: | [margitsw@xxxxxxxxxxx: Re: [PATCH 6/17 linux-2.6.7-rc2] prism54: Kernel compatibility (resend)], Luis R. Rodriguez |
|---|---|
| Next by Date: | Re: Dealing with buggy hardware (was: b44 and 4g4g), Pavel Machek |
| Previous by Thread: | Re: Allow IP header alignment to be overriden, David S. Miller |
| Next by Thread: | Re: Allow IP header alignment to be overriden, Anton Blanchard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |