openvswitch: Use parallel_ops genl.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 23 Apr 2013 07:48:48 +0000 (07:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 05:43:15 +0000 (01:43 -0400)
commit3a4e0d6a95b2b6f7b22eb7c7361a0fc4289478eb
tree9d18818f7712eba0b9c7545bb04ed37d1ff11aaa
parentdef3117493eafd9dfa1f809d861e0031b2cc8a07
openvswitch: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c