[dpdk-dev] [PATCH v3] lib/table: fix wrong type of nht field

2016-06-21 Thread Thomas Monjalon
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: dc81ebbaca

[dpdk-dev] [PATCH v3] lib/table: fix wrong type of nht field

2016-06-21 Thread 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