• Pravin B Shelar's avatar
    openvswitch: Use parallel_ops genl. · 3a4e0d6a
    Pravin B Shelar authored
    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: default avatarPravin B Shelar <pshelar@nicira.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3a4e0d6a
datapath.c 50.2 KB