From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH 0/3] [PMD] [VHOST] *** Support zero copy RX/TX in user space vhost *** Date: Mon, 19 May 2014 19:15:38 +0800 Message-ID: <1400498141-16360-1-git-send-email-changchun.ouyang@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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