Skip to content

Commit

Permalink
ci: Reduce optional libraries in DPDK.
Browse files Browse the repository at this point in the history
Since DPDK v23.11, it is possible to select more easily which optional
library is enabled.

OVS needs the vhost library.
net/tap needs the gso library.
Other optional library can be disabled (though some dependencies must be
kept enabled).

Signed-off-by: David Marchand <[email protected]>
  • Loading branch information
david-marchand committed Nov 21, 2023
1 parent 91fbbc8 commit cd52ae3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/dpdk-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function build_dpdk()
DPDK_OPTS="$DPDK_OPTS -Denable_apps=test-pmd"
enable_drivers="net/null,net/af_xdp,net/tap,net/virtio"
DPDK_OPTS="$DPDK_OPTS -Denable_drivers=$enable_drivers"
# OVS depends on the vhost library (and its # dependencies).
# net/tap depends on the gso library.
DPDK_OPTS="$DPDK_OPTS -Denable_libs=cryptodev,dmadev,gso,vhost"

# Install DPDK using prefix.
DPDK_OPTS="$DPDK_OPTS --prefix=$DPDK_INSTALL_DIR"
Expand Down

0 comments on commit cd52ae3

Please sign in to comment.