aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-03-28 14:23:46 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-03-28 14:23:46 +0000
commitbf399789b561c84fbfb3012e991eebffa2e44d30 (patch)
treeba7169f31c43219bca4de179a32f15158666b07e /resources/libraries
parent65c15b21ee45ff171b0a0d6b61ed5996228cbe71 (diff)
feat(core): Add 2n-spr topology
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3f7efcbfc82f683e7afc986d00fa71ae7413d93d
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/bash/function/common.sh1
-rw-r--r--resources/libraries/python/Constants.py6
2 files changed, 7 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index d98db18149..de290ebfff 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -892,6 +892,7 @@ function select_tags () {
awk_nics_sub_cmd+='gsub("xl710","40ge2p1xl710");'
awk_nics_sub_cmd+='gsub("x520-da2","10ge2p1x520");'
awk_nics_sub_cmd+='gsub("cx556a","100ge2p1cx556a");'
+ awk_nics_sub_cmd+='gsub("cx7veat","200ge2p1cx7veat");'
awk_nics_sub_cmd+='gsub("e810cq","100ge2p1e810cq");'
awk_nics_sub_cmd+='gsub("vic1227","10ge2p1vic1227");'
awk_nics_sub_cmd+='gsub("vic1385","40ge2p1vic1385");'
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 01e3a0154a..eda94fe40f 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -308,6 +308,7 @@ class Constants:
u"Intel-E822CQ": 24500000000,
u"Intel-E810CQ": 100000000000,
u"Mellanox-CX556A": 100000000000,
+ u"Mellanox-CX7VEAT": 200000000000,
u"Amazon-Nitro-50G": 10000000000,
u"virtual": 100000000,
}
@@ -322,6 +323,7 @@ class Constants:
u"Intel-E822CQ": 29000000,
u"Intel-E810CQ": 58500000,
u"Mellanox-CX556A": 148809523,
+ u"Mellanox-CX7VEAT": 297619046,
u"Amazon-Nitro-50G": 1200000,
u"virtual": 14880952,
}
@@ -337,6 +339,7 @@ class Constants:
u"Intel-E810CQ": u"100ge2p1e810cq",
u"Amazon-Nitro-50G": u"50ge1p1ena",
u"Mellanox-CX556A": u"100ge2p1cx556a",
+ u"Mellanox-CX7VEAT": u"200ge2p1cx7veat",
}
# Shortened lowercase NIC model name, useful for presentation.
@@ -350,6 +353,7 @@ class Constants:
u"100ge2p1e810cq": u"e810cq",
u"50ge1p1ena": u"ena",
u"100ge2p1cx556a": u"cx556a",
+ u"200ge2p1cx7veat": u"cx7veat",
}
# Not each driver is supported by each NIC.
@@ -363,6 +367,7 @@ class Constants:
u"Intel-E810CQ": [u"vfio-pci", u"avf", u"af_xdp"],
u"Amazon-Nitro-50G": [u"vfio-pci"],
u"Mellanox-CX556A": [u"rdma-core", u"mlx5_core", u"af_xdp"],
+ u"Mellanox-CX7VEAT": [u"rdma-core", u"mlx5_core", u"af_xdp"],
}
# Each driver needs different plugin to work.
@@ -412,6 +417,7 @@ class Constants:
u"Intel-E810CQ": [u"vfio-pci"],
u"Amazon-Nitro-50G": [u"vfio-pci"],
u"Mellanox-CX556A": [u"mlx5_core"],
+ u"Mellanox-CX7VEAT": [u"mlx5_core"],
}
# Tags to differentiate tests for different NIC driver.