X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FConstants.py;h=73d8b63a0b1c336fa49f5e43b66c2f7414ef625a;hb=ff1f49d9ba97ddfee3229907e3a344503e072578;hp=d1cd45c9fe59813c91007d1f0c2460a08196105c;hpb=a40195bdda6ec06af8479cfe7d3b3e11d4c9778f;p=csit.git diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index d1cd45c9fe..73d8b63a0b 100644 --- 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_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" @@ -187,13 +187,17 @@ class Constants: # 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 force start regardles ports state + # Trex force start regardless ports state 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). - 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