[dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net struct

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Dec 18 23:02:38 CET 2014


2014-12-18 18:07, ciara.loftus at intel.com:
> 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 at intel.com>
> Signed-off-by: Anthony Fee <anthonyx.fee at intel.com>
> Acked-by: Huawei Xie <huawei.xie at intel.com>

Seems important to make this new library working in a common scenario.
Applied

Thanks
-- 
Thomas


More information about the dev mailing list