aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Constants.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-10-15 08:13:29 +0000
committerPeter Mikus <pmikus@cisco.com>2019-10-25 07:22:06 +0000
commit909a91c2a2b08a85d700542a77f8b69434f5ded1 (patch)
treebf141badf8627cb7cf04ef38952f2e9465173478 /resources/libraries/python/Constants.py
parentac89ba8a39355a4a761508870ea0e08212ef7aee (diff)
ADD: Mellanox RDMA interface support
+ Add functions for creating rdma interface + Fix traffic generator Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I81787b72ff5ee926ed652d350888c4f86da766f1
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r--resources/libraries/python/Constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 57176662eb..71d5074334 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -234,7 +234,6 @@ class Constants(object):
# Mapping from NIC name to its bps limit.
# TODO: Implement logic to lower limits to TG NIC or software. Or PCI.
NIC_NAME_TO_LIMIT = {
- # TODO: Explain why ~40Gbps NICs are using ~25Gbps limit.
"Cisco-VIC-1227": 10000000000,
"Cisco-VIC-1385": 24500000000,
"Intel-X520-DA2": 10000000000,
@@ -242,6 +241,7 @@ class Constants(object):
"Intel-X710": 10000000000,
"Intel-XL710": 24500000000,
"Intel-XXV710": 24500000000,
+ "Mellanox-CX556A": 100000000000,
"virtual": 100000000,
}
@@ -254,6 +254,7 @@ class Constants(object):
"Intel-X710": "10ge2p1x710",
"Intel-XL710": "40ge2p1xl710",
"Intel-XXV710": "25ge2p1xxv710",
+ "Mellanox-CX556A": "100ge2p1cx556a",
}
# TODO CSIT-1481: Crypto HW should be read from topology file instead.