[dpdk-dev] [PATCH 0/3] [PMD] [VHOST] *** Support zero copy RX/TX in user space vhost ***

Ouyang Changchun changchun.ouyang at intel.com
Mon May 19 13:15:38 CEST 2014


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



More information about the dev mailing list