numam-dpdk/doc/guides
Tetsuya Mukawa ee584e9710 vhost: add driver on top of the library
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@igel.co.jp>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Rich Lane <rich.lane@bigswitch.com>
Tested-by: Rich Lane <rich.lane@bigswitch.com>

Update for queue state event name:
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2016-03-25 18:56:44 +01:00
..
contributing mk: replace the combined library with a linker script 2016-03-01 14:37:27 +01:00
cryptodevs null_crypto: add driver for null crypto operations 2016-03-11 02:16:18 +01:00
faq doc: remove DPDK from guide titles 2015-12-17 16:02:26 +01:00
freebsd_gsg doc: fix -n option in FreeBSD guide 2015-12-15 15:04:39 +01:00
linux_gsg igb_uio: deprecate extended tag 2016-03-09 01:51:01 +01:00
nics vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
prog_guide doc: fix number of supported bonding modes 2016-03-07 22:57:35 +01:00
rel_notes vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
sample_app_ug examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00
testpmd_app_ug ethdev: add IP in GRE tunnel 2016-03-13 15:27:20 +01:00
xen doc: clean up index files 2015-12-15 13:50:42 +01:00
conf.py doc: fix navigation levels in html sidebar of guides 2016-01-16 09:16:56 +01:00
index.rst doc: fix navigation levels in html sidebar of guides 2016-01-16 09:16:56 +01:00