autobuild.sh: enable i40 net driver for external DPDK build
RTE_NET_I40E has to be enabled, otherwise test-pmd app compilation fails due to -Werror=unused-function. This is caused by dpdk/app/test-pmd/cmdline.c: (cmdline_parse_inst_t *)&cmd_add_del_raw_flow_director, Change-Id: I1add570732dedde082aec158dd3d09ab0051f7d3 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5067 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
efb6081cf6
commit
6b6ae3a214
@ -68,7 +68,9 @@ function build_native_dpdk() {
|
||||
dpdk_ldflags=""
|
||||
|
||||
# the drivers we use
|
||||
DPDK_DRIVERS=("bus" "bus/pci" "bus/vdev" "mempool/ring")
|
||||
# net/i40e driver is not really needed by us, but it's built as a workaround
|
||||
# for DPDK issue: https://bugs.dpdk.org/show_bug.cgi?id=576
|
||||
DPDK_DRIVERS=("bus" "bus/pci" "bus/vdev" "mempool/ring" "net/i40e" "net/i40e/base")
|
||||
# all possible DPDK drivers
|
||||
DPDK_ALL_DRIVERS=($(find "$external_dpdk_base_dir/drivers" -mindepth 1 -type d | sed -n "s#^$external_dpdk_base_dir/drivers/##p"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user