Re: [ovs-dev] [PATCH v2 1/2] lib/classifier: Simplify subtable array.

2014-05-22 Thread Ben Pfaff
On Mon, May 19, 2014 at 12:35:45PM -0700, Jarno Rajahalme wrote: > Do not cache the 'tag' and 'max_priority' in the subtable array. This > makes later changes to classifier easier. > > Change CLS_SUBTABLES_FOR_EACH to iterate with a regular array index. > > Also makes the 'cls_subtables*' functi

[ovs-dev] [PATCH v2 1/2] lib/classifier: Simplify subtable array.

2014-05-19 Thread Jarno Rajahalme
Do not cache the 'tag' and 'max_priority' in the subtable array. This makes later changes to classifier easier. Change CLS_SUBTABLES_FOR_EACH to iterate with a regular array index. Also makes the 'cls_subtables*' functions to always leave the subtables array in a consistent state. This includes