[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

Xie, Huawei huawei.xie at intel.com
Tue Aug 19 11:06:32 CEST 2014


Hi Maryam:
This patch removes eventfd kernel module from example. 
Qemu user space vhost support is within progress. This is our existing vhost implementation. With the new implementation, there should be no or minor change to the library API.

BR.
-huawei
> -----Original Message-----
> From: Tahhan, Maryam
> Sent: Tuesday, August 19, 2014 4:51 PM
> To: Cao, Waterman; Xie, Huawei; dev at dpdk.org
> Cc: Long, Thomas
> Subject: RE: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost
> library.
> 
> Hi
> I see the eventfd module is still included... is this to support existing vhost
> implementations? Is Qemu's vhost-user supported?
> 
> Thanks
> Maryam
> 
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cao, Waterman
> Sent: Thursday, August 7, 2014 3:29 PM
> To: Xie, Huawei; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost
> library.
> 
> Tested-by: Waterman Cao  <waterman.cao at intel.com> This patch implements
> a simple vswitch by user vhost library, and is ready to integrate into DPDK.org.
> 
> -----Original Message-----
> >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie
> >Sent: Tuesday, August 5, 2014 11:58 PM
> >To: dev at dpdk.org
> >Subject: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost
> library.
> >
> >This vhost example implements a simple vswitch using DPDK user space vhost
> library(lib/librte_vhost) and VMDQ to demonstrate vhost's performance.
> >- Each virtio device is bound to a VMDQ pool and each pool is assigned the
> mac/vlan of the virtio device.
> >- Packets arriving at a pool after l2 classifier will be moved to the virtio device.
> >- Packets whose destination is a local virtio device will be delivered either by
> a)software switching mode b)hardware l2 switch.
> >- zero copy is supported and could be configured through command line.
> >
> >Huawei Xie (3):
> >  remove old vhost example
> >  add lib/librte_vhost support in mk/rte.app.mk
> >  add new vhost example
> >
> > examples/vhost/Makefile                    |   10 +-
> > examples/vhost/eventfd_link/Makefile       |   39 -
> > examples/vhost/eventfd_link/eventfd_link.c |  205 -----
> > examples/vhost/eventfd_link/eventfd_link.h |   79 --
> > examples/vhost/libvirt/qemu-wrap.py        |    5 +-
> > examples/vhost/main.c                      | 1101 +++++++++++++-------------
> > examples/vhost/main.h                      |   85 +-
> > examples/vhost/vhost-net-cdev.c            |  367 ---------
> > examples/vhost/vhost-net-cdev.h            |   83 --
> > examples/vhost/virtio-net.c                | 1165 ----------------------------
> > examples/vhost/virtio-net.h                |  147 ----
> > mk/rte.app.mk                              |    5 +
> > 12 files changed, 585 insertions(+), 2706 deletions(-)  delete mode
> > 100644 examples/vhost/eventfd_link/Makefile
> > delete mode 100644 examples/vhost/eventfd_link/eventfd_link.c
> > delete mode 100644 examples/vhost/eventfd_link/eventfd_link.h
> > delete mode 100644 examples/vhost/vhost-net-cdev.c  delete mode 100644
> > examples/vhost/vhost-net-cdev.h  delete mode 100644
> > examples/vhost/virtio-net.c  delete mode 100644
> > examples/vhost/virtio-net.h
> >
> >--
> >1.8.1.4
> >



More information about the dev mailing list