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/