From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 7C5ED137D for ; Tue, 23 Sep 2014 18:04:43 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by orsmga102.jf.intel.com with ESMTP; 23 Sep 2014 09:01:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,580,1406617200"; d="scan'208";a="479476147" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by azsmga001.ch.intel.com with ESMTP; 23 Sep 2014 09:07:28 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 23 Sep 2014 09:07:28 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 23 Sep 2014 09:07:28 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.203]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.190]) with mapi id 14.03.0195.001; Wed, 24 Sep 2014 00:07:26 +0800 From: "Xie, Huawei" To: "Thomas Monjalon (thomas.monjalon@6wind.com)" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library Thread-Index: AQHPzngebeuVEPfx3EObKf04WQZCbJwO80pg Date: Tue, 23 Sep 2014 16:07:26 +0000 Message-ID: References: <1410519304-14521-1-git-send-email-huawei.xie@intel.com> In-Reply-To: <1410519304-14521-1-git-send-email-huawei.xie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 16:04:44 -0000 Hi Thomas: Comments to this and the vhost example patch? BR. Huawei > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Huawei Xie > Sent: Friday, September 12, 2014 6:55 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cus= e driver > library >=20 > This set of patches transforms and refactors vhost example to a user > space vhost cuse library. This library implements a user space vhost > cuse driver, and provides generic APIs for user space ethernet vswitch > to integrate us-vhost for fast packet switching with guest virtio. >=20 > Change notes: >=20 > v2) Turn off vhost lib by default >=20 > v3) Fixed checkpatch issues >=20 > v4) Split the patch per Thomas's requirement >=20 >=20 > Huawei Xie (5): > mv vhost example to vhost lib directory > copy the vhost rx/tx functions from main.c to new file vhost_rxtx.c > remove main.c main.h > remove Makefile > rename virtio-net.h to rte_virtio_net.h as API header file > vmdq, mac learning and other switch related logics are removed > zero copy feature isn't generic,and is removed. > add vhost lib Makefile. > Add TODOs for found new issues. > Fix coding style issue which are treated as errors by checkpatch.pl > add vhost lib support in makefile > turn off vhost lib by default as it requires fuse development package. >=20 > config/common_linuxapp | 7 + > examples/vhost/Makefile | 60 - > examples/vhost/eventfd_link/Makefile | 39 - > examples/vhost/eventfd_link/eventfd_link.c | 205 -- > examples/vhost/eventfd_link/eventfd_link.h | 79 - > examples/vhost/libvirt/qemu-wrap.py | 367 --- > examples/vhost/main.c | 3722 --------------------= ------ > examples/vhost/main.h | 86 - > examples/vhost/vhost-net-cdev.c | 367 --- > examples/vhost/vhost-net-cdev.h | 83 - > examples/vhost/virtio-net.c | 1165 -------- > examples/vhost/virtio-net.h | 161 -- > lib/Makefile | 1 + > lib/librte_vhost/Makefile | 48 + > lib/librte_vhost/eventfd_link/Makefile | 39 + > lib/librte_vhost/eventfd_link/eventfd_link.c | 205 ++ > lib/librte_vhost/eventfd_link/eventfd_link.h | 79 + > lib/librte_vhost/libvirt/qemu-wrap.py | 367 +++ > lib/librte_vhost/rte_virtio_net.h | 192 ++ > lib/librte_vhost/vhost-net-cdev.c | 362 +++ > lib/librte_vhost/vhost-net-cdev.h | 112 + > lib/librte_vhost/vhost_rxtx.c | 301 +++ > lib/librte_vhost/virtio-net.c | 1000 +++++++ > mk/rte.app.mk | 5 + > 24 files changed, 2718 insertions(+), 6334 deletions(-) > delete mode 100644 examples/vhost/Makefile > delete mode 100644 examples/vhost/eventfd_link/Makefile > delete mode 100644 examples/vhost/eventfd_link/eventfd_link.c > delete mode 100644 examples/vhost/eventfd_link/eventfd_link.h > delete mode 100755 examples/vhost/libvirt/qemu-wrap.py > delete mode 100644 examples/vhost/main.c > delete mode 100644 examples/vhost/main.h > delete mode 100644 examples/vhost/vhost-net-cdev.c > delete mode 100644 examples/vhost/vhost-net-cdev.h > delete mode 100644 examples/vhost/virtio-net.c > delete mode 100644 examples/vhost/virtio-net.h > create mode 100644 lib/librte_vhost/Makefile > create mode 100644 lib/librte_vhost/eventfd_link/Makefile > create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.c > create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.h > create mode 100755 lib/librte_vhost/libvirt/qemu-wrap.py > create mode 100644 lib/librte_vhost/rte_virtio_net.h > create mode 100644 lib/librte_vhost/vhost-net-cdev.c > create mode 100644 lib/librte_vhost/vhost-net-cdev.h > create mode 100644 lib/librte_vhost/vhost_rxtx.c > create mode 100644 lib/librte_vhost/virtio-net.c >=20 > -- > 1.8.1.4