[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9f1377e-88a1-5601-f57b-e2fafb1b220b@cumulusnetworks.com>
Date: Fri, 27 Apr 2018 18:39:09 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org
Cc: davem@...emloft.net, jiri@...lanox.com, petrm@...lanox.com,
stephen@...workplumber.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next v2 6/6] mlxsw: spectrum_span: Allow bridge for
gretap mirror
On 27/04/18 18:11, Ido Schimmel wrote:
> From: Petr Machata <petrm@...lanox.com>
>
> When handling mirroring to a gretap or ip6gretap netdevice in mlxsw, the
> underlay address (i.e. the remote address of the tunnel) may be routed
> to a bridge.
>
> In that case, look up the resolved neighbor Ethernet address in that
> bridge's FDB. Then configure the offload to direct the mirrored traffic
> to that port, possibly with tagging.
>
> Signed-off-by: Petr Machata <petrm@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> ---
> .../net/ethernet/mellanox/mlxsw/spectrum_span.c | 95 ++++++++++++++++++++--
> .../net/ethernet/mellanox/mlxsw/spectrum_span.h | 1 +
> 2 files changed, 90 insertions(+), 6 deletions(-)
>
Looks good, thanks!
Reviewed-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Powered by blists - more mailing lists