On 2016/03/04 17:39, Yuanhan Liu wrote: > On Fri, Mar 04, 2016 at 01:17:42PM +0900, Tetsuya Mukawa wrote: >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The vhost messages will be handled only when a port is started. So start >> a port first, then invoke QEMU. >> >> The PMD has 2 parameters. >> - iface: The parameter is used to specify a path to connect to a >> virtio-net device. >> - queues: The parameter is used to specify the number of the queues >> virtio-net device has. >> (Default: 1) >> >> Here is an example. >> $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1' -- -i >> >> To connect above testpmd, here is qemu command example. >> >> $ qemu-system-x86_64 \ >> <snip> >> -chardev socket,id=chr0,path=/tmp/sock0 \ >> -netdev vhost-user,id=net0,chardev=chr0,vhostforce,queues=1 \ >> -device virtio-net-pci,netdev=net0,mq=on >> >> Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp> >> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com> > You should carry my Acked-by that I gave few versions before, as well > as the Reviewed-by and Tested-by from Rich, if my memory serves me > right. It's also a way to show respects to the reivew/test efforts > from them.
Sure, I will submit one more patch, and will add them. >> --- >> MAINTAINERS | 4 + > Mind to add me to the MAINTAINER list as well if you send another > version? :) If so, don't put my email address wrongly, which you > have done many times ;-) Thank you so much for it. And sorry I get wrong your email address. I will add you in MAINTAINERS in next patch. Thanks, Tetsuya > --yliu