diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-01-10 12:45:32 +0200 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-01-10 12:45:32 +0200 |
commit | 91954e97ae0bc351e77612f6a9c0248290b00447 (patch) | |
tree | 273214588256676269377786a875c0027bb2c218 | |
parent | 20067669bb280d2a86cbe54d9bc12705435b6393 (diff) |
added dpdk compilation for mellanox
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r-- | execs/dpdk.yaml | 27 | ||||
-rw-r--r-- | lng-generator-01/mellanox-ubuntu-17.10.yaml | 5 |
2 files changed, 32 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 diff --git a/lng-generator-01/mellanox-ubuntu-17.10.yaml b/lng-generator-01/mellanox-ubuntu-17.10.yaml index 3a1c4d2..72dd0e7 100644 --- a/lng-generator-01/mellanox-ubuntu-17.10.yaml +++ b/lng-generator-01/mellanox-ubuntu-17.10.yaml @@ -68,6 +68,11 @@ actions: path: execs/ubuntu-build-essential.yaml name: ubuntu-build-essential + - repository: https://git.linaro.org/people/ilias.apalodimas/lava-sessions.git/ + from: git + path: execs/dpdk.yaml + name: dpdk + - repository: https://git.linaro.org/lava-team/hacking-session.git from: git path: hacking-session-debian.yaml |