[dpdk-dev] [PATCH 00/11] net/vhostpci: A new vhostpci PMD supporting VM2VM scenario

Yang, Zhiyong zhiyong.yang at intel.com
Thu Dec 7 07:07:30 CET 2017


Hi  all,

> -----Original Message-----
> From: Yang, Zhiyong
> Sent: Tuesday, December 5, 2017 2:59 PM
> To: Yang, Zhiyong <zhiyong.yang at intel.com>; dev at dpdk.org;
> yliu at fridaylinux.org; maxime.coquelin at redhat.com
> Cc: Wang, Wei W <wei.w.wang at intel.com>; Tan, Jianfeng
> <jianfeng.tan at intel.com>
> Subject: RE: [dpdk-dev] [PATCH 00/11] net/vhostpci: A new vhostpci PMD
> supporting VM2VM scenario
> 
> Hi all,
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhiyong Yang
> > Sent: Thursday, November 30, 2017 5:47 PM
> > To: dev at dpdk.org; yliu at fridaylinux.org; maxime.coquelin at redhat.com
> > Cc: Wang, Wei W <wei.w.wang at intel.com>; Tan, Jianfeng
> > <jianfeng.tan at intel.com>
> > Subject: [dpdk-dev] [PATCH 00/11] net/vhostpci: A new vhostpci PMD
> > supporting VM2VM scenario
> >
> > Vhostpci PMD is a new type driver working in guest OS which has
> > ability to drive the vhostpci modern pci device, which is a new virtio device.
> >
> > The following linking is about vhostpci design:
> >
> > An initial device design is presented at KVM Forum'16:
> > http://www.linux-kvm.org/images/5/55/02x07A-Wei_Wang-Design_of-Vhost-
> > pci.pdf
> > The latest device design and implementation will be posted to the QEMU
> > community soon.
> >
> 
> The latest version vhostpci device code has been posted to QEMU community.
> [PATCH v3 0/7] Vhost-pci for inter-VM communication
> http://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg00494.html
> 
> [2016] Design of Vhost-pci by Wei Wang - YouTube linking as reference.
> https://www.youtube.com/watch?v=xITj0qsaSJQ
> 

I miss the code in V1 as followings.

Disable notifications.
virtqueue[i]->used->flags = VRING_USED_F_NO_NOTIFY;

I will add it in next version. It can increase throughput sharply for vhostpci/ virtio PMD loopback test.
The similar performance result can be seen compared to vhost user/virtio PMD loopback test after disabling notifications.

thanks
Zhiyong


More information about the dev mailing list