From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla@dpdk.org
Subject: [Bug 218] DPDK 18.02 (stable) won't compile when
MLX4/MLX5 support is enabled
Date: Sun, 03 Mar 2019 00:08:12 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
To: dev@dpdk.org
Return-path:
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
https://bugs.dpdk.org/show_bug.cgi?id=3D218
Bug ID: 218
Summary: DPDK 18.02 (stable) won't compile when MLX4/MLX5
support is enabled
Product: DPDK
Version: 19.02
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: debugnetiq1@yahoo.ca
Target Milestone: ---
Here is what I did:
- installed Mellanox OFED 4.5.1 from "sources"
wget
http://www.mellanox.com/downloads/ofed/MLNX_OFED-4.5-1.0.1.0/MLNX_OFED_LINU=
X-4.5-1.0.1.0-rhel7.6-x86_64.tgz
&& tar -zxf MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz
cd MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz
./mlnxofedinstall --dpdk --upstream-libs --add-kernel-support
--enable-mlnx_tune
This builds and installs all userland OFED components, then installing the =
kmod
drivers
cd
/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-3.10.0-957.5.1.el7.x86_64/MLNX_OFED_LINUX-=
4.5-1.0.1.0-rhel7.6-ext/RPMS
&& yum install
mlnx-ofa_kernel-modules-4.5-OFED.4.5.1.0.1.1.gb4fdfac.kver.3.10.0_957.5.1.e=
l7.x86_64.x86_64.rpm
Now building dpdk-18.02
- download, untar then enable in ./config/common_base
CONFIG_RTE_LIBRTE_MLX4_PMD=3Dy and CONFIG_RTE_LIBRTE_MLX5_PMD=3D"y"
export DPDK_DIR=3D/opt/dpdk_install/dpdk-18.02
cd $DPDK_DIR
export DPDK_BUILD=3D$DPDK_DIR/install
export RTE_SDK=3D$DPDK_DIR
export DPDK_TARGET=3Dx86_64-native-linuxapp-gcc
export RTE_TARGET=3Dx86_64-native-linuxapp-gcc
make config T=3D$DPDK_TARGET
make install T=3D$DPDK_TARGET DESTDIR=3Dinstall
dpdk-18.02 build fails early
=3D=3D Build lib/librte_eal/linuxapp/kni
LD=20=20=20=20=20
/opt/dpdk_install/dpdk-18.02/x86_64-native-linuxapp-gcc/build/lib/librte_ea=
l/linuxapp/kni/built-in.o
CC [M]=20
/opt/dpdk_install/dpdk-18.02/x86_64-native-linuxapp-gcc/build/lib/librte_ea=
l/linuxapp/kni/kni_misc.o
CC [M]=20
/opt/dpdk_install/dpdk-18.02/x86_64-native-linuxapp-gcc/build/lib/librte_ea=
l/linuxapp/kni/kni_net.o
/opt/dpdk_install/dpdk-18.02/x86_64-native-linuxapp-gcc/build/lib/librte_ea=
l/linuxapp/kni/kni_net.c:714:2:
error: unknown field =C3=A2ndo_change_mtu=C3=A2 specified in initializer
.ndo_change_mtu =3D kni_net_change_mtu,
^
/opt/dpdk_install/dpdk-18.02/x86_64-native-linuxapp-gcc/build/lib/librte_ea=
l/linuxapp/kni/kni_net.c:714:2:
error: missing braces around
--=20
You are receiving this mail because:
You are the assignee for the bug.=