On 7/2/21 7:16 PM, Lorenzo Bianconi wrote:
> Move stateful lb rules for logical switches in
> build_lswitch_flows_for_lb routine in order to reduce cpu utilization
> 
> Signed-off-by: Lorenzo Bianconi <[email protected]>
> ---
>  northd/ovn-northd.c | 45 ++++++++++++++++++++-------------------------
>  1 file changed, 20 insertions(+), 25 deletions(-)
> 
> diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c
> index 2133048b1..d763fba9a 100644
> --- a/northd/ovn-northd.c
> +++ b/northd/ovn-northd.c
> @@ -6030,8 +6030,7 @@ build_qos(struct ovn_datapath *od, struct hmap *lflows) 
> {
>  }
>  
>  static void
> -build_lb_rules(struct ovn_datapath *od, struct hmap *lflows,
> -               struct ovn_northd_lb *lb)
> +build_lb_rules(struct hmap *lflows, struct ovn_northd_lb *lb)

We might as well pass the "action" and "match" scratchpads here too.
With that addressed:

Acked-by: Dumitru Ceara <[email protected]>

Thanks!

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

Reply via email to