[openib-general] Dropping NETIF_F_SG since no checksum feature.

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 10 17:26:56 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> 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




More information about the general mailing list