datapath: Use parallel_ops genl.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 1 Aug 2013 22:36:06 +0000 (15:36 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Sat, 10 Aug 2013 23:07:52 +0000 (16:07 -0700)
commit14002a5984e97f0f2482acdbb445c45266e2c6a1
tree2299311273eefb5dfc4dc805430891c8dc15c6ea
parent9b764edf063160f3428b85cc0a1bb52bd3f51061
datapath: Use parallel_ops genl.

OVS locking was recently changed to have private OVS lock which
simplified overall locking.  Therefore there is no need to have
another global genl lock to protect OVS data structures.  Following
patch uses of parallel_ops genl family for OVS.  This also allows
more granual OVS locking using ovs_mutex for protecting OVS data
structures, which gives more concurrencey.  E.g multiple genl
operations OVS_PACKET_CMD_EXECUTE can run in parallel, etc.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
acinclude.m4
datapath/compat.h
datapath/datapath.c