dpif: Improve abstraction by making 'run' and 'wait' functions per-dpif.
authorBen Pfaff <blp@nicira.com>
Fri, 6 May 2011 22:04:29 +0000 (15:04 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 19:26:07 +0000 (12:26 -0700)
commit640e1b20776f40633d33a5c2c2bba3e79eda0b64
tree1502412c5fbd9e20c4193122a00ffc50901fd290
parentfa066f015f716c74315fed1a08912d003dfe3f8c
dpif: Improve abstraction by making 'run' and 'wait' functions per-dpif.

Until now, the dp_run() and dp_wait() functions had to be called at the top
level of the program because they applied to every open dpif.  By replacing
them by functions that take a specific dpif as an argument, we can call
them only from ofproto, which is currently the correct layer to deal with
dpifs.
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
ofproto/ofproto.c
utilities/ovs-openflowd.c
vswitchd/ovs-vswitchd.c