From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH RFC 0/3] qemu/vhost-net: mergeable buffers support Date: Fri, 16 Jul 2010 12:19:42 +0300 Message-ID: <20100716091942.GA26794@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org, qemu-devel@nongnu.org, dlstevens@us.ibm.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45799 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936078Ab0GPJZL (ORCPT ); Fri, 16 Jul 2010 05:25:11 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Jul 16, 2010 at 12:04:34PM +0300, Michael S. Tsirkin wrote: > This adds mergeable buffers support in vhost-net in qemu. > With this patch, sending raw packets while vhost-net is active should > work as well: important for migration. Compile-tested only for now. > David, could you please review and maybe try this out? > The kernel side is in vhost-net-next. I intend for it to got into > net-next and then into 2.6.36. > > TODO: basic test. migration test, send pull request. This is on top of 46c85dab1c2ffa1363c07bf7c161921ff613c0b6 in qemu-kvm. > Michael S. Tsirkin (3): > tap: generalize code for different vnet header len > tap: add APIs for vnet header length > vhost_net: mergeable buffers support > > hw/vhost_net.c | 23 ++++++++++++++++++++++- > net/tap-aix.c | 9 +++++++++ > net/tap-bsd.c | 9 +++++++++ > net/tap-linux.c | 29 +++++++++++++++++++++++++++++ > net/tap-linux.h | 8 ++++++++ > net/tap-solaris.c | 9 +++++++++ > net/tap-win32.c | 9 +++++++++ > net/tap.c | 49 +++++++++++++++++++++++++++++++++++-------------- > net/tap.h | 4 ++++ > 9 files changed, 134 insertions(+), 15 deletions(-) > > -- > MST > >