vhost: vhost-cuse removal and code path refactoring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vhost: remove vhost-cuseconfig/ lib/ lib/ +9 more | +4 | 4 replies | |
| 2/7 | vhost: remove sub source dirlib/ lib/ lib/ +4 more | +3 | 1 reply | |
| 3/7 | vhost: refactor source code structurelib/ lib/ lib/ +7 more | +1489 | 1 reply | |
| 4/7 | vhost: fold common message handlerslib/ | +31 | 1 reply | |
| 5/7 | vhost: unify function nameslib/ | +30 | 1 reply | |
| 6/7 | vhost: get device oncelib/ | +47 | 1 reply | |
| 7/7 | vhost: simplify features set/getlib/ | +8 | 6 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Maxime Coquelin |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] vhost: vhost-cuse removal and code path refactoring
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%)Signature · 1 line
1.9.0