From 3020fec6cdd6d8dfb4ab82b4c77b244779169062 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 23 Jan 2024 10:00:56 +0000 Subject: feat(infra): 1n-alt Signed-off-by: Peter Mikus Change-Id: Iea69bcd730f641504428f1400e5c6eb6d6b755dd --- .../inventories/lf_inventory/host_vars/10.30.51.71.yaml | 2 +- fdio.infra.ansible/roles/vpp_device/tasks/main.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'fdio.infra.ansible') diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml index 519923704e..8be4bb0939 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml @@ -8,7 +8,7 @@ grub: iommu.passthrough: "1" inventory_ipmi_hostname: "10.30.50.71" vfs_data_file: "csit-initialize-vfs-alt.sh" -cpu_microarchitecture: "thunderx2" +cpu_microarchitecture: "altra" intel_700_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml index 5e98be2f84..44505d3065 100644 --- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml +++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml @@ -1,6 +1,16 @@ --- # file: tasks/main.yaml +- name: "Load Kernel Modules On Startup (vfio-pci)" + ansible.builtin.lineinfile: + path: "/etc/modules" + state: "present" + line: "{{ item }}" + with_items: + - "vfio-pci" + tags: + - load-kernel-modules + - name: "Disable IPv6 Router Advertisement" ansible.builtin.sysctl: name: "net.ipv6.conf.default.accept_ra" -- cgit 1.2.3-korg