diff options
author | pmikus <pmikus@cisco.com> | 2021-07-21 12:01:34 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-05-16 16:16:15 +0200 |
commit | 48d0b3ea0445da0b69347f610f17e67d471b77e3 (patch) | |
tree | 7bd7432eb6489a1262b78add2316f7860499a211 /resources/libraries | |
parent | c3ce5119c09eb40607a4b82f242c10ff2c56284a (diff) |
Core: T-rex 2.97
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Id4d84aa7268080843b099fd7ab9851234612968b
Diffstat (limited to 'resources/libraries')
-rw-r--r-- | resources/libraries/bash/function/common.sh | 2 | ||||
-rw-r--r-- | resources/libraries/python/Constants.py | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 6b113588fa..52e44c796e 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -1196,7 +1196,7 @@ function set_environment_variables () { case "${TEST_CODE}" in *"1n-aws"* | *"2n-aws"* | *"3n-aws"*) - # T-Rex 2.88 workaround for ENA NICs + # T-Rex 2.88+ workaround for ENA NICs export TREX_RX_DESCRIPTORS_COUNT=1024 export TREX_EXTRA_CMDLINE="--mbuf-factor 19" export TREX_CORE_COUNT=6 diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index bfbbfd7471..7289c9c5a4 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -195,7 +195,7 @@ class Constants: DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu2004:local" # TRex install directory - TREX_INSTALL_DIR = u"/opt/trex-core-2.88" + TREX_INSTALL_DIR = u"/opt/trex-core-2.97" # TRex pcap files directory TREX_PCAP_DIR = f"{TREX_INSTALL_DIR}/scripts/avl" @@ -322,13 +322,7 @@ class Constants: u"Intel-XL710": 18750000, u"Intel-XXV710": 18750000, u"Intel-E810CQ": 58500000, - # 2n-clx testbeds show duration stretching on high rates, - # depending on encapsulation TRex has to generate. - # 40 Mpps is still too much for dot1q (~8% stretching). - # 36 Mpps is around the maximal VPP throughput (l2patch 4c8t). - # Vxlan traffic will still show stretching at 36 Mpps (>12%), - # but we do not care about those tests that much. - u"Mellanox-CX556A": 36000000, # 148809523, + u"Mellanox-CX556A": 148809523, u"Amazon-Nitro-50G": 1200000, u"virtual": 14880952, } |