id-pool: Re-factor recirculation id allocator into standalone id pool.
authorSimon Horman <simon.horman@netronome.com>
Mon, 10 Nov 2014 04:47:48 +0000 (13:47 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2014 16:30:07 +0000 (08:30 -0800)
commitc3bd4bfc7120a16d3e3604985e9c607705ef594d
tree59ec2d346716934ea961afd88cebf55eff931499
parent7d16c8478e0bd17f63d4e6459e5d8f8dc6fcece2
id-pool: Re-factor recirculation id allocator into standalone id pool.

Refactor the lock-free portion of the recirculation id allocator
into stand-alone id pool. This is in preparation for re-using
that portion to allocate bucket ids which are part of (draft)
OpenFlow 1.5 groups.

ONF-JIRA: EXT-350
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/automake.mk
lib/id-pool.c [new file with mode: 0644]
lib/id-pool.h [new file with mode: 0644]
ofproto/ofproto-dpif-rid.c