Re: [ovs-dev] [PATCH 3/8] lib/cmap: Simplify iteration with C99 loop declaration.

2014-06-11 Thread Jarno Rajahalme
Thanks for the reviews! On Jun 10, 2014, at 1:47 PM, Ethan Jackson wrote: > Nice, thing we could do something similar for the classifier loop? > I have it in the pipeline, also integrating locking to the iterators, so that the change to RCU will not be so visible. > Acked-by: Ethan Jackson

Re: [ovs-dev] [PATCH 3/8] lib/cmap: Simplify iteration with C99 loop declaration.

2014-06-10 Thread Ethan Jackson
Nice, thing we could do something similar for the classifier loop? Acked-by: Ethan Jackson On Mon, Jun 9, 2014 at 11:53 AM, Jarno Rajahalme wrote: > This further eases porting existing hmap code to use cmap instead. > > The iterator variants taking an explicit cursor are retained (renamed) > a

[ovs-dev] [PATCH 3/8] lib/cmap: Simplify iteration with C99 loop declaration.

2014-06-09 Thread Jarno Rajahalme
This further eases porting existing hmap code to use cmap instead. The iterator variants taking an explicit cursor are retained (renamed) as they are needed when iteration is to be continued from the last iterated node. Signed-off-by: Jarno Rajahalme --- lib/cmap.h| 43 +++