From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.warmcat.com (mail.warmcat.com [163.172.24.82]) by dpdk.org (Postfix) with ESMTP id 31F0B1C623 for ; Mon, 14 May 2018 07:09:32 +0200 (CEST) From: Andy Green To: dev@dpdk.org Date: Mon, 14 May 2018 13:09:27 +0800 Message-ID: <152627436523.53156.4398253089110011263.stgit@localhost.localdomain> In-Reply-To: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> User-Agent: StGit/unknown-version Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] [PATCH v4 00/23] Fixes for GCC8 against lagopus 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: Mon, 14 May 2018 05:09:32 -0000 The following series fixes build problems in dpdk master headers, found when using it as the dpdk subproject in lagopus. These errors are coming when you try to use the dpdk headers, not when you build dpdk itself. v4 has absorbed more list comment and added 6 x patches at the end, from getting further into lagopus build with master DPDK. There are still many warnings and errors in lagopus I am working through, but so far it looks like the solutions for those now belong in lagopus, not DPDK after this series. (Applies to v3, without the last 6 patches) Reviewed-by: Stephen Hemminger --- Andy Green (23): lib/librte_eal: import libbsd strlcpy rte_eal_version_map: export rte-strlcpy lib/librte_ethdev: change eth-dev-ops API to return int lib/librte_eal: explicit tmp cast /lib/librte_eal: stage cast from uint64 to long rte_ring_generic.h: stack declarations before code rte_ring.h: remove signed type flipflopping rte_mbuf.h: avoid warnings from inadvertant promotion rte_mbuf.h: explicit casts for int16 to uint16 rte_mbuf.h: make sure RTE-MIN compares same types rte_mbuf.h: explicit cast restricting ptrdiff to uint16 rte_mbuf.h: explicit cast for size type to uint32 rte_mbuf.h: explicit casts to uint16 to avoid warnings rte_ether.h: explicit cast avoiding truncation warning rte_ethdev.h: align sign and scope of temp var rte_byteorder.h: explicit cast for return promotion test_table_pipeline: repair munged indirection level rte_rwlock.h: gcc8 sign conversion warnings rte_ip.h: cast input to bswap16 to be uint16 rte_ip.h: cast around promotion to int rte_ip.h: cast type decided by sizeof to uint32 rte_ip.h: cast return checksum size to uint16 rte_ip.h: cast away gcc8 warning on rte_ipv6_phdr_cksum drivers/net/ark/ark_ethdev_rx.c | 4 +- drivers/net/ark/ark_ethdev_rx.h | 3 +- drivers/net/avf/avf_rxtx.c | 4 +- drivers/net/avf/avf_rxtx.h | 2 + drivers/net/bnxt/bnxt_ethdev.c | 5 ++- drivers/net/dpaa/dpaa_ethdev.c | 4 +- drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++- drivers/net/e1000/e1000_ethdev.h | 6 +-- drivers/net/e1000/em_rxtx.c | 4 +- drivers/net/e1000/igb_rxtx.c | 4 +- drivers/net/enic/enic_ethdev.c | 9 ++--- drivers/net/i40e/i40e_rxtx.c | 4 +- drivers/net/i40e/i40e_rxtx.h | 3 +- drivers/net/ixgbe/ixgbe_ethdev.h | 3 +- drivers/net/ixgbe/ixgbe_rxtx.c | 4 +- drivers/net/nfp/nfp_net.c | 9 ++--- drivers/net/sfc/sfc_ethdev.c | 4 +- drivers/net/thunderx/nicvf_ethdev.c | 2 + drivers/net/thunderx/nicvf_rxtx.c | 4 +- drivers/net/thunderx/nicvf_rxtx.h | 2 + drivers/net/vhost/rte_eth_vhost.c | 4 +- examples/l3fwd-power/main.c | 2 + lib/librte_eal/common/eal_common_string_fns.c | 34 +++++++++++++++++++ .../common/include/arch/x86/rte_memcpy.h | 8 ++-- .../common/include/generic/rte_byteorder.h | 6 ++- lib/librte_eal/common/include/generic/rte_rwlock.h | 4 +- lib/librte_eal/common/include/rte_random.h | 6 ++- lib/librte_eal/common/include/rte_string_fns.h | 7 +--- lib/librte_eal/rte_eal_version.map | 1 + lib/librte_ethdev/rte_ethdev.h | 25 ++++++++------ lib/librte_ethdev/rte_ethdev_core.h | 4 +- lib/librte_mbuf/rte_mbuf.h | 36 +++++++++++--------- lib/librte_net/rte_ether.h | 2 + lib/librte_net/rte_ip.h | 14 ++++---- lib/librte_ring/rte_ring.h | 4 +- lib/librte_ring/rte_ring_c11_mem.h | 2 + lib/librte_ring/rte_ring_generic.h | 10 ++---- test/test/test_table_pipeline.c | 12 +++---- 38 files changed, 149 insertions(+), 118 deletions(-) -- Signature