Since DPDK v23.11, it is possible to select more easily which optional library is enabled.
OVS needs the vhost library (and its dependencies). The net/tap DPDK driver needs the gso library. Other optional library can be disabled. This reduces the cache entry for DPDK from ~7MB to ~4MB. Signed-off-by: David Marchand <david.march...@redhat.com> --- .ci/dpdk-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/dpdk-build.sh b/.ci/dpdk-build.sh index 8380c48637..698b9e1b14 100755 --- a/.ci/dpdk-build.sh +++ b/.ci/dpdk-build.sh @@ -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" -- 2.41.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev