[ovs-git] [openvswitch/ovs] abb594: netdev-dpdk: Allow changing NON_PMD_CORE_ID for te...

GitHub noreply at github.com
Wed Feb 11 01:37:04 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: abb5943dbb8005a9de59c68e4d798fbd072d33f0
      https://github.com/openvswitch/ovs/commit/abb5943dbb8005a9de59c68e4d798fbd072d33f0
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-10 (Tue, 10 Feb 2015)

  Changed paths:
    M lib/dpctl.c
    M lib/dpif-netdev.h
    M lib/netdev-dpdk.c
    M lib/netdev-dpdk.h

  Log Message:
  -----------
  netdev-dpdk: Allow changing NON_PMD_CORE_ID for testing purpose.

For testing purpose, developers may want to change the NON_PMD_CORE_ID
and use a different core for non-pmd threads.  Since the netdev-dpdk
module is hard-coded to assert the non-pmd threads using core 0, such
change will cause abortion of OVS.

This commit fixes the assertion and allows changing NON_PMD_CORE_ID.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>




More information about the git mailing list