[dpdk-dev] [PATCH v3] lib/table: fix wrong type of nht field
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jun 21 22:43:21 CEST 2016
2016-06-21 15:20, Michal Kobylinski:
> Change type of nht field from uint32_t to uint8_t and increase max of
> next hops.
>
> nht_entry and nht should be declared as uint8_t because
> entry_size is in bytes and is given as a parameter to compute
> the position in nht array.
>
> Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
>
> Signed-off-by: Michal Kobylinski <michalx.kobylinski at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
Applied, thanks
More information about the dev
mailing list