conf: modify core mask format 61/5561/4
authorCiara Loftus <ciara.loftus@intel.com>
Fri, 20 Nov 2015 14:10:18 +0000 (14:10 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Tue, 5 Jan 2016 14:18:35 +0000 (14:18 +0000)
The pmd-cpu-core mask flag does not accept a hexmask with a
leading '0x'. Remove these characters from the VSWITCH_PMD_CPU_MASK
variable.

JIRA: VSPERF-139

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
conf/02_vswitch.conf

index ff07f97..b9862c9 100644 (file)
@@ -79,8 +79,9 @@ VSWITCH_BRIDGE_NAME = 'br0'
 # directory where hugepages will be mounted on system init
 HUGEPAGE_DIR = '/dev/hugepages'
 
-# Sets OVS PMDs core mask to 0x30 for affinitization to 5th and 6th CPU core
-VSWITCH_PMD_CPU_MASK = '0x30'
+# Sets OVS PMDs core mask to 30 for affinitization to 5th and 6th CPU core.
+# Note that the '0x' notation should not be used.
+VSWITCH_PMD_CPU_MASK = '30'
 VSWITCH_AFFINITIZATION_ON = 1
 
 VSWITCH_FLOW_TIMEOUT = '30000'