Re: Dropping NETIF_F_SG since no checksum feature.

From: Michael S. Tsirkin
Date: Tue Oct 10 2006 - 20:31:49 EST


Quoting r. Roland Dreier <rdreier@xxxxxxxxx>:
> Subject: Re: Dropping NETIF_F_SG since no checksum feature.
>
> Michael> Maybe I can patch linux to allow SG without checksum?
> Michael> Dave, maybe you could drop a hint or two on whether this
> Michael> is worthwhile and what are the issues that need
> Michael> addressing to make this work?
>
> What do you really gain by allowing SG without checksum? Someone has
> to do the checksum anyway, so I don't see that much difference between
> doing it in the networking core before passing the data to/from the
> driver, or down in the driver itself.

My guess was, an extra pass over data is likely to be expensive - dirtying the
cache if nothing else. But I do plan to measure that, and see.

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