netdev
[Top] [All Lists]

Re: alignment issues on netif_rx

To: kuznet@xxxxxxxxxxxxx
Subject: Re: alignment issues on netif_rx
From: Jes Sorensen <jes@xxxxxxxxxxxxx>
Date: 20 Dec 2000 20:36:59 +0100
Cc: netdev@xxxxxxxxxxx, davem@xxxxxxxxxx
In-reply-to: kuznet@ms2.inr.ac.ru's message of "Wed, 20 Dec 2000 20:48:56 +0300 (MSK)"
References: <200012201748.UAA02642@ms2.inr.ac.ru>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4
>>>>> "ANK" == kuznet  <kuznet@xxxxxxxxxxxxx> writes:

ANK> Hello!  All the rest will be pulled out on demand.
>>  Thats where your suggestion fails, we then have to copy the entire
>> packet then for the cards that disallow misaligned DMAs.

ANK> You still did not understand. We need not copy data more. Never.

Yes I did - you said we should only split off the Ethernet header but
as Don stated in his email some cards wont allow non-word length DMA
transactions either. Hence you cannot split off a 14 byte header and
get your IP+TCP headers aligned.

Jes

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