[dpdk-dev] [PATCH] table: fix table_array for incomplete bitmask

2014-12-05 Thread Thomas Monjalon
> When a lookup was done on a table_array structure with an incomplete > bitmask, the results was always zero hits. This was because the > pkts_mask value was cleared as we process each entry, and the result > was assigned at the end of the loop, when pkts_mask was zero. > Changing the assignment

[dpdk-dev] [PATCH] table: fix table_array for incomplete bitmask

2014-12-04 Thread Dumitrescu, Cristian
Acked by: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson Sent: Thursday, December 4, 2014 2:24 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] table: fix table_array for incomplete bitmask When a lookup was done on a table_array structure

[dpdk-dev] [PATCH] table: fix table_array for incomplete bitmask

2014-12-04 Thread Bruce Richardson
On Thu, Dec 04, 2014 at 02:23:33PM +, Bruce Richardson wrote: > Hi Cristian, please review before I send out publically. Thanks. B. > - > > When a lookup was done on a table_array structure with an incomplete > bitmask, the results was always zero hits. This was

[dpdk-dev] [PATCH] table: fix table_array for incomplete bitmask

2014-12-04 Thread Bruce Richardson
Hi Cristian, please review before I send out publically. Thanks. B. - When a lookup was done on a table_array structure with an incomplete bitmask, the results was always zero hits. This was because the pkts_mask value was cleared as we process each entry, and the result