Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(topology): Enable 2 QATs
[csit.git]
/
resources
/
libraries
/
python
/
Constants.py
diff --git
a/resources/libraries/python/Constants.py
b/resources/libraries/python/Constants.py
index
e11b5c9
..
70452e6
100644
(file)
--- a/
resources/libraries/python/Constants.py
+++ b/
resources/libraries/python/Constants.py
@@
-1,4
+1,4
@@
-# Copyright (c) 202
3
Cisco and/or its affiliates.
+# Copyright (c) 202
4
Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@
-180,7
+180,7
@@
class Constants:
QEMU_VM_IMAGE = "/var/lib/vm/image.iso"
# QEMU VM DPDK path
QEMU_VM_IMAGE = "/var/lib/vm/image.iso"
# QEMU VM DPDK path
- QEMU_VM_DPDK = "/opt/dpdk-23.
07
"
+ QEMU_VM_DPDK = "/opt/dpdk-23.
11
"
# Docker container SUT image
DOCKER_SUT_IMAGE_UBUNTU = "csit_sut-ubuntu2204:local"
# Docker container SUT image
DOCKER_SUT_IMAGE_UBUNTU = "csit_sut-ubuntu2204:local"
@@
-407,7
+407,7
@@
class Constants:
"100ge2p1cx6dx": "cx6dx",
"200ge2p1cx7veat": "cx7veat",
"200ge6p3cx7veat": "cx7veat",
"100ge2p1cx6dx": "cx6dx",
"200ge2p1cx7veat": "cx7veat",
"200ge6p3cx7veat": "cx7veat",
- "1ge1p82540em": "8250em",
+ "1ge1p82540em": "825
4
0em",
}
# Not each driver is supported by each NIC.
}
# Not each driver is supported by each NIC.
@@
-485,6
+485,25
@@
class Constants:
"1ge1p82540em": "nic_pfs}= | 2",
}
"1ge1p82540em": "nic_pfs}= | 2",
}
+ NIC_CODE_TO_CORESCALE = {
+ "10ge2p1x520": 1,
+ "10ge2p1x710": 1,
+ "40ge2p1xl710": 1,
+ "25ge2p1xxv710": 1,
+ "25ge2p1e810xxv": 1,
+ "25ge2p1e822cq": 1,
+ "25ge2p1e823c": 1,
+ "100ge2p1e810cq": 1,
+ "50ge1p1ena": 1,
+ "100ge1p1ena": 1,
+ "200ge1p1ena": 1,
+ "100ge2p1cx556a": 1,
+ "100ge2p1cx6dx": 1,
+ "200ge2p1cx7veat": 1,
+ "200ge6p3cx7veat": 3,
+ "1ge1p82540em": 1,
+ }
+
# Not each driver is supported by each NIC.
DPDK_NIC_NAME_TO_DRIVER = {
"Intel-X520-DA2": ["vfio-pci"],
# Not each driver is supported by each NIC.
DPDK_NIC_NAME_TO_DRIVER = {
"Intel-X520-DA2": ["vfio-pci"],