]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Start using new trap adjacency entry
authorIdo Schimmel <idosch@nvidia.com>
Wed, 22 Sep 2021 07:36:42 +0000 (10:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2021 13:35:02 +0000 (14:35 +0100)
commit17d038739b0b07bf4af7e671209332f5e84c3531
tree210a0d939a1388788fc0945e2f143b606d7a7f41
parente0c914f2fee8c9d9f3f69ac15eb9dbb724ace870
mlxsw: spectrum_router: Start using new trap adjacency entry

Start using the trap adjacency entry that was added in the previous
patch and remove the existing one which is no longer needed.

Note that the name of the old entry was inaccurate as the entry did not
discard packets, but trapped them.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h