From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 53CB6282 for ; Mon, 26 Jan 2015 04:20:46 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 25 Jan 2015 19:16:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,466,1418112000"; d="scan'208";a="667415653" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 25 Jan 2015 19:20:44 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t0Q3KgTb013343 for ; Mon, 26 Jan 2015 11:20:42 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t0Q3Ke3f028983 for ; Mon, 26 Jan 2015 11:20:42 +0800 Received: (from hxie5@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t0Q3KekD028979 for dev@dpdk.org; Mon, 26 Jan 2015 11:20:40 +0800 From: Huawei Xie To: dev@dpdk.org Date: Mon, 26 Jan 2015 11:20:26 +0800 Message-Id: <1422242440-28948-1-git-send-email-huawei.xie@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [RFC PATCH v2 00/14] qemu vhost-user support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2015 03:20:46 -0000 v2 changes: make fdset num field reflect the current number of fds vhost server manages allocate context for connected fd in vserver_new_vq_conn enable multiple socket support get_feature fix: apply Tetsuya's comment set_feature fix close received log fd, err fd: apply Haifeng's comment CTRL_VQ fix set ifname to unix domain socket path change the context type from uint64_t to void * in event management other code rework Huawei Xie (14): turn on VIRTIO_NET_F_CTRL_RX is dependant on VIRTIO_NET_F_CTRL_VQ. create vhost_cuse directory rename vhost-net-cdev.h to vhost-net.h consistent print style implement the eventfd copying(from fd in qemu process to fd in vhost process) into vhost-net-cdev.c copy host_memory_map from virtio-net.c to a new file virtio-net-cdev.c host_memory_map split set_memory_table into two parts add select based event driven fd management logic vhost user support vhost user memory region map cleanup when vhost user connection is closed multiple socket support vhost user ifr_name support lib/librte_vhost/Makefile | 5 +- lib/librte_vhost/rte_virtio_net.h | 5 +- lib/librte_vhost/vhost-net-cdev.c | 389 ---------------------- lib/librte_vhost/vhost-net-cdev.h | 113 ------- lib/librte_vhost/vhost-net.h | 121 +++++++ lib/librte_vhost/vhost_cuse/eventfd_copy.c | 89 +++++ lib/librte_vhost/vhost_cuse/eventfd_copy.h | 40 +++ lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 414 +++++++++++++++++++++++ lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 401 ++++++++++++++++++++++ lib/librte_vhost/vhost_cuse/virtio-net-cdev.h | 48 +++ lib/librte_vhost/vhost_rxtx.c | 5 +- lib/librte_vhost/vhost_user/fd_man.c | 207 ++++++++++++ lib/librte_vhost/vhost_user/fd_man.h | 64 ++++ lib/librte_vhost/vhost_user/vhost-net-user.c | 462 ++++++++++++++++++++++++++ lib/librte_vhost/vhost_user/vhost-net-user.h | 106 ++++++ lib/librte_vhost/vhost_user/virtio-net-user.c | 322 ++++++++++++++++++ lib/librte_vhost/vhost_user/virtio-net-user.h | 49 +++ lib/librte_vhost/virtio-net.c | 455 +++---------------------- lib/librte_vhost/virtio-net.h | 43 +++ 19 files changed, 2419 insertions(+), 919 deletions(-) delete mode 100644 lib/librte_vhost/vhost-net-cdev.c delete mode 100644 lib/librte_vhost/vhost-net-cdev.h create mode 100644 lib/librte_vhost/vhost-net.h create mode 100644 lib/librte_vhost/vhost_cuse/eventfd_copy.c create mode 100644 lib/librte_vhost/vhost_cuse/eventfd_copy.h create mode 100644 lib/librte_vhost/vhost_cuse/vhost-net-cdev.c create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.h create mode 100644 lib/librte_vhost/vhost_user/fd_man.c create mode 100644 lib/librte_vhost/vhost_user/fd_man.h create mode 100644 lib/librte_vhost/vhost_user/vhost-net-user.c create mode 100644 lib/librte_vhost/vhost_user/vhost-net-user.h create mode 100644 lib/librte_vhost/vhost_user/virtio-net-user.c create mode 100644 lib/librte_vhost/vhost_user/virtio-net-user.h create mode 100644 lib/librte_vhost/virtio-net.h -- 1.8.1.4