]> git.itanic.dy.fi Git - linux-stable/commit
mlxsw: spectrum: Stop ignoring learning notifications from redirected traffic
authorIdo Schimmel <idosch@nvidia.com>
Fri, 11 Aug 2023 15:13:57 +0000 (17:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 07:11:14 +0000 (08:11 +0100)
commit9793a5a9c493a66871de4c6f27e26e9ca90699cc
tree26f13400bcba0bb6e1029f5310b75f3611c9ac78
parent0433670e136ad879d2d52b3e05ee342a9bb052d8
mlxsw: spectrum: Stop ignoring learning notifications from redirected traffic

As explained in the previous patch, with the ignore action prepended to
the redirect action, it is not longer possible for redirected traffic to
generate learning notifications.

Therefore, remove the workaround that was added in commit 577fa14d2100
("mlxsw: spectrum: Do not process learned records with a dummy FID") as
it is no longer needed.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c