vhost: export number of queues
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 22:23:32 +0000 (06:23 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:01:30 +0000 (09:01 +0200)
commit4b4af666b989d18a8f823cbe827304ad8b6f1d97
treea61f14c0c84d28b642c67d7e7ba71e99e56866c8
parent586e390013171b32c3cd3406fe0b8158816a3a1f
vhost: export number of queues

Introduce a new API rte_vhost_get_queue_num() to export the number of
queues.

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