aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/02_vswitch.conf1
-rw-r--r--conf/04_vnf.conf14
2 files changed, 15 insertions, 0 deletions
diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf
index a9202c84..c7fe03f0 100644
--- a/conf/02_vswitch.conf
+++ b/conf/02_vswitch.conf
@@ -86,3 +86,4 @@ LOG_FILE_OVS = 'ovs.log'
VSWITCH_DIR = os.path.join(ROOT_DIR, 'vswitches')
VSWITCH = "OvsDpdkVhost"
+VHOST_METHOD = 'cuse'
diff --git a/conf/04_vnf.conf b/conf/04_vnf.conf
index 7d1399d1..1c3712ed 100644
--- a/conf/04_vnf.conf
+++ b/conf/04_vnf.conf
@@ -74,3 +74,17 @@ GUEST_NET2_MAC = '00:00:00:00:00:02'
GUEST_NET1_PCI_ADDRESS = '00:04.0'
GUEST_NET2_PCI_ADDRESS = '00:05.0'
+GUEST_MEMORY = '3072'
+
+# test-pmd requires 2 VM cores
+GUEST_SMP = '2'
+
+# Host cores to use to affinitize the SMP cores of a QEMU instance
+# For 2 VNFs you may use [(4,5), (6, 7)]
+GUEST_CORE_BINDING = [(4, 5)]
+
+# Starte Qemu on cores 3, 4,5 (0x038)
+QEMU_CORE = '38'
+
+GUEST_OVS_DPDK_DIR = '/root/ovs_dpdk'
+OVS_DPDK_SHARE = '/mnt/ovs_dpdk_share'