aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2021-03-22 15:58:48 +0000
committerDavid S. Miller <[email protected]>2021-03-22 20:45:46 +0000
commitfc199d7c08c837095083e4c77678d9de1546945c (patch)
tree85fecad1f18755ade7601a090f2aaa7d7e9e80d9 /net/lapb/lapb_in.c
parentmlxsw: spectrum_router: Prepare for nexthops with trap action (diff)
downloadkernel-fc199d7c08c837095083e4c77678d9de1546945c.tar.gz
kernel-fc199d7c08c837095083e4c77678d9de1546945c.zip
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 <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions