From 7e497faf09407bb475ada686a4cee604cc37c130 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 12 Sep 2023 08:57:59 +0000 Subject: feat(core): 1n_spr swap interfaces Signed-off-by: pmikus Change-Id: Icf68d2f244432f49f6b8fb0876807d694a1e8e31 --- fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh | 4 ++-- resources/libraries/bash/function/device.sh | 2 +- 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") -- cgit 1.2.3-korg