[ovs-dev] [PATCH ovn v5] ovn-northd: Minimize number of ARP/NS responder flows for DNAT.

Han Zhou hzhou at ovn.org
Mon Jul 6 22:55:39 UTC 2020


On Mon, Jul 6, 2020 at 4:33 AM Dumitru Ceara <dceara at redhat.com> wrote:
>
> Most ARP/NS responder flows can be configured per datapath instead of per
> router port.
>
> The only exception is with distributed gateway router ports which need
> special treatment. This patch changes the ARP/NS responder behavior and
adds:
> - Priority 92 flows to reply to ARP requests on distributed gateway router
>   ports, on the chassis where the DNAT entry is bound.
> - Priority 91 flows to drop ARP requests on distributed gateway router
ports,
>   on chassis where the DNAT entry is not bound.
> - Priority 90 flows to reply to ARP requests on all other router ports.
This
>   last type of flows is programmed exactly once per logical router
limiting
>   the total number of required logical flows.
>
> Suggested-by: Han Zhou <hzhou at ovn.org>
> Reported-by: Girish Moodalbail <gmoodalbail at gmail.com>
> Reported-at:
https://mail.openvswitch.org/pipermail/ovs-discuss/2020-June/050186.html
> Acked-by: Numan Siddique <numans at ovn.org>
> Signed-off-by: Dumitru Ceara <dceara at redhat.com>
>
I applied this to master. Thanks!


More information about the dev mailing list