diff options
author | 2020-03-17 15:09:51 +0100 | |
---|---|---|
committer | 2020-03-18 09:35:07 +0000 | |
commit | 291eafd5e77eacd9aaf53b89926e7fca340b3b15 (patch) | |
tree | 9a66352998ad27d824d895d3eb0e1728531c4fab /resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml | |
parent | 37da7642f3dcc8840d97686fb87230fb74ab7c75 (diff) |
Fix dpdk-20.02 build to include igb_uio.
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech>
Change-Id: Ifd0f4d09b7c518feab534186220d618a560f223c
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml index 8ece4af7c6..1b4e398e26 100644 --- a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml @@ -31,11 +31,22 @@ tags: - install-dpdk +- name: DPDK - Build igb_uio by default + lineinfile: + dest: "{{ dpdk_target_dir }}/dpdk-{{ item }}/config/common_base" + regexp: "^CONFIG_RTE_EAL_IGB_UIO" + line: "CONFIG_RTE_EAL_IGB_UIO=y" + loop: "{{ dpdk_version }}" + when: "dpdk_extracted" + register: "dpdk_configured" + tags: + - install-dpdk + - name: DPDK - Compile Release I become: yes command: "make install T={{ dpdk_build_targets[item][ansible_machine] }} DESTDIR={{ dpdk_target_dir }}/dpdk-{{ item }} chdir={{ dpdk_target_dir }}/dpdk-{{ item }}" loop: "{{ dpdk_version }}" - when: "dpdk_extracted" + when: "dpdk_configured" register: "dpdk_compiled" tags: - install-dpdk |