]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7902a391683eabe46bdc75d0b182484702c5b9b1
tree9d18818f7712eba0b9c7545bb04ed37d1ff11aaa
parent958bd0895f1e32afdc8bc9ae583e88ca14087120
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