Skip to content

Commit

Permalink
linux-gen: dpdk: add support for dpdk v23.11
Browse files Browse the repository at this point in the history
List DPDK v23.11 as supported and include it in the CI.

Signed-off-by: Matias Elo <[email protected]>
  • Loading branch information
MatiasElo committed Sep 30, 2024
1 parent e3fb7e8 commit e8b195c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-pipeline-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,14 @@ jobs:
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3-dpdk_21.11 /odp/scripts/ci/check.sh
- if: ${{ failure() }}
uses: ./.github/actions/run-failure-log

Run_dpdk-23_11:
if: ${{ github.repository == 'OpenDataPlane/odp' }}
runs-on: ah-ubuntu_22_04-c7g_2x-50
steps:
- uses: OpenDataPlane/action-clean-up@main
- uses: actions/checkout@v4
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3-dpdk_23.11 /odp/scripts/ci/check.sh
- if: ${{ failure() }}
uses: ./.github/actions/run-failure-log
9 changes: 9 additions & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ jobs:
- if: ${{ failure() }}
uses: ./.github/actions/run-failure-log

Run_dpdk-23_11:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-dpdk_23.11 /odp/scripts/ci/check.sh
- if: ${{ failure() }}
uses: ./.github/actions/run-failure-log

Run_sanitizer:
runs-on: ubuntu-20.04
env:
Expand Down
4 changes: 2 additions & 2 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ Prerequisites for building the OpenDataPlane (ODP) API

3.5 DPDK packet I/O support (optional)

Use DPDK for ODP packet I/O. Currently supported DPDK versions are v21.11
and v22.11 (recommended).
Use DPDK for ODP packet I/O. Currently supported DPDK versions are v21.11,
v22.11 (recommended), and v23.11.

Note: only packet I/O is accelerated with DPDK. See
https://github.com/OpenDataPlane/odp-dpdk.git
Expand Down
1 change: 1 addition & 0 deletions platform/linux-generic/pktio/dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

#include <ctype.h>
#include <errno.h>
#include <pthread.h>
#include <sched.h>
#include <stdint.h>
#include <unistd.h>
Expand Down

0 comments on commit e8b195c

Please sign in to comment.