From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huawei Xie Subject: [PATCH 0/2] user space vhost library Date: Fri, 18 Jul 2014 13:39:04 +0800 Message-ID: <1405661946-12534-1-git-send-email-huawei.xie@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" 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. hxie5 (2): vhost library support to facilitate integration with switch. Turn off vhost_lib by default as it needs fuse, fuse-devel to compile 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