aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-09-12 08:57:59 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-09-12 12:20:55 +0000
commit20d7eea05aebaa501f345ab06645b92a4b3dac38 (patch)
tree302d09591e15a5b3fd8046eee79b777b392744f9
parent25cff0b426ff33459de9832ab95abbae4d217adf (diff)
feat(core): 1n_spr swap interfacesoper-230911
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Icf68d2f244432f49f6b8fb0876807d694a1e8e31 (cherry picked from commit 7e497faf09407bb475ada686a4cee604cc37c130)
-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")