From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 605492E8A for ; Wed, 6 Aug 2014 05:07:15 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 05 Aug 2014 20:09:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,809,1400050800"; d="scan'208";a="580623004" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by fmsmga002.fm.intel.com with ESMTP; 05 Aug 2014 20:09:10 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 5 Aug 2014 20:09:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.252]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.135]) with mapi id 14.03.0195.001; Wed, 6 Aug 2014 11:09:09 +0800 From: "Fu, JingguoX" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library. Thread-Index: AQHPsMYyc5TAeCpI80qU7sZEgpDSrpvC4kdQ Date: Wed, 6 Aug 2014 03:09:08 +0000 Message-ID: <6BD6202160B55B409D423293115822625188FB@SHSMSX101.ccr.corp.intel.com> References: <1407254286-23972-1-git-send-email-huawei.xie@intel.com> In-Reply-To: <1407254286-23972-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 0/3] vhost example based on user space vhost 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: Wed, 06 Aug 2014 03:07:15 -0000 Tested-by: Jingguo Fu This patch includes 3 files, and has been tested by Intel. Please see information as the following: Host: Fedora 19 x86_64, Linux Kernel 3.9.0, GCC 4.8.2 Intel Xeon CPU E5-2680 v2 = @ 2.80GHz NIC: Intel Niantic 82599, Intel i350, Intel 82580 and Intel 82576 Guest: Fedora 16 x86_64, Linux Kernel 3.4.2, GCC 4.6.3 Qemu emulator 1.4.2 This patch tests with user space vhost driver library patch. We verified zero copy and one copy test cases for functional and performanc= e. Total case Passed Failed 8 8 0 -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Huawei Xie Sent: Tuesday, August 05, 2014 11:58 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost lib= rary. This vhost example implements a simple vswitch using DPDK user space vhost = library(lib/librte_vhost) and VMDQ to demonstrate vhost's performance. - Each virtio device is bound to a VMDQ pool and each pool is assigned the = mac/vlan of the virtio device. - Packets arriving at a pool after l2 classifier will be moved to the virti= o device. - Packets whose destination is a local virtio device will be delivered eith= er by a)software switching mode b)hardware l2 switch. - zero copy is supported and could be configured through command line. Huawei Xie (3): remove old vhost example add lib/librte_vhost support in mk/rte.app.mk add new vhost example examples/vhost/Makefile | 10 +- 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 | 5 +- examples/vhost/main.c | 1101 +++++++++++++-----------= -- examples/vhost/main.h | 85 +- 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 | 147 ---- mk/rte.app.mk | 5 + 12 files changed, 585 insertions(+), 2706 deletions(-) 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 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 --=20 1.8.1.4