diff options
author | pmikus <peter.mikus@protonmail.ch> | 2024-01-23 10:00:56 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2024-01-23 10:00:56 +0000 |
commit | 3020fec6cdd6d8dfb4ab82b4c77b244779169062 (patch) | |
tree | ab764df088f7a7618f20d1f069b947f13e4ec780 | |
parent | caff461d7ef136f744cc4084fe5be13f49fb27dd (diff) |
feat(infra): 1n-alt
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: Iea69bcd730f641504428f1400e5c6eb6d6b755dd
-rw-r--r-- | fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml | 2 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/vpp_device/tasks/main.yaml | 10 |
2 files changed, 11 insertions, 1 deletions
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" |