dpdk: fix compile 97/29097/4
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 25 Sep 2020 21:36:04 +0000 (22:36 +0100)
committerDamjan Marion <dmarion@me.com>
Tue, 29 Sep 2020 09:00:40 +0000 (09:00 +0000)
commit1152e60ebe9a4e9c7fa1c3df780fa999226fb31f
tree2bd66e0d38647e5a1f918251e98bda6940794078
parent8b388e35b2aeca39c277453337751d14aeba0d40
dpdk: fix compile

Type: fix

Since DPDK is now compiled by meson but some compiles in VPP is
missing. This patch fixes that.

- Fixes QAT PMD not compiled. QAT meson compile, even for sym
crypto PMD, is happened in drive/compress/qat. Originally all
PMDs in compressdev is disabled by default. This patch fixes
that.

- Fixes DPDK plugin version detection. DPDK meson build
generates rte_build_config.h, which containing all version
information in build-dpdk instead of rte_config.h in make.
This patch uses the file to detect version data.

- Removed SW crypto PMD auto-creation in cryptodev engine. In
case the AESNI-MB PMD required shared library is missing.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Change-Id: I7cd91abb5de303ff5e4c55cd05e011b57f883524
build/external/packages/dpdk.mk
src/plugins/dpdk/CMakeLists.txt
src/plugins/dpdk/cryptodev/cryptodev.c