aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml13
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