[dpdk-dev] [PATCH v2] user space vhost driver library

Huawei Xie huawei.xie at intel.com
Fri Jul 18 11:56:20 CEST 2014


This user space vhost library is based off user space vhost example and aims to provide same API for different vhost implementations. This implementation includes user space vhost cuse driver, kernel module for eventfd proxy and vhost enqueue/dequeue functionalities.

Huawei Xie (1):
  vhost library support to facilitate integration with 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 |  205 ++++++
 lib/librte_vhost/eventfd_link/eventfd_link.h |   79 ++
 lib/librte_vhost/rte_virtio_net.h            |  192 +++++
 lib/librte_vhost/vhost-net-cdev.c            |  363 ++++++++++
 lib/librte_vhost/vhost-net-cdev.h            |  112 +++
 lib/librte_vhost/vhost_rxtx.c                |  292 ++++++++
 lib/librte_vhost/virtio-net.c                | 1002 ++++++++++++++++++++++++++
 11 files changed, 2340 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