[dpdk-dev] [PATCH v3 00/11] qemu vhost-user support

Xie, Huawei huawei.xie at intel.com
Wed Feb 25 06:55:42 CET 2015


PC:
Thanks a lot for the effort.
During one of the rebase process, i moved eventfd copy into
eventfd_copy.c but forget to update virtio-net.c, so it  isn't
compilable until later commit.
Sorry for the trouble. Will check if each commit could be compiled in
future.

On 2/24/2015 1:36 AM, Przemyslaw Czesnowicz wrote:
> v3 changes:
>   * move things around to make all patches compile
>   
>
> Xie, Huawei (11):
>   lib/librte_vhost: enable VIRTIO_NET_F_CTRL_RX VIRTIO_NET_F_CTRL_RX is
>     dependant on VIRTIO_NET_F_CTRL_VQ. Observed that virtio-net driver
>     in guest would crash with only CTRL_RX enabled.
>   lib/librte_vhost: create vhost_cuse directory and move
>     vhost-net-cdev.c into vhost_cuse
>   lib/librte_vhost: rename vhost-net-cdev.h to vhost-net.h
>   lib/librte_vhost: move fd copying(from qemu process into vhost
>     process) to eventfd_copy.c
>   lib/librte_vhost: copy host_memory_map from virtio-net.c to a new file
>     virtio-net-cdev.c
>   lib/librte_vhost: make host_memory_map a more generic function.
>   lib/librte_vhost: implement cuse_set_memory_table
>   lib/librte_vhost: add select based event driven processing
>   lib/librte_vhost: vhost user support
>   lib/librte_vhost: support dev->ifname for vhost-user
>   lib/librte_vhost: support dynamically registering vhost server
>
>  lib/librte_vhost/Makefile                     |   8 +-
>  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                  | 118 +++++++
>  lib/librte_vhost/vhost_cuse/eventfd_copy.c    |  88 +++++
>  lib/librte_vhost/vhost_cuse/eventfd_copy.h    |  39 ++
>  lib/librte_vhost/vhost_cuse/vhost-net-cdev.c  | 417 ++++++++++++++++++++++
>  lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 423 ++++++++++++++++++++++
>  lib/librte_vhost/vhost_cuse/virtio-net-cdev.h |  48 +++
>  lib/librte_vhost/vhost_rxtx.c                 |   2 +-
>  lib/librte_vhost/vhost_user/fd_man.c          | 258 ++++++++++++++
>  lib/librte_vhost/vhost_user/fd_man.h          |  67 ++++
>  lib/librte_vhost/vhost_user/vhost-net-user.c  | 472 +++++++++++++++++++++++++
>  lib/librte_vhost/vhost_user/vhost-net-user.h  | 106 ++++++
>  lib/librte_vhost/vhost_user/virtio-net-user.c | 314 ++++++++++++++++
>  lib/librte_vhost/vhost_user/virtio-net-user.h |  49 +++
>  lib/librte_vhost/virtio-net.c                 | 491 ++------------------------
>  lib/librte_vhost/virtio-net.h                 |  43 +++
>  19 files changed, 2491 insertions(+), 959 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
>



More information about the dev mailing list