aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2024-05-17 06:13:36 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2024-05-17 12:13:36 +0000
commit009df716ce6a8713a6a7398c0ef34be6119b4f69 (patch)
treeafc440efac7047a0c6bad48f9e30aee13e4fd183 /resources/libraries
parent38557d8c48f92593792394b1900588d830b10d3c (diff)
feat(device): Reconfigure
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5ca0fc5832c249553c79dd9c5d4148ba64e61654
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/bash/function/device.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh
index 4d39cd2de6..a0ba5a67a9 100644
--- a/resources/libraries/bash/function/device.sh
+++ b/resources/libraries/bash/function/device.sh
@@ -327,12 +327,14 @@ function get_available_interfaces () {
ports_per_nic=2
;;
"1n_spr")
+ # Add Intel Corporation XL710/X710 Virtual Function to the
+ # whitelist.
# Add Intel Corporation E810 Virtual Function to the
# whitelist.
- pci_id="0x1889"
- tg_netdev=(enp42s0 enp44s0)
- dut1_netdev=(enp63s0 enp61s0)
- ports_per_nic=1
+ pci_id="0x154c\|0x1889"
+ tg_netdev=(enp42s0 ens5)
+ dut1_netdev=(enp61s0 ens7)
+ ports_per_nic=2
;;
"1n_vbox")
# Add Intel Corporation 82545EM Gigabit Ethernet Controller to the