From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id CECEC343; Wed, 11 Jul 2018 13:24:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 11 Jul 2018 13:24:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=QNF+i3DB1QQ3u2IKwOebRkpcHL /6eCYA3vmEOiZf4mQ=; b=Mk18y/h88e018Nf8nTNj7X7eCNUvVmS5N4Dl8QnsRL d3Zrdg0hbPz5QnGl/CVbLXuG64/U0AUdjzH8PhYrZuEnzrBXWvXFmrALMJd8RbsP 63323MtysA/WHi85kuztCx4W9yZ3QeCe6YV99AnnR0FPHBU/DveW6K49WborofMu k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=QNF+i3 DB1QQ3u2IKwOebRkpcHL/6eCYA3vmEOiZf4mQ=; b=Wsrt8QlXZ9kxfUEwHgYnfS NXNcQhDV0txpvPpySHEgyaNi9qXF7MiomyKgKzeUB4qsFx1WYzICs9uQXVU0tMwJ OJxcpOKIwr2aTab8B+caxjovnMl2LMVWx5KpWJcHiicVXXlvu5i3YVX800uERPKT 8J1r69gF16fAVmhOodnPQ6loXjXksNIKo29xzZrV7k/nZTGPE4nusiXrMIDlHbC+ es+EC+j+MTonwCDQ009LoOnNozZ+9/G7qLVjt03rQoncGCOnt75ScD3hvy4mLS1K IqWQ8E1BcYO80HqTn+0XGNj40HwhOUSSi3FMlDAZTrvSzYv+uYqyHr9HGtyb6P/g == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7831010279; Wed, 11 Jul 2018 13:24:29 -0400 (EDT) From: Thomas Monjalon To: Emma Kenny Cc: dev@dpdk.org, Shahaf Shuler , "anatoly.burakov@intel.com" , "ferruh.yigit@intel.com" Date: Wed, 11 Jul 2018 19:24:28 +0200 Message-ID: <2027379.4iOr1NQnDj@xps> In-Reply-To: References: <20180702154021.17908-1-emma.kenny@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v1] examples/multi_process: fix build error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 17:24:32 -0000 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