diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-09-12 07:04:31 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2023-09-12 07:04:31 +0000 |
commit | 23f41c5aaa6bb089c2b2ceda0f6265700ea0f1ca (patch) | |
tree | 14bdb7e75f752be8345438ef18a9571735226620 /fdio.infra.ansible | |
parent | 604c94f5437d77c5e324b5960cf553bb29fe1644 (diff) |
fix(core): 1n_spr
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia8067fb1683295fb711bbba81a35b0e6d18b084f
Diffstat (limited to 'fdio.infra.ansible')
3 files changed, 5 insertions, 1 deletions
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: |