From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [6/6] [VIRTIO] net: Allow receiving SG packets Date: Sat, 19 Apr 2008 00:08:04 +1000 Message-ID: <200804190008.04357.rusty@rustcorp.com.au> References: <20080418031257.GA17993@gondor.apana.org.au> <20080418032142.GD18071@gondor.apana.org.au> <20080418032427.GE18071@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080418032427.GE18071@gondor.apana.org.au> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: virtualization@lists.linux-foundation.org Cc: virtualization@lists.osdl.org, Herbert Xu List-Id: virtualization@lists.linuxfoundation.org On Friday 18 April 2008 13:24:27 Herbert Xu wrote: > Finally this patch lets virtio_net receive GSO packets in addition > to sending them. This can definitely be optimised for the non-GSO > case. For comparison the Xen approach stores one page in each skb > and uses subsequent skb's pages to construct an SG skb instead of > preallocating the maximum amount of pages per skb. Well, this ends up freeing the unused pages immediately which is actually quite nice. We can cache them ourselves if we want, but we'd have to see if the page allocation/free overhead is measurable... Thanks! Rusty.