numam-dpdk/lib/librte_lpm
Wei Dai 9d042b3ee0 lpm: fix index of tbl8
From v20 to v1604, number of tbl8 can be up to 1<<24,
(uint8_t) or (uint16_t) may truncate the number of
index of tlb8 in v1604 and cause wrong number.

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

Signed-off-by: Wei Dai <wei.dai@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-06-19 23:30:01 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_lpm6.c lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
rte_lpm6.h lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
rte_lpm_altivec.h lpm: add AltiVec for ppc64 2016-09-09 17:56:08 +02:00
rte_lpm_neon.h lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
rte_lpm_sse.h lpm: fix build with gcc -O0 option 2017-06-05 15:10:31 +02:00
rte_lpm_version.map lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
rte_lpm.c lpm: fix index of tbl8 2017-06-19 23:30:01 +02:00
rte_lpm.h lib: work around unnamed structs/unions 2016-09-13 15:35:28 +02:00