From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: [PATCH RFC 0/3] qemu/vhost-net: mergeable buffers support Date: Fri, 16 Jul 2010 12:04:34 +0300 Message-ID: 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]:17736 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936026Ab0GPJJy (ORCPT ); Fri, 16 Jul 2010 05:09:54 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53862 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZgva-0006X8-KG for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZgvZ-00052W-8m for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:09:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24761) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZgvZ-00052N-1s for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:09:53 -0400 Date: Fri, 16 Jul 2010 12:04:34 +0300 From: "Michael S. Tsirkin" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH RFC 0/3] qemu/vhost-net: mergeable buffers support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org, qemu-devel@nongnu.org, dlstevens@us.ibm.com 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. 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