summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-09-26 09:59:44 -0700
committerkalyanreddy <reddyx.gundarapu@intel.com>2017-09-26 09:59:44 -0700
commita3216e6d5b03ef9d0333329b95d345847a755f63 (patch)
tree3b8fa9dfd1011893160d4c7ca85b34005ba07296 /tests
parent827627ae5f5674775062ab6a8a31a0ae1bbba7c7 (diff)
To update vsperf/packet-forwarding configuration files
This patch is used to update the vsperf configuration files for enabling thread binding and to select the loopback application for tests with VMs. Change-Id: Id561475a56e6b262eb90fcab1b07bfeb51df6147 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/vsperf.conf9
-rwxr-xr-xtests/vsperf.conf.sriov7
2 files changed, 15 insertions, 1 deletions
diff --git a/tests/vsperf.conf b/tests/vsperf.conf
index a5055e770..ac5505261 100755
--- a/tests/vsperf.conf
+++ b/tests/vsperf.conf
@@ -26,7 +26,14 @@ WHITELIST_NICS = ['02:00.0', '02:00.1']
##############################
# VNF configuration
##############################
-GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2','/home/jenkins/vloop-vnf-ubuntu-14.04_20160823.qcow2']
+GUEST_SMP = ['2']
+GUEST_CORE_BINDING = [('27','28'),('29','30')]
+GUEST_THREAD_BINDING = [('33','34'),('35','36')]
+VNF_AFFINITIZATION_ON = True
+# loopback application for tests with VMs
+GUEST_LOOPBACK=['testpmd','testpmd']
+TESTPMD_FWD_MODE = 'io'
#Using kvmfornfv built qemu for launching guest vms.
PATHS['qemu'] = {
'type' : 'bin',
diff --git a/tests/vsperf.conf.sriov b/tests/vsperf.conf.sriov
index c37414c1b..f476848b7 100755
--- a/tests/vsperf.conf.sriov
+++ b/tests/vsperf.conf.sriov
@@ -28,6 +28,13 @@ PATHS['dpdk']['src']['modules'] = ['uio', 'vfio-pci']
# VNF configuration
#############################
GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+GUEST_SMP = ['2']
+GUEST_CORE_BINDING = [('27','28'),('29','30')]
+GUEST_THREAD_BINDING = [('33','34'),('35','36')]
+VNF_AFFINITIZATION_ON = True
+# loopback application for tests with VMs
+GUEST_LOOPBACK=['testpmd','testpmd']
+TESTPMD_FWD_MODE = 'io'
#Using kvmfornfv built qemu for launching guest vms.
PATHS['qemu'] = {
'type' : 'bin',