aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_dpdk_shared/tasks/main.yml
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-04-04 11:53:20 +0100
committerJohn O'Loughlin <john.oloughlin@intel.com>2018-04-11 10:34:04 +0000
commita78a2979e872c64800f77683f1bf3b0162b87715 (patch)
treeb1d97d62b09278ff060aa6c41255d7bd85781b95 /ansible/roles/install_dpdk_shared/tasks/main.yml
parentee9995c42368ee04ba06cd101b086c57dbbb3bba (diff)
Add support for dpdk 17.05
Add support for dpdk 17.05. Add option to dpdk scripts to download dpdk 17.08 17.11 and 18.02. These are currently unsupported due to prox build issues. JIRA: YARDSTICK-1113 Change-Id: I585566364a4d1f04a696439af96c50c0e9d38033 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'ansible/roles/install_dpdk_shared/tasks/main.yml')
-rw-r--r--ansible/roles/install_dpdk_shared/tasks/main.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/ansible/roles/install_dpdk_shared/tasks/main.yml b/ansible/roles/install_dpdk_shared/tasks/main.yml
index 65954be04..94b9215bd 100644
--- a/ansible/roles/install_dpdk_shared/tasks/main.yml
+++ b/ansible/roles/install_dpdk_shared/tasks/main.yml
@@ -42,6 +42,15 @@
set_fact:
RTE_KERNELDIR: "/lib/modules/{{ dpdk_kernel }}/build"
+# make clean must be run here as DPDK-shared is a copy of the DPDK directory
+# which has already run the make command
+# no T= target for clean
+- command: make -j {{ ansible_processor_vcpus }} clean O={{ dpdk_make_arch }}
+ args:
+ chdir: "{{ dpdk_shared_path }}"
+ environment:
+ RTE_KERNELDIR: "{{ RTE_KERNELDIR }}"
+
- command: make -j {{ ansible_processor_vcpus }} config T={{ dpdk_make_arch }} O={{ dpdk_make_arch }}
args:
chdir: "{{ dpdk_shared_path }}"
@@ -85,13 +94,6 @@
regexp: '^CONFIG_RTE_EAL_PMD_PATH=""'
line: 'CONFIG_RTE_EAL_PMD_PATH="{{ dpdk_pmd_path }}"'
- # no T= target for clean
-- command: make -j {{ ansible_processor_vcpus }} clean O={{ dpdk_make_arch }}
- args:
- chdir: "{{ dpdk_shared_path }}"
- environment:
- RTE_KERNELDIR: "{{ RTE_KERNELDIR }}"
-
# TODO: disable ASLR
- command: make -j {{ ansible_processor_vcpus }}