summaryrefslogtreecommitdiff
path: root/execs/dpdk.yaml
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2018-01-10 12:45:32 +0200
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2018-01-10 12:45:32 +0200
commit91954e97ae0bc351e77612f6a9c0248290b00447 (patch)
tree273214588256676269377786a875c0027bb2c218 /execs/dpdk.yaml
parent20067669bb280d2a86cbe54d9bc12705435b6393 (diff)
downloadlava-sessions-91954e97ae0bc351e77612f6a9c0248290b00447.tar.gz
added dpdk compilation for mellanox
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'execs/dpdk.yaml')
-rw-r--r--execs/dpdk.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/execs/dpdk.yaml b/execs/dpdk.yaml
new file mode 100644
index 0000000..526e583
--- /dev/null
+++ b/execs/dpdk.yaml
@@ -0,0 +1,27 @@
+metadata:
+ name: ODP mdev
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Setup DPDK"
+ version: 1.0
+
+params:
+ DPDK_JOBS: 32
+
+install:
+ deps:
+ - libnuma1
+ - libnuma-dev
+ - libpcap-dev
+
+run:
+ steps:
+ - echo "Build DPDK"
+ - git clone http://dpdk.org/git/dpdk && cd dpdk
+ - make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc
+ - make -j $DPDK_JOBS install T=x86_64-native-linuxapp-gcc DESTDIR=./install
+ - cd ..
+ - wget http://dpdk.org/browse/apps/pktgen-dpdk/snapshot/pktgen-3.4.7.tar.xz
+ - tar xf pktgen-3.4.7.tar.xz
+ - export RTE_SDK=/root/dpdk
+ - cd pktgen-3.4.7
+ - make -j $DPDK_JOBS