aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-09-12 08:57:59 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-09-12 09:10:20 +0000
commit7e497faf09407bb475ada686a4cee604cc37c130 (patch)
tree08180203a96bd613403bc9cb9579db501ac1e2b6
parent23f41c5aaa6bb089c2b2ceda0f6265700ea0f1ca (diff)
feat(core): 1n_spr swap interfaces
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Icf68d2f244432f49f6b8fb0876807d694a1e8e31
-rw-r--r--fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh4
-rw-r--r--resources/libraries/bash/function/device.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
index 524807842f..b240649b4c 100644
--- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
+++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh
@@ -24,5 +24,5 @@ declare -A PF_INDICES
# Intel NICs
PF_INDICES["0000:2a:00.0"]=0
PF_INDICES["0000:2c:00.0"]=1
-PF_INDICES["0000:3d:00.0"]=0
-PF_INDICES["0000:3f:00.0"]=1
+PF_INDICES["0000:3f:00.0"]=0
+PF_INDICES["0000:3d:00.0"]=1
diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh
index 93bc2ca82b..334fd04bfa 100644
--- a/resources/libraries/bash/function/device.sh
+++ b/resources/libraries/bash/function/device.sh
@@ -325,7 +325,7 @@ function get_available_interfaces () {
# whitelist.
pci_id="0x1889"
tg_netdev=(enp42s0 enp44s0)
- dut1_netdev=(enp61s0 enp63s0)
+ dut1_netdev=(enp63s0 enp61s0)
ports_per_nic=1
;;
"1n_vbox")