DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 00/24] Fixes for GCC8 against lagopus
@ 2018-05-11  1:58 Andy Green
  2018-05-11  1:58 ` [dpdk-dev] [PATCH v2 01/24] lib/librte_eal: import libbsd strlcpy Andy Green
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: Andy Green @ 2018-05-11  1:58 UTC (permalink / raw)
  To: dev

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.

Two patches are updated to follow requests for larger
work.

---

Andy Green (24):
      lib/librte_eal: import libbsd strlcpy
      lib/librte_ethdev: change eth-dev-ops API to return int
      rte_common.h: cast gcc builtin result to avoid complaints
      lib/librte_eal: explicit tmp cast
      lib/librte_eal: explicit cast for signed change
      /lib/librte_eal: stage cast from uint64 to long
      rte_spinlock.h: stack declarations before code
      rte_ring_generic.h: stack declarations before code
      rte_ring.h: remove signed type flipflopping
      rte_dev.h: stack declaration at top of own basic block
      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_byteorder.h: explicit cast for return promotion
      rte_ether.h: explicit cast avoiding truncation warning
      rte_ether.h: stack vars declared at top of function
      rte_ethdev.h: align sign and scope of temp var
      rte_ethdev.h: explicit cast for truncation
      rte_hash_crc.h: stack vars declared at top of function
      rte_hash_crc.h: explicit casts for truncation
      test_table_pipeline: repair munged indirection level


 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/arch/x86/rte_spinlock.h         |    4 ++
 .../common/include/generic/rte_byteorder.h         |    2 +
 lib/librte_eal/common/include/rte_common.h         |    2 +
 lib/librte_eal/common/include/rte_dev.h            |   15 +++++---
 lib/librte_eal/common/include/rte_lcore.h          |    2 +
 lib/librte_eal/common/include/rte_random.h         |    6 ++-
 lib/librte_eal/common/include/rte_string_fns.h     |    7 +---
 lib/librte_ethdev/rte_ethdev.h                     |   30 ++++++++++-------
 lib/librte_ethdev/rte_ethdev_core.h                |    4 +-
 lib/librte_hash/rte_hash_crc.h                     |   11 +++---
 lib/librte_mbuf/rte_mbuf.h                         |   36 +++++++++++---------
 lib/librte_net/rte_ether.h                         |    5 ++-
 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                    |    4 +-
 40 files changed, 157 insertions(+), 121 deletions(-)

--
Signature

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

end of thread, other threads:[~2018-05-11  3:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-11  1:58 [dpdk-dev] [PATCH v2 00/24] Fixes for GCC8 against lagopus Andy Green
2018-05-11  1:58 ` [dpdk-dev] [PATCH v2 01/24] lib/librte_eal: import libbsd strlcpy Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 02/24] lib/librte_ethdev: change eth-dev-ops API to return int Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 03/24] rte_common.h: cast gcc builtin result to avoid complaints Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 04/24] lib/librte_eal: explicit tmp cast Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 05/24] lib/librte_eal: explicit cast for signed change Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 06/24] /lib/librte_eal: stage cast from uint64 to long Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 07/24] rte_spinlock.h: stack declarations before code Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 08/24] rte_ring_generic.h: " Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 09/24] rte_ring.h: remove signed type flipflopping Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 10/24] rte_dev.h: stack declaration at top of own basic block Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 11/24] rte_mbuf.h: avoid warnings from inadvertant promotion Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 12/24] rte_mbuf.h: explicit casts for int16 to uint16 Andy Green
2018-05-11  1:59 ` [dpdk-dev] [PATCH v2 13/24] rte_mbuf.h: make sure RTE-MIN compares same types Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 14/24] rte_mbuf.h: explicit cast restricting ptrdiff to uint16 Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 15/24] rte_mbuf.h: explicit cast for size type to uint32 Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 16/24] rte_mbuf.h: explicit casts to uint16 to avoid warnings Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 17/24] rte_byteorder.h: explicit cast for return promotion Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 18/24] rte_ether.h: explicit cast avoiding truncation warning Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 19/24] rte_ether.h: stack vars declared at top of function Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 20/24] rte_ethdev.h: align sign and scope of temp var Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 21/24] rte_ethdev.h: explicit cast for truncation Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 22/24] rte_hash_crc.h: stack vars declared at top of function Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 23/24] rte_hash_crc.h: explicit casts for truncation Andy Green
2018-05-11  2:00 ` [dpdk-dev] [PATCH v2 24/24] test_table_pipeline: repair munged indirection level Andy Green
2018-05-11  3:04 ` [dpdk-dev] [PATCH v2 00/24] Fixes for GCC8 against lagopus Stephen Hemminger

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).