Hi Franck: The natural wrapper for vhost library would be like port in OVDK, which you can receive from or send to. In DPDK, we have a vhost example, which demonstrates simple switching functionality between guest virtual machines.
BR -huawei > -----Original Message----- > From: Franck BAUDIN [mailto:Franck.BAUDIN at qosmos.com] > Sent: Thursday, July 24, 2014 5:23 PM > To: Xie, Huawei; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2] user space vhost driver library > > Hello, > > My understanding is that this is a helper library, but not a PMD driver. Is my > understanding correct? If so, do you plan to write a vhost PMD driver? > > Regards, > Franck. > > > > -----Original Message----- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > > Sent: vendredi 18 juillet 2014 12:03 > > To: Xie, Huawei; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2] user space vhost driver library > > > > Merged two patches in previous patch set into 1. > > > > > -----Original Message----- > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > > > Sent: Friday, July 18, 2014 5:56 PM > > > To: dev at dpdk.org > > > Subject: [dpdk-dev] [PATCH v2] user space vhost driver library > > > > > > This user space vhost library is based off user space vhost example > > > and aims to provide same API for different vhost implementations. This > > > implementation includes user space vhost cuse driver, kernel module > > > for eventfd proxy and vhost enqueue/dequeue functionalities. > > > > > > Huawei Xie (1): > > > vhost library support to facilitate integration with vswitch. > > > > > > config/common_linuxapp | 7 + > > > lib/Makefile | 1 + > > > lib/librte_vhost/Makefile | 48 ++ > > > lib/librte_vhost/eventfd_link/Makefile | 39 + > > > lib/librte_vhost/eventfd_link/eventfd_link.c | 205 ++++++ > > > lib/librte_vhost/eventfd_link/eventfd_link.h | 79 ++ > > > lib/librte_vhost/rte_virtio_net.h | 192 +++++ > > > lib/librte_vhost/vhost-net-cdev.c | 363 ++++++++++ > > > lib/librte_vhost/vhost-net-cdev.h | 112 +++ > > > lib/librte_vhost/vhost_rxtx.c | 292 ++++++++ > > > lib/librte_vhost/virtio-net.c | 1002 > > ++++++++++++++++++++++++++ > > > 11 files changed, 2340 insertions(+) > > > create mode 100644 lib/librte_vhost/Makefile create mode 100644 > > > lib/librte_vhost/eventfd_link/Makefile > > > create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.c > > > create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.h > > > create mode 100644 lib/librte_vhost/rte_virtio_net.h create mode > > > 100644 lib/librte_vhost/vhost-net-cdev.c create mode 100644 > > > lib/librte_vhost/vhost-net-cdev.h create mode 100644 > > > lib/librte_vhost/vhost_rxtx.c create mode 100644 > > > lib/librte_vhost/virtio-net.c > > > > > > -- > > > 1.8.1.4 > > This message and any attachments (the "message") are confidential, intended > solely for the addressees. If you are not the intended recipient, please > notify the > sender immediately by e-mail and delete this message from your system. In this > case, you are not authorized to use, copy this message and/or disclose the > content to any other person. E-mails are susceptible to alteration. Neither > Qosmos nor any of its subsidiaries or affiliates shall be liable for the > message if > altered, changed or falsified. > > Ce message et toutes ses pi?ces jointes (ci-apr?s le "message")sont > confidentiels > et ?tablis ? l'intention exclusive de ses destinataires. Si vous avez re?u ce > message par erreur, merci d?en informer imm?diatement son ?metteur par > courrier ?lectronique et d?effacer ce message de votre syst?me. Dans cette > hypoth?se, vous n??tes pas autoris? ? utiliser, copier ce message et/ou en > divulguer le contenu ? un tiers. Tout message ?lectronique est susceptible > d'alt?ration. Qosmos et ses filiales d?clinent toute responsabilit? au titre > de ce > message s'il a ?t? alt?r?, d?form? ou falsifi?.