dpif-linux: Slightly refactor internal data structures.
authorBen Pfaff <blp@nicira.com>
Wed, 23 May 2012 23:55:09 +0000 (16:55 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Jun 2012 21:40:35 +0000 (17:40 -0400)
commitfe3d61b373bd274fd7cd8bff46f3edbe03fa673f
tree8bd7f97ae9fda8635a750db0331d7bb036d02201
parente222833e3915daacf8e22d97290a6e901206a405
dpif-linux: Slightly refactor internal data structures.

An initial attempt also replaced the 'uint32_t ready_mask' in struct
dpif_linux by a 'bool ready' in each struct dpif_channel, but I wasn't
happy with the result (the ready_mask bitmap works out really well) and so
I dropped that part.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c