[ovs-dev] [PATCH] ovn-northd: Avoid excessive work to find routerports.
Ben Pfaff
blp at ovn.org
Mon Aug 29 17:04:23 UTC 2016
On Thu, Aug 25, 2016 at 10:37:37AM -0500, Ryan Moats wrote:
>
>
> "dev" <dev-bounces at openvswitch.org> wrote on 08/17/2016 03:58:13 PM:
>
> > From: Ben Pfaff <blp at ovn.org>
> > To: dev at openvswitch.org
> > Cc: Ben Pfaff <blp at ovn.org>
> > Date: 08/17/2016 03:58 PM
> > Subject: [ovs-dev] [PATCH] ovn-northd: Avoid excessive work to find
> > router ports.
> > Sent by: "dev" <dev-bounces at openvswitch.org>
> >
> > 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
> > router ports.
> >
> > This change is best viewed ignoring white space only changes.
>
> LGTM
>
> Acked-by: Ryan Moats <rmoats at us.ibm.com>
Thanks, applied to master.
More information about the dev
mailing list