diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-03-07 15:04:48 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-03-08 07:42:13 +0000 |
commit | 618b515ab7bdb99ee22d66d7762d8a73802140df (patch) | |
tree | 69e20b1a0ef7484645cad010943bf7f837ab9d09 /fdio.infra.ansible | |
parent | bf2eead67930492931ebfe6dfc541a7230a7a0a2 (diff) |
feat(docs): Add SPR
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I9d82f780196d9d525d184bf26d13eb955b0684c8
Diffstat (limited to 'fdio.infra.ansible')
18 files changed, 25 insertions, 25 deletions
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml index c430ad2cbd..9ec6a77b76 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml @@ -29,5 +29,4 @@ sysctl: inventory_ipmi_hostname: "10.30.50.52" cpu_microarchitecture: "sapphirerapids" -intel_700_matrix: "dpdk22.07" -intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml index f461bee612..715d85eb5f 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml @@ -29,5 +29,4 @@ sysctl: inventory_ipmi_hostname: "10.30.50.53" cpu_microarchitecture: "sapphirerapids" -intel_700_matrix: "dpdk22.07" -intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml index 74ca6520a5..97535159ae 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml @@ -29,5 +29,4 @@ sysctl: inventory_ipmi_hostname: "10.30.50.54" cpu_microarchitecture: "sapphirerapids" -intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml index 69d7807781..523e3710f5 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml @@ -29,5 +29,4 @@ sysctl: inventory_ipmi_hostname: "10.30.50.55" cpu_microarchitecture: "sapphirerapids" -intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml index f609e47418..8452ceadc1 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml @@ -31,3 +31,4 @@ cpu_microarchitecture: "sapphirerapids" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml index ae8f1f2024..58c7e7682c 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml @@ -31,3 +31,4 @@ cpu_microarchitecture: "sapphirerapids" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml index 2dcc9a715d..1d209282fc 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml @@ -31,3 +31,4 @@ cpu_microarchitecture: "sapphirerapids" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml index fbab486295..0f593169d9 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml @@ -31,3 +31,4 @@ cpu_microarchitecture: "sapphirerapids" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml index 5c1a85d3f7..22210ae4bd 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml @@ -31,4 +31,4 @@ cpu_microarchitecture: "cascadelake" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml index 59c45e2947..ec23800948 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml @@ -31,4 +31,4 @@ cpu_microarchitecture: "cascadelake" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml index 277de0bc49..61c6f51b06 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml @@ -31,4 +31,4 @@ cpu_microarchitecture: "cascadelake" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml index 2b6c4e16e5..e59d65465f 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml @@ -31,4 +31,4 @@ cpu_microarchitecture: "cascadelake" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07"
\ No newline at end of file +mellanox_matrix: "dpdk22.07"
\ No newline at end of file diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml index ea00b82b84..a3f19b4249 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml @@ -31,4 +31,4 @@ cpu_microarchitecture: "cascadelake" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml index a0632a27a1..d07fe54d6c 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml @@ -28,4 +28,4 @@ cpu_microarchitecture: "epyc" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07"
\ No newline at end of file +mellanox_matrix: "dpdk22.07"
\ No newline at end of file diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml index 8def89dad1..a006a07c7e 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml @@ -28,4 +28,4 @@ cpu_microarchitecture: "epyc" intel_700_matrix: "dpdk22.07" intel_800_matrix: "dpdk22.07" -mellanox_cx5_matrix: "dpdk22.07" +mellanox_matrix: "dpdk22.07" diff --git a/fdio.infra.ansible/roles/mellanox/defaults/main.yaml b/fdio.infra.ansible/roles/mellanox/defaults/main.yaml index 06089ddfac..ed58892e63 100644 --- a/fdio.infra.ansible/roles/mellanox/defaults/main.yaml +++ b/fdio.infra.ansible/roles/mellanox/defaults/main.yaml @@ -1,5 +1,5 @@ --- -# file: roles/mellanox/defaults/main.yaml +# file: defaults/main.yaml packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" @@ -21,10 +21,10 @@ packages_by_arch: mellanox_download_url: "http://content.mellanox.com/ofed" mellanox_extract_dir: "/opt" -mellanox_cx5_compatibility_matrix: +mellanox_compatibility_matrix: dpdk22.03: # https://doc.dpdk.org/guides/rel_notes/release_22_03.html - ofed: "5.6-1.0.3.3" + ofed: "5.9-0.5.6.0" dpdk22.07: # https://doc.dpdk.org/guides/rel_notes/release_22_07.html - ofed: "5.6-1.0.3.3" + ofed: "5.9-0.5.6.0" diff --git a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml index 7f47981378..53376eb997 100644 --- a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml +++ b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml @@ -1,5 +1,5 @@ --- -# file: roles/mellanox/tasks/main.yaml +# file: tasks/main.yaml - name: Inst - Update Package Cache (APT) apt: @@ -17,7 +17,7 @@ tags: - mellanox-inst-drivers -- name: Inst - Check Presence of Mellanox CX-5 +- name: Inst - Check Presence of Mellanox shell: "lspci | grep Mellanox | awk '{print $1}'" register: mellanox_pcis failed_when: false @@ -25,19 +25,19 @@ tags: - mellanox-inst-drivers -- name: Inst - Get Mellanox CX-5 OFED driver versions +- name: Inst - Get Mellanox OFED driver versions set_fact: - ofed: "{{ mellanox_cx5_compatibility_matrix[mellanox_cx5_matrix]['ofed'] }}" + ofed: "{{ mellanox_compatibility_matrix[mellanox_matrix]['ofed'] }}" when: > mellanox_pcis.stdout_lines | length > 0 and - mellanox_cx5_matrix is defined + mellanox_matrix is defined tags: - mellanox-inst-drivers -- name: Inst - Driver Mellanox CX-5 +- name: Inst - Driver Mellanox import_tasks: ofed.yaml when: > mellanox_pcis.stdout_lines | length > 0 and - mellanox_cx5_matrix is defined + mellanox_matrix is defined tags: - mellanox-inst-drivers diff --git a/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml b/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml index 732397d269..1084156412 100644 --- a/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml +++ b/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml @@ -1,5 +1,5 @@ --- -# file: roles/mellanox/tasks/ofed.yaml +# file: tasks/ofed.yaml - name: Inst - Get OFED ansible.builtin.get_url: |