Re: [PATCH] tcp: splice as many packets as possible at once

Herbert Xu
2009-01-19T21:25:56Z

On Mon, Jan 19, 2009 at 12:59:41PM -0800, David Miller wrote:
.
> And the difference between 64 and IPV4+TCP header len becomes the
> payload, don't you see? :-)
>
> myri10ge just pulls min(64, skb->len) bytes from the SKB frags into
> the linear area, unconditionally. So a small number of payload bytes
> can in fact end up there.

Ah, I thought they were doing a precise division. Yes pulling
a constant length will trigger it if it's big enough.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt