From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E4B0D68A1 for ; Wed, 6 Aug 2014 05:07:21 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 05 Aug 2014 20:09:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,809,1400050800"; d="scan'208";a="580623091" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by fmsmga002.fm.intel.com with ESMTP; 05 Aug 2014 20:09:33 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.19.9.29) 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:32 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx120.amr.corp.intel.com (10.19.9.29) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 5 Aug 2014 20:09:33 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.252]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.97]) with mapi id 14.03.0195.001; Wed, 6 Aug 2014 11:09:31 +0800 From: "Fu, JingguoX" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] lib/librte_vhost: user space vhost driver library Thread-Index: AQHPsMWY30hHyNfskEaI9y59GlJQqpvC4Htg Date: Wed, 6 Aug 2014 03:09:31 +0000 Message-ID: <6BD6202160B55B409D42329311582262518908@SHSMSX101.ccr.corp.intel.com> References: <1407254033-23848-1-git-send-email-huawei.xie@intel.com> In-Reply-To: <1407254033-23848-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 v3] lib/librte_vhost: user space vhost 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: Wed, 06 Aug 2014 03:07:22 -0000 Tested-by: Jingguo Fu This patch includes 1 file, 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 vhost example based on user space vhost library patch= .=20 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:54 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v3] lib/librte_vhost: user space vhost driver li= brary This user space vhost library is provided aiming to facilitate integration = with DPDK accelerated vswitch.=20 Huawei Xie (1): vhost library support to facilitate integration with DPDK accelerated vsw= itch. config/common_linuxapp | 7 + lib/Makefile | 1 + lib/librte_vhost/Makefile | 48 ++ lib/librte_vhost/eventfd_link/Makefile | 39 + lib/librte_vhost/eventfd_link/eventfd_link.c | 194 +++++ lib/librte_vhost/eventfd_link/eventfd_link.h | 40 + lib/librte_vhost/rte_virtio_net.h | 192 +++++ lib/librte_vhost/vhost-net-cdev.c | 363 ++++++++++ lib/librte_vhost/vhost-net-cdev.h | 109 +++ lib/librte_vhost/vhost_rxtx.c | 292 ++++++++ lib/librte_vhost/virtio-net.c | 1002 ++++++++++++++++++++++= ++++ 11 files changed, 2287 insertions(+) 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 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