lkml.org 
[lkml]   [2001]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [UPDATE] Zerocopy patches, against 2.4.1-pre10

Andrew Morton writes:
> What I suggest we do here is to add a new flag to the per-device
> table `HAS_HWCKSM' and use that to set the device capabilities,
> rather than using the IS_CYCLONE stuff. Then we can add cards
> individually as confirmation comes in.

This idea sounds just fine.

> I do have a 200-line 3c59x patch banked up - it does the following:
...
> So... How to coordinate these diffs? I'd propose that I implement
> the HAS_HWCKSM thing, test zerocopy with it on the five NICs which
> I have. Then what? Ask Linus to merge the non-zc parts?

I have a better idea. Look, all the dev->features and flag names are
in the kernel tree already. The only thing which hasn't propagated
which the driver will reference are the skb frag things. This code
referencing the skb frags in the 3c59x hard_start_xmit method you can
just protect with #ifdef MAX_SKB_FRAGS or similar. See?

Later,
David S. Miller
davem@redhat.com

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

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