]> git.proxmox.com Git - ovs.git/commit
ofproto: Use ofproto_mutex for groups and keep track of referring flows.
authorJarno Rajahalme <jarno@ovn.org>
Fri, 29 Jul 2016 23:52:02 +0000 (16:52 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Fri, 29 Jul 2016 23:52:02 +0000 (16:52 -0700)
commitcc0992685b7ee44b086decc887ad6a831dd5b705
treeb315c57e0202e9844c92d3544f592ee3bac1b413
parent9bab38ff20fc68f06f6bbd3d8334dc8ec779fbf3
ofproto: Use ofproto_mutex for groups and keep track of referring flows.

Adding groups support for bundles is simpler if also groups are
modified under ofproto_mutex.

Eliminate the search for rules when deleting a group so that we will
not keep the mutex for too long.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
include/openvswitch/ofp-actions.h
ofproto/ofproto-provider.h
ofproto/ofproto.c