From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] examples/multi_process: fix build error Date: Wed, 11 Jul 2018 19:24:28 +0200 Message-ID: <2027379.4iOr1NQnDj@xps> References: <20180702154021.17908-1-emma.kenny@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Shahaf Shuler , "anatoly.burakov@intel.com" , "ferruh.yigit@intel.com" To: Emma Kenny Return-path: Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 0203E1B027 for ; Wed, 11 Jul 2018 19:24:31 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 03/07/2018 14:10, Shahaf Shuler: > Monday, July 2, 2018 6:40 PM, Emma Kenny: > > Subject: [PATCH v1] examples/multi_process: fix build error > >=20 > > Fix bug with undeclared variable name and calling a variable that is not > > member of struct. > >=20 > > CC main.o > > l2fwd_fork/main.c: In function =E2=80=98main=E2=80=99: l2fwd_fork/main= =2Ec:1043:33: > > error: =E2=80=98dev_info=E2=80=99 undeclared (first use in this functi= on) > > rte_eth_dev_info_get(portid, &dev_info); > >=20 > > l2fwd_fork/main.c:1043:33: note: each undeclared identifier is reported= only > > once for each function it appears in > > l2fwd_fork/main.c:1077:11: error: =E2=80=98struct rte_eth_txconf=E2=80= =99 > > has no member named =E2=80=98tx_offloads=E2=80=99 > > txq_conf.tx_offloads =3D local_port_conf.txmode.offloads; > >=20 > > make[1]: *** [main.o] Error 1 > > make: *** [all] Error 2 > >=20 > > Fixes: f8c02ca878af ("examples/multi_process: convert to new ethdev > > offloads API") > > Cc: shahafs@mellanox.com > >=20 > > Signed-off-by: Emma Kenny >=20 > Acked-by: Shahaf Shuler Applied, thanks