[dpdk-dev] [PATCH] lib/librte_table: Fix table array lookup

2014-12-16 Thread Dumitrescu, Cristian
[PATCH] lib/librte_table: Fix table array lookup The existing lookup function was returning an unmodified pkts_mask bitmask into lookup_hit_mask. This effectively assumes that all packets would index correctly into one of the array table entries. Also, there was no check that the metadata provided ind

[dpdk-dev] [PATCH] lib/librte_table: Fix table array lookup

2014-12-16 Thread Thomas Monjalon
Cristian, this patch is about packet framework. Could you review it please? 2014-12-12 17:06, Mark Wunderlich: > The existing lookup function was returning an unmodified > pkts_mask bitmask into lookup_hit_mask. This effectively > assumes that all packets would index correctly into one > of the a

[dpdk-dev] [PATCH] lib/librte_table: Fix table array lookup

2014-12-12 Thread Mark Wunderlich
The existing lookup function was returning an unmodified pkts_mask bitmask into lookup_hit_mask. This effectively assumes that all packets would index correctly into one of the array table entries. Also, there was no check that the metadata provided index value was within range of the table max e