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 B78E4231C for ; Mon, 19 May 2014 13:15:39 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 19 May 2014 04:15:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,866,1392192000"; d="scan'208";a="534114628" Received: from shilc102.sh.intel.com ([10.239.39.44]) by fmsmga001.fm.intel.com with ESMTP; 19 May 2014 04:15:47 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shilc102.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4JBFiZm002960 for ; Mon, 19 May 2014 19:15:46 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4JBFf2N016469 for ; Mon, 19 May 2014 19:15:43 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s4JBFfwt016465 for dev@dpdk.org; Mon, 19 May 2014 19:15:41 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 19 May 2014 19:15:38 +0800 Message-Id: <1400498141-16360-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 0/3] [PMD] [VHOST] *** Support zero copy RX/TX in user space vhost *** 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: Mon, 19 May 2014 11:15:40 -0000 Short summary: * Add API to support queue start and stop functionality for RX/TX, and implement them in IXGBE PMD; * Enable hardware loopback functionality in VMDQ mode; * Implement mbuf metadata macros to facilitate refering to space in mbuf headroom; * Support user space vhost zero copy RX/TX, it removes packets copying between host and guest in RX/TX; Ouyang Changchun (3): 1. It contains the following 2 parts: a) Add API to support queue start and stop functionality for RX/TX, and implement them in IXGBE PMD; b) Enable hardware loopback functionality in VMDQ mode; 2. Implement mbuf metadata macros to facilitate refering to space in mbuf headroom; 3. Support user space vhost zero copy, it removes packets copying between host and guest in RX/TX. examples/vhost/main.c | 1405 ++++++++++++++++++++++++++---- examples/vhost/virtio-net.c | 120 ++- examples/vhost/virtio-net.h | 15 +- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- lib/librte_ether/rte_ethdev.c | 104 +++ lib/librte_ether/rte_ethdev.h | 80 ++ lib/librte_mbuf/rte_mbuf.h | 17 + lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 4 + lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 8 + lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 233 ++++- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 6 + 11 files changed, 1800 insertions(+), 194 deletions(-) -- 1.9.0