From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2F61BA56E; Fri, 12 Jan 2018 17:28:19 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 620F020978; Fri, 12 Jan 2018 11:28:18 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 12 Jan 2018 11:28:18 -0500 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=Jj6TFq91cyKpG0vN4s//Qk/oiV Rzo8vU/T7WJmOiWWU=; b=actyzDau7d9wZ4mirgb+LyclU6OtSyRSgosgORRFyM 6L4y/nW4REi9leBM959bl36rYEO2+uNlTeHIDcatFDRy5FjvRbGoHnslAxo1ih6h h7g/FH69Pow0MZVmbPgjwvzy/e3+5HwKiDfU2E4Ny0k5Gn7PqsN7YIoyUzTSid0k M= 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=fm1; bh=Jj6TFq 91cyKpG0vN4s//Qk/oiVRzo8vU/T7WJmOiWWU=; b=IA1tC5lZ98oAGeja3VXzRf Yp3apwm2JWBMTSX/o/7pnqcJ/6uQavSQ8SAl+mwx8CziFiHltXfRpFjyORl2cqKV mJOgVVXN8hlIiG2UlHErTMxsh7YYGI126pWL4AMM2dFoJFG57+gM7nFSTwaNLvLk e1Q4l0AUXaKGtCa+wiH1f/dHmYXORPGZC4jjO4/ujhyoMrT/2ZL9JJIOhfYupFxE /GNmyPx8fkoqCSD5Nqa04Ifpo5EWLWuIcdki7L9jz9rC0I8eLRLhgJ6uDC53Mzkt THSiNOtVsr6DEQ3qYKoeiQoCyBKeWo1e0ZFGCSI5g2RW8HRLcpqJj6D8TrLjW/pA == 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 0FE6C246CA; Fri, 12 Jan 2018 11:28:18 -0500 (EST) From: Thomas Monjalon To: Hemant Agrawal Cc: stable@dpdk.org, dev@dpdk.org, bruce.richardson@intel.com, nhorman@tuxdriver.com, Jun Yang Date: Fri, 12 Jan 2018 17:27:48 +0100 Message-ID: <8474986.jiRWk0KP0p@xps> In-Reply-To: <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> References: <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v3 1/5] pmdinfogen: fix cross compilation for ARM BE X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 16:28:19 -0000 18/12/2017 08:56, Hemant Agrawal: > Cross compiling DPDK for BE mode on ARM results into errors > "PMDINFO portal/dpaa2_hw_dpio.o.pmd.c No drivers registered" > > The original code assumes the sh_size to be 32 bit, while it can > be Elf32_Word or Elf64_Xword based on 32bit or 64 bit systems. > > This patches replaces the sh_size conversion routines to use ADDR_SIZE > > Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") > Cc: Neil Horman > Cc: stable@dpdk.org > > Signed-off-by: Jun Yang > Signed-off-by: Hemant Agrawal > Acked-by: Bruce Richardson > Acked-by: Neil Horman Series applied, thanks