patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/5] pmdinfogen: fix cross compilation for ARM BE
@ 2017-11-02 10:08 Hemant Agrawal
  2017-11-02 10:08 ` [dpdk-stable] [PATCH 2/5] lpm: fix compilation on " Hemant Agrawal
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Hemant Agrawal @ 2017-11-02 10:08 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, Neil Horman, stable, Jun Yang

cross compiling DPDK for BE mode on ARM results into errors

"PMDINFO portal/dpaa2_hw_dpio.o.pmd.c No drivers registered"

Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility")
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: stable@dpdk.org

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 buildtools/pmdinfogen/pmdinfogen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c
index e73fc76..9119e52 100644
--- a/buildtools/pmdinfogen/pmdinfogen.c
+++ b/buildtools/pmdinfogen/pmdinfogen.c
@@ -181,7 +181,7 @@ static int parse_elf(struct elf_info *info, const char *filename)
 		sechdrs[i].sh_offset    =
 			TO_NATIVE(endian, ADDR_SIZE, sechdrs[i].sh_offset);
 		sechdrs[i].sh_size      =
-			TO_NATIVE(endian, 32, sechdrs[i].sh_size);
+			TO_NATIVE(endian, ADDR_SIZE, sechdrs[i].sh_size);
 		sechdrs[i].sh_link      =
 			TO_NATIVE(endian, 32, sechdrs[i].sh_link);
 		sechdrs[i].sh_info      =
-- 
2.7.4

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2018-01-12 16:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 10:08 [dpdk-stable] [PATCH 1/5] pmdinfogen: fix cross compilation for ARM BE Hemant Agrawal
2017-11-02 10:08 ` [dpdk-stable] [PATCH 2/5] lpm: fix compilation on " Hemant Agrawal
2017-12-11 12:41   ` [dpdk-stable] [dpdk-dev] " Bruce Richardson
2017-12-13 12:23     ` [dpdk-stable] " Hemant Agrawal
2017-11-02 10:08 ` [dpdk-stable] [PATCH 4/5] net/i40e: " Hemant Agrawal
2017-11-03  3:03   ` [dpdk-stable] [dpdk-dev] " Xing, Beilei
2017-11-02 10:08 ` [dpdk-stable] [PATCH 5/5] net/ixgbe: " Hemant Agrawal
2017-12-11 12:42   ` [dpdk-stable] [dpdk-dev] " Bruce Richardson
2017-12-11 12:40 ` [dpdk-stable] [dpdk-dev] [PATCH 1/5] pmdinfogen: fix cross compilation for " Bruce Richardson
2017-12-11 18:58   ` Neil Horman
2017-12-13 11:52     ` [dpdk-stable] " Hemant Agrawal
2017-12-13 12:19       ` Neil Horman
2017-12-13 12:52 ` [dpdk-stable] [PATCH v2 " Hemant Agrawal
2017-12-13 12:52   ` [dpdk-stable] [PATCH v2 2/5] lpm: fix compilation on " Hemant Agrawal
2017-12-13 13:22     ` [dpdk-stable] [dpdk-dev] " Bruce Richardson
2017-12-18  7:50       ` [dpdk-stable] " Hemant Agrawal
2017-12-13 12:52   ` [dpdk-stable] [PATCH v2 3/5] bus/dpaa: " Hemant Agrawal
2017-12-13 12:52   ` [dpdk-stable] [PATCH v2 4/5] net/i40e: " Hemant Agrawal
2017-12-13 12:52   ` [dpdk-stable] [PATCH v2 5/5] net/ixgbe: " Hemant Agrawal
2017-12-18  7:56   ` [dpdk-stable] [PATCH v3 1/5] pmdinfogen: fix cross compilation for " Hemant Agrawal
2017-12-18  7:56     ` [dpdk-stable] [PATCH v3 2/5] lpm: fix compilation on " Hemant Agrawal
2017-12-18  7:56     ` [dpdk-stable] [PATCH v3 3/5] bus/dpaa: " Hemant Agrawal
2017-12-18  7:56     ` [dpdk-stable] [PATCH v3 4/5] net/i40e: " Hemant Agrawal
2017-12-18  7:56     ` [dpdk-stable] [PATCH v3 5/5] net/ixgbe: " Hemant Agrawal
2018-01-12 16:27     ` [dpdk-stable] [PATCH v3 1/5] pmdinfogen: fix cross compilation for " Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).