diff options
-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" |