netdev-dpdk: NUMA Aware vHost User
authorCiara Loftus <ciara.loftus@intel.com>
Mon, 13 Jun 2016 10:10:09 +0000 (11:10 +0100)
committerDaniele Di Proietto <diproiettod@vmware.com>
Sat, 18 Jun 2016 00:11:55 +0000 (17:11 -0700)
commitdb8f13b0201e992cc4a3aa12799723b19a509b46
treebde9e75060e51acb2bb6ab2a3deaa4af90deedba
parent885b8265d682a9736bb0db98c48a811bfd9de6cf
netdev-dpdk: NUMA Aware vHost User

This commit allows for vHost User memory from QEMU, DPDK and OVS, as
well as the servicing PMD, to all come from the same socket.

The socket id of a vhost-user port used to be set to that of the master
lcore. Now it is possible to update the socket id if it is detected
(during VM boot) that the vhost device memory is not on this node. If
this is the case, a new mempool is created from the new node, and the
PMD thread currently servicing the port will no longer, in favour of a
thread from the new node (if enabled in the pmd-cpu-mask).

To avail of this functionality, one must enable the
CONFIG_RTE_LIBRTE_VHOST_NUMA DPDK configuration option.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
.travis.yml
INSTALL.DPDK.md
NEWS
acinclude.m4
lib/netdev-dpdk.c
rhel/openvswitch-fedora.spec.in