From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C06F12BD3 for ; Thu, 18 Aug 2016 10:40:16 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 18 Aug 2016 01:39:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,538,1464678000"; d="scan'208";a="1043336153" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2016 01:39:50 -0700 From: Yuanhan Liu To: dev@dpdk.org Cc: Yuanhan Liu Date: Thu, 18 Aug 2016 16:48:36 +0800 Message-Id: <1471510123-4984-1-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 Subject: [dpdk-dev] [PATCH 0/7] vhost: vhost-cuse removal and code path refactoring 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: Thu, 18 Aug 2016 08:40:17 -0000 The first patch removes the vhost-cuse (see following link for the deprecate note) http://dpdk.org/ml/archives/dev/2016-July/044080.html After the removal, there is no reason to keep the vhost_user sub source dir any more. This also brings a chance to rename all those files in a more proper way (see patch 3 for details). --- Yuanhan Liu (7): vhost: remove vhost-cuse vhost: remove sub source dir vhost: refactor source code structure vhost: fold common message handlers vhost: unify function names vhost: get device once vhost: simplify features set/get config/common_base | 6 +- lib/librte_vhost/Makefile | 13 +- lib/librte_vhost/eventfd_link/Makefile | 41 - lib/librte_vhost/eventfd_link/eventfd_link.c | 277 ------- lib/librte_vhost/eventfd_link/eventfd_link.h | 94 --- lib/librte_vhost/{vhost_user => }/fd_man.c | 0 lib/librte_vhost/{vhost_user => }/fd_man.h | 0 lib/librte_vhost/libvirt/qemu-wrap.py | 387 --------- .../{vhost_user/vhost-net-user.c => socket.c} | 209 +---- lib/librte_vhost/vhost.c | 409 +++++++++ lib/librte_vhost/{vhost-net.h => vhost.h} | 24 +- lib/librte_vhost/vhost_cuse/eventfd_copy.c | 104 --- lib/librte_vhost/vhost_cuse/eventfd_copy.h | 45 - lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 431 ---------- lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 433 ---------- lib/librte_vhost/vhost_cuse/virtio-net-cdev.h | 56 -- lib/librte_vhost/vhost_user.c | 917 +++++++++++++++++++++ .../{vhost_user/vhost-net-user.h => vhost_user.h} | 17 +- lib/librte_vhost/vhost_user/virtio-net-user.c | 470 ----------- lib/librte_vhost/vhost_user/virtio-net-user.h | 62 -- lib/librte_vhost/virtio-net.c | 847 ------------------- lib/librte_vhost/{vhost_rxtx.c => virtio_net.c} | 4 +- mk/rte.app.mk | 3 - 23 files changed, 1367 insertions(+), 3482 deletions(-) delete mode 100644 lib/librte_vhost/eventfd_link/Makefile delete mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.c delete mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.h rename lib/librte_vhost/{vhost_user => }/fd_man.c (100%) rename lib/librte_vhost/{vhost_user => }/fd_man.h (100%) delete mode 100755 lib/librte_vhost/libvirt/qemu-wrap.py rename lib/librte_vhost/{vhost_user/vhost-net-user.c => socket.c} (71%) create mode 100644 lib/librte_vhost/vhost.c rename lib/librte_vhost/{vhost-net.h => vhost.h} (92%) delete mode 100644 lib/librte_vhost/vhost_cuse/eventfd_copy.c delete mode 100644 lib/librte_vhost/vhost_cuse/eventfd_copy.h delete mode 100644 lib/librte_vhost/vhost_cuse/vhost-net-cdev.c delete mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c delete mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.h create mode 100644 lib/librte_vhost/vhost_user.c rename lib/librte_vhost/{vhost_user/vhost-net-user.h => vhost_user.h} (87%) delete mode 100644 lib/librte_vhost/vhost_user/virtio-net-user.c delete mode 100644 lib/librte_vhost/vhost_user/virtio-net-user.h delete mode 100644 lib/librte_vhost/virtio-net.c rename lib/librte_vhost/{vhost_rxtx.c => virtio_net.c} (99%) -- 1.9.0