[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080724142044.GA8266@gondor.apana.org.au>
Date: Thu, 24 Jul 2008 22:20:44 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: Max Krasnyansky <maxk@...lcomm.com>, netdev@...r.kernel.org,
virtualization@...ts.linux-foundation.org, markmc@...hat.com
Subject: Re: [PATCH 3/4] tun: Allow GSO using virtio_net_hdr
On Thu, Jun 26, 2008 at 12:30:37AM +1000, Rusty Russell wrote:
> Add a IFF_VNET_HDR flag. This uses the same ABI as virtio_net (ie. prepending
> struct virtio_net_hdr to packets) to indicate GSO and checksum information.
>
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
I just noticed that we still allocate a linear skb even when GSO
is enabled. Please fix this by allocating page frags where
necessary. Otherwise GSO is only going to work before memory
fragmentation sets in.
IIRC I'd sent out a patch to the virt mailing list with code
that did this.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists