[dpdk-dev] [RFC PATCH 0/7] lib/librte_vhost: Add vhost-user extension

Tetsuya Mukawa mukawa at igel.co.jp
Thu Nov 6 12:14:24 CET 2014


Hi Xie,

Here are RFC patches to add vhost-user extension to librte_vhost.

It seems now you are merging a patch that fixes coding style of
librte_vhost.
Unfortunately my patches based on latest tree, so I will submit
again after your patch is acked.
Because of this, I haven't check coding style strictly. When I
rebase on your new patch, I will check coding style too.

Anyway, could you please check patches?

Thanks,
Tetsuya

Tetsuya Mukawa (7):
  lib/librte_vhost: Fix host_memory_map() to handle various memory
    regions
  lib/librte_vhost: Add an abstraction layer for vhost backends
  lib/librte_vhost: Add an abstraction layer tointerpret messages
  lib/librte_vhost: Move vhost vhost-cuse device list and accessor
    functions
  lib/librte_vhost: Add a vhost session abstraction
  lib/librte_vhost: Add vhost-cuse/user specific initialization
  lib/librte_vhost: Add vhost-user implementation

 lib/librte_vhost/Makefile          |   2 +-
 lib/librte_vhost/rte_virtio_net.h  |  49 ++-
 lib/librte_vhost/vhost-net-cdev.c  |  29 +-
 lib/librte_vhost/vhost-net-cdev.h  | 113 -------
 lib/librte_vhost/vhost-net-user.c  | 541 ++++++++++++++++++++++++++++++
 lib/librte_vhost/vhost-net.c       | 132 ++++++++
 lib/librte_vhost/vhost-net.h       | 127 +++++++
 lib/librte_vhost/vhost_rxtx.c      |   2 +-
 lib/librte_vhost/virtio-net-cdev.c | 624 ++++++++++++++++++++++++++++++++++
 lib/librte_vhost/virtio-net-user.c | 410 +++++++++++++++++++++++
 lib/librte_vhost/virtio-net.c      | 669 ++++++++-----------------------------
 11 files changed, 2032 insertions(+), 666 deletions(-)
 delete mode 100644 lib/librte_vhost/vhost-net-cdev.h
 create mode 100644 lib/librte_vhost/vhost-net-user.c
 create mode 100644 lib/librte_vhost/vhost-net.c
 create mode 100644 lib/librte_vhost/vhost-net.h
 create mode 100644 lib/librte_vhost/virtio-net-cdev.c
 create mode 100644 lib/librte_vhost/virtio-net-user.c

-- 
1.9.1



More information about the dev mailing list