lkml.org 
[lkml]   [2003]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: NS83820 2.6.0-test5 driver seems unstable on IA64
>>>>> On Fri, 26 Sep 2003 17:14:57 +0200, Andi Kleen <ak@muc.de> said:

Andi> Manfred Spraul <manfred@colorfullife.com> writes:
>> David wrote:

>>> Fine, then we should have something like an rx_copybreak scheme
>>> in the ns83820 driver too.

>> Is that really the right solution? Add a full-packet copy to
>> every driver? IMHO the fastest solution would be to copy only
>> the ip & tcp headers, and keep the rest as it is. And preferable
>> in the network core, to avoid having to copy&paste that into
>> every driver.

Andi> One problem is that you still have an unaligned->aligned copy
Andi> to user space in recvmsg (the user buffer is usually aligned
Andi> and the network payload will be unaligned). And that will be
Andi> very slow.

Why would that be? Slower, yes, but very slow?

--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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