aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2015-11-20 14:10:18 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-01-05 14:18:35 +0000
commit10be71360de39a036ba18deb4852ba3e86570109 (patch)
tree77bda2725e01f2571ac87aa8329991c32c6ea788
parentcc9daad415066164ae4117f4c3f3d637d7ee1006 (diff)
conf: modify core mask format
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>
-rw-r--r--conf/02_vswitch.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf
index ff07f97d..b9862c92 100644
--- a/conf/02_vswitch.conf
+++ b/conf/02_vswitch.conf
@@ -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'