ofproto-dpif: Modularize ofproto-dpif-xlate.
authorEthan Jackson <ethan@nicira.com>
Fri, 14 Jun 2013 01:38:24 +0000 (18:38 -0700)
committerEthan Jackson <ethan@nicira.com>
Sun, 7 Jul 2013 11:43:19 +0000 (04:43 -0700)
commit46c88433b341c4d982c10d9de5bf3330bbcd621d
tree55bfebb15cb2b7111589c4f1d593dbefe3d2f111
parentaaa0fbaefadb7fdc2ff07dba1e16b3d6f20467d5
ofproto-dpif: Modularize ofproto-dpif-xlate.

This patch modularizes ofproto-dpif-xlate by disentangling it from
ofproto-dpif.  Instead of poking around in ofproto-dpif's internal
data structures, ofproto-dpif-xlate is updated with a simple API
which can easily be made thread safe.  There are still some places
where ofproto-dpif-xlate needs to call into ofproto-dpif, but this
patch makes significant progress towards the final goal.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h