datapath: Eliminate vport_mutex by protecting vport table with RCU.
authorBen Pfaff <blp@nicira.com>
Wed, 26 Jan 2011 17:42:28 +0000 (09:42 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 05:08:41 +0000 (21:08 -0800)
commit057dd6d279c20e88f98bbe8328383564391bbc8f
tree3a72f7bff6c4f0161c787e7595e9e00efb36687a
parentc0a0ac4f414cd17caead7c1066b016ddbc28b9ce
datapath: Eliminate vport_mutex by protecting vport table with RCU.

The vport_mutex really only protects the vport dev_table, which isn't very
much.  By getting rid of it we take one step toward simplifying the vswitch
locking, which will necessarily have to be based mainly around the Generic
Netlink genl_mutex once we switch to Generic Netlink.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/vport-internal_dev.c
datapath/vport.c
datapath/vport.h