aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Constants.py
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2024-06-17 14:44:03 +0200
committerpmikus <peter.mikus@protonmail.ch>2024-06-18 09:05:53 +0200
commita410c9fab12fd5d2087d5429860dfd9bcc49986b (patch)
tree7b6c2a8f47dddc6a18dec5612a3fe132a9cdd9c3 /resources/libraries/python/Constants.py
parent4c4eca13640c2847abe183290046895be2b49729 (diff)
fix(trex): Add MTU
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I91a3136a29192fb25ec4845e0924b96977f591f5
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r--resources/libraries/python/Constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 70452e6ff4..7e6d70b6cb 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -206,6 +206,8 @@ class Constants:
# TRex number of cores in case multiple dual interface configurations.
TREX_CORE_COUNT_MULTI = get_int_from_env("TREX_CORE_COUNT_MULTI", 8)
+ TREX_PORT_MTU = get_int_from_env("TREX_PORT_MTU", 0)
+
# TRex set number of RX/TX descriptors.
# Set to 0 to use default values.
TREX_TX_DESCRIPTORS_COUNT = get_int_from_env(