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)
commite3a3aae74d76f144c1b4b8b62fbe429b219dfd32
tree210a0d939a1388788fc0945e2f143b606d7a7f41
parent4bdf80bcb79af7e2acd04cb50cad6eca615ec2c4
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