vhost: support ifname for vhost-user
authorHuawei Xie <huawei.xie@intel.com>
Mon, 23 Feb 2015 17:36:32 +0000 (17:36 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 00:38:16 +0000 (01:38 +0100)
commit54292e9520e0141b691579868c6e29a7a0628915
tree68a0d15fabe53cabd64d1d736854d1acabfc06d9
parent8f972312b8f469af5cf6f20de48719468b1c7cda
vhost: support ifname for vhost-user

for vhost-cuse, ifname is the name of the tap device
for vhost-user, ifname is the name of the unix domain socket path

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Signed-off-by: Przemyslaw Czesnowicz <przemyslaw.czesnowicz@intel.com>
Acked-by: Tetsuya Mukawa <mukawa@igel.co.jp>
lib/librte_vhost/Makefile
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/vhost-net.h
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
lib/librte_vhost/vhost_cuse/virtio-net-cdev.h
lib/librte_vhost/vhost_user/vhost-net-user.c
lib/librte_vhost/virtio-net.c