conf.sh.default revision ba114e80
1# This is the configuration file for vhost.sh script.
2# It is executed as bash script in order to load variables.
3# Which means that you can use syntaxes like $(uname -r) etc...
4# Normal utilization of this script shouldn't require you
5# to change anything outside of this file.
6#
7# Use ${CD} in order to get the path of the current directory
8#
9
10# Absolute path to a VPP git repository
11VPP_DIR=""
12
13# QEMU="qemu-system-x86_64" # The QEMU binary to use (can be a path to any binary)
14QEMU="qemu-system-x86_64"
15
16# Physical interface information for the test setup
17VPP_IF0_PCI="0000:0a:00.0"
18VPP_IF0_MAC="90:e2:ba:cb:f5:68"
19VPP_IF0_NAME="TenGigabitEtherneta/0/0"
20VPP_IF1_PCI="0000:0a:00.1"
21VPP_IF1_MAC="90:e2:ba:cb:f5:69"
22VPP_IF1_NAME="TenGigabitEtherneta/0/1"
23
24# VPP_BUILD="release" #Use release VPP build
25# VPP_BUILD="debug"   #Use debug VPP build
26VPP_BUILD="release"
27
28# VPP_GDB="1" # Enable gdb for VPP (other values disable it)
29VPP_GDB=""
30
31# Number of queues to be used for DPDK and VPP
32# Only 1 or 2 are supported
33QUEUES=1
34
35# Disables configured vhost thread placement
36# USE_DEFAULT_VHOST_PLACEMENT="1"
37USE_DEFAULT_VHOST_PLACEMENT=""
38
39# Cores do be used by the VM.
40# In order to work in 2-queues setup, 5 cores are required.
41CORES_VM="3,4,5,16,17"
42
43# Worker cores to be used by VPP.
44# For 2-queues setup, 4 cores should be provided.
45# For 1-queue setup, 2 cores should be provided.
46# CORES_VPP="1,2,13,14"
47CORES_VPP="2,14"
48
49# The created VM is roughly a clone of the running machine.
50# OverlayFS is used in order to isolate the VM, although
51# it uses the same root file system.
52VM_INITRD="/boot/initrd.img-$(uname -r)"
53VM_VMLINUZ="/boot/vmlinuz-$(uname -r)"
54
55# Used by 'ssh' command when opening an ssh session
56# to the running VM
57VM_USERNAME="$USER"
58
59# Set custom queue size (default is 256).
60# Setting a different value (512 or 1024) requires a patched qemu.
61VIRTIO_QSZ="256"
62
63