[lkml]   [2003]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: NS83820 2.6.0-test5 driver seems unstable on IA64
>>>>> On Thu, 25 Sep 2003 23:07:02 -0700, "David S. Miller" <> said:

David> On Fri, 26 Sep 2003 08:16:36 +0200 Manfred Spraul
David> <> wrote:

>> Is that really the right solution? Add a full-packet copy to
>> every driver?

David> In the short term, yes it is.

I know nothing about the ns83820, but page 22 of the data sheet
( suggests that it would be
possible to setup _two_ descriptors for each incoming packet: the
first one would cover the Ethernet header (14 bytes), the second the
rest. That way, IP-header would be 8-byte aligned (since the
ns83820's DMA engine seems to require 8-byte alignment for incoming

If so, this would let you get the IP-header and on aligned at the cost
of extra descriptor fetching. The cost of fetching the extra
descriptor will be big enough that you'd only want to do this when
unaligned accesses are expensive, but hopefully it would be cheaper
than copying the entire packet.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.043 / U:3.700 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site