Thread (9 messages) 9 messages, 4 authors, 2015-09-17

Re: [RFC PATCH] vhost: Add VHOST PMD

From: Tetsuya Mukawa <hidden>
Date: 2015-08-31 02:23:57

On 2015/08/29 3:18, Stephen Hemminger wrote:
On Fri, 28 Aug 2015 12:21:41 +0900
Tetsuya Mukawa [off-list ref] wrote:
quoted
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 PMD can have 'iface' parameter like below to specify a path to connect
to a virtio-net device.

$ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/sock0' -- -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 \
        -device virtio-net-pci,netdev=net0

Signed-off-by: Tetsuya Mukawa <redacted>
Lots of minor nits from checkpatch...
Sorry for that. I forgot that I have disabled the checkpatch.pl testing
of my submitting script.
I will fix them, and submit it again.

Tetsuya
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help