numam-dpdk/config
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
..
common_base vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
common_bsdapp config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00
common_linuxapp vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
defconfig_arm64-armv8a-linuxapp-gcc config: remove ARM NEON option 2016-03-24 17:46:58 +01:00
defconfig_arm64-thunderx-linuxapp-gcc config: use armv8a as base for arm64 targets 2015-12-02 23:22:09 +01:00
defconfig_arm64-xgene1-linuxapp-gcc config: use armv8a as base for arm64 targets 2015-12-02 23:22:09 +01:00
defconfig_arm-armv7a-linuxapp-gcc eal/arm: disable NEON for 32-bit memcpy 2016-03-24 17:46:58 +01:00
defconfig_i686-native-linuxapp-gcc aesni_gcm: add driver for AES-GCM crypto operations 2016-03-11 01:01:42 +01:00
defconfig_i686-native-linuxapp-icc aesni_gcm: add driver for AES-GCM crypto operations 2016-03-11 01:01:42 +01:00
defconfig_ppc_64-power8-linuxapp-gcc config: clean cache line size selection scheme 2016-02-11 12:45:35 +01:00
defconfig_tile-tilegx-linuxapp-gcc mk: support native build on TILE-Gx 2016-03-16 15:24:38 +01:00
defconfig_x86_64-ivshmem-linuxapp-gcc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-ivshmem-linuxapp-icc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-native-bsdapp-clang config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-bsdapp-gcc config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-linuxapp-clang config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-icc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_x32-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00