]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Add support for resilient nexthop groups
authorIdo Schimmel <idosch@nvidia.com>
Wed, 24 Mar 2021 20:14:15 +0000 (22:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:34:57 +0000 (16:34 -0700)
commit55ce2daef1a906f02d1bd1707bf2ca690b3011d1
tree44b1c49e969a0a17f7383cd30ab9857e82965b44
parente5fdffc52e66b8644ea0b7052b0e3c702c9f8bd8
mlxsw: spectrum_router: Add support for resilient nexthop groups

Parse the configuration of resilient nexthop groups to existing mlxsw
data structures. Unlike non-resilient groups, nexthops without a valid
MAC or router interface (RIF) are programmed with a trap action instead
of not being programmed at all.

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