Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Perf: NAT44 endpoint-dependent mode - udp, part I
[csit.git]
/
resources
/
libraries
/
python
/
Constants.py
diff --git
a/resources/libraries/python/Constants.py
b/resources/libraries/python/Constants.py
index
d1cd45c
..
73d8b63
100644
(file)
--- a/
resources/libraries/python/Constants.py
+++ b/
resources/libraries/python/Constants.py
@@
-173,7
+173,7
@@
class Constants:
QEMU_VM_KERNEL_INITRD = u"/opt/boot/initrd.img"
# QEMU VM nested image path
QEMU_VM_KERNEL_INITRD = u"/opt/boot/initrd.img"
# QEMU VM nested image path
- QEMU_VM_IMAGE = u"/var/lib/vm/
vhost-nested.img
"
+ QEMU_VM_IMAGE = u"/var/lib/vm/
image.iso
"
# QEMU VM DPDK path
QEMU_VM_DPDK = u"/opt/dpdk-20.02"
# QEMU VM DPDK path
QEMU_VM_DPDK = u"/opt/dpdk-20.02"
@@
-187,13
+187,17
@@
class Constants:
# TRex install directory
TREX_INSTALL_DIR = u"/opt/trex-core-2.73"
# TRex install directory
TREX_INSTALL_DIR = u"/opt/trex-core-2.73"
+ # TODO: Find the right way how to use it in trex profiles
+ # TRex pcap files directory
+ TREX_PCAP_DIR = f"{TREX_INSTALL_DIR}/scripts/avl"
+
# TRex limit memory.
TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY", 8192)
# TRex number of cores
TREX_CORE_COUNT = get_int_from_env(u"TREX_CORE_COUNT", 7)
# TRex limit memory.
TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY", 8192)
# TRex number of cores
TREX_CORE_COUNT = get_int_from_env(u"TREX_CORE_COUNT", 7)
- # Trex force start regardles ports state
+ # Trex force start regardles
s
ports state
TREX_SEND_FORCE = get_pessimistic_bool_from_env(u"TREX_SEND_FORCE")
# TRex extra commandline arguments
TREX_SEND_FORCE = get_pessimistic_bool_from_env(u"TREX_SEND_FORCE")
# TRex extra commandline arguments
@@
-211,7
+215,7
@@
class Constants:
CORE_DUMP_DIR = u"/tmp"
# Perf stat events (comma separated).
CORE_DUMP_DIR = u"/tmp"
# Perf stat events (comma separated).
- PERF_STAT_EVENTS = u"
machine_clears.smc
"
+ PERF_STAT_EVENTS = u"
L1-icache-load-misses
"
# Equivalent to ~0 used in vpp code
BITWISE_NON_ZERO = 0xffffffff
# Equivalent to ~0 used in vpp code
BITWISE_NON_ZERO = 0xffffffff