numam-dpdk/lib/librte_lpm
Hemant Agrawal b2e1c99ec8 lpm: fix ARM big endian build
Compiling on ARM BE using Linaro toolchain caused following
error/warnings.

rte_lpm.c: In function ‘add_depth_big_v20’:
rte_lpm.c:911:4: error: braces around scalar initializer [-Werror]
    { .group_idx = (uint8_t)tbl8_group_index, },
    ^
rte_lpm.c:911:4: note: (near initialization for
	‘new_tbl24_entry.depth’)
rte_lpm.c:911:6:error: field name not in record or union initializer
    { .group_idx = (uint8_t)tbl8_group_index, },
      ^
rte_lpm.c:911:6: note: (near initialization for
	‘new_tbl24_entry.depth’)
rte_lpm.c:914:13: error: initialized field overwritten
	[-Werror=override-init]
    .depth = 0,

Fixes: dc81ebbaca ("lpm: extend IPv4 next hop field")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-01-12 17:27:03 +01:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm6.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm6.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm_altivec.h lpm: add AltiVec for ppc64 2016-09-09 17:56:08 +02:00
rte_lpm_neon.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_lpm_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm_version.map lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
rte_lpm.c lpm: fix ARM big endian build 2018-01-12 17:27:03 +01:00
rte_lpm.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00