19/06/2017 13:25, Bruce Richardson:
> On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote:
> > From v20 to v1604, number of tlb8 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: dc81ebbacaeb ("lpm: exte
On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote:
> From v20 to v1604, number of tlb8 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: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
> Cc: sta...@dpdk.org
>
>From v20 to v1604, number of tlb8 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: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 4 ++--
1 fi
3 matches
Mail list logo