summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-03-22 17:58:48 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-22 13:45:46 -0700
commitfc199d7c08c837095083e4c77678d9de1546945c (patch)
tree85fecad1f18755ade7601a090f2aaa7d7e9e80d9 /net/lapb/lapb_timer.c
parent1be2361e3ca715cd9315c3c4ebede8cdcfcbf7d5 (diff)
mlxsw: spectrum_router: Add nexthop trap action support
Currently, nexthops are programmed with either forward or discard action (for blackhole nexthops). Nexthops that do not have a valid MAC address (neighbour) or router interface (RIF) are simply not written to the adjacency table. In resilient nexthop groups, the size of the group must remain fixed and the kernel is in complete control of the layout of the adjacency table. A nexthop without a valid MAC or RIF will therefore be written with a trap action, to trigger neighbour resolution. Allow such nexthops to be programmed to the adjacency table to enable above mentioned use case. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions