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

2014-05-19 Thread Ben Pfaff
On Mon, May 19, 2014 at 10:38:38AM -0700, Jarno Rajahalme wrote: > > On May 19, 2014, at 7:48 AM, Ben Pfaff wrote: > > > On Fri, May 16, 2014 at 02:44:40PM -0700, Jarno Rajahalme wrote: > >> Do not cache the 'tag' and 'max_priority' in the subtable array. This > >> makes later changes to classi

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

2014-05-19 Thread Jarno Rajahalme
On May 19, 2014, at 7:48 AM, Ben Pfaff wrote: > On Fri, May 16, 2014 at 02:44:40PM -0700, Jarno Rajahalme wrote: >> Do not cache the 'tag' and 'max_priority' in the subtable array. This >> makes later changes to classifier easier. >> >> Also makes the 'cls_subtables*' functions to always leave

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

2014-05-19 Thread Ben Pfaff
On Fri, May 16, 2014 at 02:44:40PM -0700, Jarno Rajahalme wrote: > Do not cache the 'tag' and 'max_priority' in the subtable array. This > makes later changes to classifier easier. > > Also makes the 'cls_subtables*' functions to always leave the > subtables array in a consistent state. This inc

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

2014-05-16 Thread Jarno Rajahalme
Do not cache the 'tag' and 'max_priority' in the subtable array. This makes later changes to classifier easier. Also makes the 'cls_subtables*' functions to always leave the subtables array in a consistent state. This includes the new cls_subtables_insert() function and removal of the old cls_su