dpdk-igb-uio-dkms (= ${binary:Version}),
dpdk-rte-kni-dkms (= ${binary:Version}),
linux-image-generic,
+Breaks: dpdk-dev (<< 18.11)
+Replaces: dpdk-dev (<< 18.11)
Description: Data Plane Development Kit (runtime)
DPDK is a set of libraries for fast packet processing. Applications run
in user-space and communicate directly with dedicated network interfaces.
debian/dpdk-init lib/dpdk/
debian/dpdk.conf etc/dpdk/
usr/bin
+obj-*/test/test/dpdk-test usr/bin/
+test/test/autotest.py usr/share/dpdk/test/
+test/test/autotest_data.py usr/share/dpdk/test/
+test/test/autotest_runner.py usr/share/dpdk/test/
+test/test/autotest_test_funcs.py usr/share/dpdk/test/
Tests: test-initscripts
Restrictions: allow-stderr, isolation-machine, needs-root
-Depends: dpdk [amd64 arm64 i386 ppc64el], gawk, mount, systemd, sysvinit-utils
+Depends: dpdk [amd64 arm64 i386 ppc64el], gawk, mount, systemd, sysvinit-utils, iproute2
Tests: test-linkage
Restrictions: allow-stderr
Depends: libdpdk-dev [amd64 arm64 i386 ppc64el], libc6, libc6-dev, gcc,
- grep, libpcap-dev, libxenstore3.0 [amd64 arm64 i386], pax-utils, pkg-config,
- dpdk-dev [amd64 arm64 i386 ppc64el]
+ grep, libpcap-dev, libxenstore3.0 [amd64 arm64 i386], pax-utils, pkg-config
Tests: test-dkms
Restrictions: allow-stderr, isolation-machine, needs-root
Tests: test-autotest
Restrictions: allow-stderr, isolation-machine, needs-root
-Depends: dpdk-dev [amd64 arm64 i386 ppc64el], python, python-pexpect
+Depends: dpdk [amd64 arm64 i386 ppc64el], python, python-pexpect
exit 0
fi
-# fetch build config
-. /usr/share/dpdk/dpdk-sdk-env.sh
-
# Reasons for not being an dh_autotest
# - needs root and hugepages
# - build environment capabilities too unpredictable
# - pci doesn't initialize in all virt env causing command not found issues
# - rather slow performance tests not suited for regular build associated tests: ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf
-python "${RTE_SDK}/test/autotest.py" \
- "${RTE_SDK}/test/test" \
- "${RTE_TARGET}" \
+python "/usr/share/dpdk/test/autotest.py" \
+ "/usr/bin/dpdk-test" \
"-KNI,power_acpi_cpufreq,power_kvm_vm,IVSHMEM,eal_flags,pci,ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf" \
# Pass/Fail
#!/bin/bash
set -eux
-binary="build/testlinkage"
+binary="testlinkage"
basedir=$(dirname "$0")
. "${basedir}"/check-dpdk-supported-arch.sh
}
EOF
-cat > Makefile-testlinkage << 'EOF'
-# Based on examples/helloworld/Makefile
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, can be overridden by command line or environment
-RTE_TARGET ?= x86_64-native-linuxapp-gcc
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# binary name
-APP = testlinkage
-
-# all source are stored in SRCS-y
-SRCS-y := testlinkage.c
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-EOF
-
-
-printf "\n\nSet up DPDK'ish build environment\n"
-. /usr/share/dpdk/dpdk-sdk-env.sh
-export CFLAGS=$(pkg-config --libs --cflags libdpdk)
-
# -ldpdk actually refers to a linker script now, not a real .so
# with broken linkage this will fail with undefined symbols
printf "\n\nChecking compile with link against DPDK\n"
-make V=1 -f Makefile-testlinkage
+gcc testlinkage.c $(pkg-config --libs --cflags libdpdk) -o testlinkage
echo "OK"
printf "\n\nLinkage info\n"