[dpdk-dev] [PATCH v3] lib/librte_vhost: user space vhost driver library

Fu, JingguoX jingguox.fu at intel.com
Wed Aug 6 05:09:31 CEST 2014


Tested-by: Jingguo Fu <jingguox.fu at intel.com>

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. 
We verified zero copy and one copy test cases for functional and performance.

Total case  Passed Failed
   8          8      0

-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie
Sent: Tuesday, August 05, 2014 11:54 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH v3] lib/librte_vhost: user space vhost driver library

This user space vhost library is provided aiming to facilitate integration with DPDK accelerated vswitch. 

Huawei Xie (1):
  vhost library support to facilitate integration with DPDK accelerated vswitch.

 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

-- 
1.8.1.4



More information about the dev mailing list