[ovs-git] [openvswitch/ovs] db8f13: netdev-dpdk: NUMA Aware vHost User

GitHub noreply at github.com
Sat Jun 18 00:13:15 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: db8f13b0201e992cc4a3aa12799723b19a509b46
      https://github.com/openvswitch/ovs/commit/db8f13b0201e992cc4a3aa12799723b19a509b46
  Author: Ciara Loftus <ciara.loftus at intel.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M .travis.yml
    M INSTALL.DPDK.md
    M NEWS
    M acinclude.m4
    M lib/netdev-dpdk.c
    M rhel/openvswitch-fedora.spec.in

  Log Message:
  -----------
  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 at intel.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list