[dpdk-dev] [PATCH 0/7] vhost: vhost-cuse removal and code path refactoring

Yuanhan Liu yuanhan.liu at linux.intel.com
Thu Aug 18 10:48:36 CEST 2016


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



More information about the dev mailing list