From 23f41c5aaa6bb089c2b2ceda0f6265700ea0f1ca Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 12 Sep 2023 07:04:31 +0000 Subject: fix(core): 1n_spr Signed-off-by: pmikus Change-Id: Ia8067fb1683295fb711bbba81a35b0e6d18b084f --- fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile | 2 ++ fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh | 2 ++ fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'fdio.infra.ansible') diff --git a/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile index 26463db449..85537bc32f 100644 --- a/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile +++ b/fdio.infra.ansible/roles/docker_images/files/csit-sut/Dockerfile @@ -1,5 +1,7 @@ FROM base-ubuntu2204:local +EXPOSE 2222 + COPY supervisord.conf /etc/supervisor/supervisord.conf CMD ["sh", "-c", "rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api; /usr/bin/supervisord -c /etc/supervisor/supervisord.conf; /usr/sbin/sshd -D -p 2222"] \ No newline at end of file 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 7be48380e7..524807842f 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 @@ -23,4 +23,6 @@ PCI_WHITELIST+=($(lspci -Dmmd ':1592:0200' | cut -f1 -d' ')) 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 diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml index 438095fc00..618a65ad7f 100644 --- a/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml +++ b/fdio.infra.ansible/roles/vpp_device/tasks/thunderx2.yaml @@ -1,5 +1,5 @@ --- -# file: roles/vpp_device/tasks/thunderx2.yaml +# file: tasks/thunderx2.yaml - name: Load Kernel Modules On Startup (vfio-pci) ansible.builtin.lineinfile: -- cgit 1.2.3-korg