Re: using software TSO on non-TSO capable netdevices
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-07-31 13:27:47
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-07-31 13:27:47
On Thu, Jul 31, 2008 at 02:19:30PM +0100, Ben Hutchings wrote:
You might want to think about providing a way for soft-GSO to generate more lightweight structures than skbs. The overhead for skb allocation becomes quite significant beyond 1 Gbit/s, which is why we added the soft- TSO implementation in sfc using per-interface pools of header buffers. I would guess niu would benefit from this sort of approach, though it looks like all the other 10G NICs do TSO in hardware/firmware.
We could always provide a library that makes it easier for the drivers to do TSO in software without allocating skb's. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt