[ovs-git] [openvswitch/ovs] 9ab989: ovn-northd: Avoid excessive work to find router po...
noreply at github.com
Mon Aug 29 17:03:51 UTC 2016
Author: Ben Pfaff <blp at ovn.org>
Date: 2016-08-29 (Mon, 29 Aug 2016)
ovn-northd: Avoid excessive work to find router ports.
The ovn_datapath for each logical switch maintains an array of its ports
of type "router-port", but instead of iterating through it build_pre_acls()
iterated through all of the ports in the entire database, which is
wasteful and duplicative work. This commit switches to using the array of
This change is best viewed ignoring white space only changes.
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Ryan Moats <rmoats at us.ibm.com>
More information about the git