net/virtio-user: support changing tap interface name
authorWenfeng Liu <liuwf@arraynetworks.com.cn>
Tue, 28 Mar 2017 17:20:00 +0000 (17:20 +0000)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 08:36:17 +0000 (10:36 +0200)
commit4214a1b493f2a1334c0de2165a34f8634fb07fb2
tree22f58d90947b05668d25f8b9b4471f5d2c9cfebf
parent4e9474141e1115a3089896848f92b25b53cddfd9
net/virtio-user: support changing tap interface name

This patch adds a new option 'iface' to change the interface name of
tap device with vhost-kernel as backend.

Signed-off-by: Wenfeng Liu <liuwf@arraynetworks.com.cn>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net/virtio/virtio_user/virtio_user_dev.h
drivers/net/virtio/virtio_user_ethdev.c