vhost: export numa node
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 22:12:57 +0000 (06:12 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:01:30 +0000 (09:01 +0200)
commit586e390013171b32c3cd3406fe0b8158816a3a1f
tree0d2ee7d7aaec1cdd11e3d4b5d39bede46005a91e
parentadf97191b3e1495097658feaa6e2954a4aecfed5
vhost: export numa node

Introduce a new API rte_vhost_get_numa_node() to get the numa node
from which the virtio_net struct is allocated.

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