vhost: realloc device and queues to same numa node as vring desc
authorHuawei Xie <huawei.xie@intel.com>
Thu, 25 Jun 2015 05:47:37 +0000 (13:47 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Jun 2015 16:57:33 +0000 (18:57 +0200)
commitaf295ad4698c81913965f1354d9d3ad054e988f6
treefabcc855662d781680917f9d8a88e91bd5a38093
parent4113e38100fc2763244cea4588f5097fdda709ea
vhost: realloc device and queues to same numa node as vring desc

When we get the address of vring descriptor table in VHOST_SET_VRING_ADDR
message, will try to reallocate vhost device and virt queue to the same
numa node.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
config/common_linuxapp
lib/librte_vhost/Makefile
lib/librte_vhost/virtio-net.c
mk/rte.app.mk