[dpdk-dev] [PATCH v3 0/2] vhost: numa aware allocation of vhost device and queues

Huawei Xie huawei.xie at intel.com
Thu Jun 25 07:47:35 CEST 2015


The vhost device and queues should be allocated on the same numa node as vring descriptor table.
When we firstly allocate the vhost device and queues, we don't know the numa node of vring descriptor table.
When we receive the VHOST_SET_VRING_ADDR message, we get the numa node of vring descriptor table, we will try to reallocate vhost device and queues to the same numa node.


Huawei Xie (2):
  use rte_malloc to allocate vhost device and queues
  reallocate vhost device and queues when we get the address of vring descriptor table

 config/common_linuxapp        |   1 +
 lib/librte_vhost/Makefile     |   4 ++
 lib/librte_vhost/virtio-net.c | 107 ++++++++++++++++++++++++++++++++++++++----
 mk/rte.app.mk                 |   4 ++
 4 files changed, 107 insertions(+), 9 deletions(-)

-- 
1.8.1.4



More information about the dev mailing list