numam-dpdk/lib/librte_vhost
Ciara Loftus f5a31522f0 vhost: add interface name for virtio
This patch fixes the issue whereby when using userspace vhost ports
in the context of vSwitching, the name provided to the hypervisor/QEMU
of the vhost tap device needs to be exposed in the library, in order
for the vSwitch to be able to direct packets to the correct device.
This patch introduces an 'ifname' member to the virtio-net structure
which is populated with the tap device name when QEMU is brought up
with a vhost device.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Anthony Fee <anthonyx.fee@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2014-12-18 22:52:38 +01:00
..
eventfd_link vhost: fix code style 2014-11-06 23:12:02 +01:00
libvirt vhost: move from examples to dedicated library 2014-10-13 19:10:09 +02:00
Makefile vhost: add makefile 2014-10-13 19:16:54 +02:00
rte_virtio_net.h vhost: add interface name for virtio 2014-12-18 22:52:38 +01:00
vhost_rxtx.c vhost: fix code style 2014-11-06 23:12:02 +01:00
vhost-net-cdev.c vhost: fix code style 2014-11-06 23:12:02 +01:00
vhost-net-cdev.h vhost: coding style fixes 2014-10-13 19:16:54 +02:00
virtio-net.c vhost: add interface name for virtio 2014-12-18 22:52:38 +01:00