From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v1] examples/multi_process: fix build error Date: Mon, 2 Jul 2018 16:55:19 +0100 Message-ID: <41d240ef-1afb-955c-9d4c-08cc9dae5f1f@intel.com> References: <20180702154021.17908-1-emma.kenny@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: anatoly.burakov@intel.com, shahafs@mellanox.com, dpdk-stable To: Emma Kenny , dev@dpdk.org Return-path: In-Reply-To: <20180702154021.17908-1-emma.kenny@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/2/2018 4:40 PM, Emma Kenny wrote: > Fix bug with undeclared variable name and > calling a variable that is not member of struct. > > CC main.o > l2fwd_fork/main.c: In function ‘main’: l2fwd_fork/main.c:1043:33: > error: ‘dev_info’ undeclared (first use in this function) > rte_eth_dev_info_get(portid, &dev_info); > > 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: ‘struct rte_eth_txconf’ > has no member named ‘tx_offloads’ > txq_conf.tx_offloads = local_port_conf.txmode.offloads; > > make[1]: *** [main.o] Error 1 > make: *** [all] Error 2 > > Fixes: f8c02ca878af ("examples/multi_process: convert to new ethdev offloads API") > Cc: shahafs@mellanox.com > > Signed-off-by: Emma Kenny Cc: stable@dpdk.org Acked-by: Ferruh Yigit