[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250320155754.GD889584@horms.kernel.org>
Date: Thu, 20 Mar 2025 15:57:54 +0000
From: Simon Horman <horms@...nel.org>
To: Petr Machata <petrm@...dia.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>, netdev@...r.kernel.org,
Ido Schimmel <idosch@...dia.com>, Amit Cohen <amcohen@...dia.com>,
mlxsw@...dia.com
Subject: Re: [PATCH net-next 1/6] mlxsw: Trap ARP packets at layer 2 instead
of layer 3
On Mon, Mar 17, 2025 at 06:37:26PM +0100, Petr Machata wrote:
> From: Amit Cohen <amcohen@...dia.com>
>
> Next patch will set the same hardware domain for all bridge ports,
> including VXLAN, to prevent packets from being forwarded by software when
> they were already forwarded by hardware.
>
> ARP packets are not flooded by hardware to VXLAN, so software should handle
> such flooding. When hardware domain of VXLAN device will be changed, ARP
> packets which are trapped and marked with offload_fwd_mark will not be
> flooded to VXLAN also in software, which will break VXLAN traffic.
>
> To prevent such breaking, trap ARP packets at layer 2 and don't mark them
> as L2-forwarded in hardware, then flooding ARP packets will be done only
> in software, and VXLAN will send ARP packets.
>
> Remove NVE_ENCAP_ARP which is no longer needed, as now ARP packets are
> trapped when they enter the device.
>
> Signed-off-by: Amit Cohen <amcohen@...dia.com>
> Reviewed-by: Petr Machata <petrm@...dia.com>
> Reviewed-by: Ido Schimmel <idosch@...dia.com>
> Signed-off-by: Petr Machata <petrm@...dia.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists