vhost: export interface name
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 22:38:44 +0000 (06:38 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:01:30 +0000 (09:01 +0200)
commitf6d1bd536567daf177d1d25b2d68464af5370ccd
tree8fb6ccd04e02a9b4cc6d34ab66406f43cef2f375
parent4b4af666b989d18a8f823cbe827304ad8b6f1d97
vhost: export interface name

Introduce a new API rte_vhost_get_ifname() to export the ifname to
application.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Rich Lane <rich.lane@bigswitch.com>
drivers/net/vhost/rte_eth_vhost.c
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/virtio-net.c