Those functions fully recompute the parsed routes (for static routes)
and router policy collections.  Before doing that they clear the
previous state.  So there's nothing left to be marked as stale, it's all
gone before we add new routes.

That allows us to remove the (broken) staleness checks that were causing
long recompute times for routes and policies.

A v1 of this series included only the routes fix:
https://patchwork.ozlabs.org/project/ovn/patch/[email protected]/

Changes in v2:
- completely remove the staleness checks, they're useless
- handle router policies recomputes too (as patch 2/2)

Dumitru Ceara (2):
  northd: Avoid useless iterations when recomputing routes.
  northd: Avoid useless iterations when recomputing policies.

 northd/northd.c | 35 -----------------------------------
 northd/northd.h |  3 ---
 2 files changed, 38 deletions(-)

-- 
2.54.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to