ofproto-dpif: Added Per backer recirculation ID management
authorAndy Zhou <azhou@nicira.com>
Mon, 27 Jan 2014 09:18:30 +0000 (01:18 -0800)
committerAndy Zhou <azhou@nicira.com>
Tue, 25 Mar 2014 20:24:26 +0000 (13:24 -0700)
commitf537461746b9a605972fbddab66f092d96e65732
treecbbbedea31fd41f7398506f61d0aedaed3925141
parenta79f29f20e556514259d8593de779fc1b15c4055
ofproto-dpif: Added Per backer recirculation ID management

Recirculation ID needs to be unique per datapath. Its usage will be
tracked by the backer that corresponds to the datapath.

In theory, Recirculation ID can be any uint32_t value, except 0. This
implementation limits to a smaller range just for ease of debugging.
Make the range size 0 effectively disables recirculation.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/automake.mk
ofproto/ofproto-dpif-rid.c [new file with mode: 0644]
ofproto/ofproto-dpif-rid.h [new file with mode: 0644]
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h