aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-02-06 14:42:01 -0500
committerDavid S. Miller <davem@davemloft.net>2019-02-06 17:24:05 -0500
commit2810c3b252b902979fd7fe074123101cfc313fae (patch)
tree7a048989bb16a7267ec079f5b61b07e8b3780ef3 /net/core/dev.c
parent554c88ac2f47343d55a80e0eefcf58c49c4d5d3e (diff)
mlxsw: spectrum_router: Offload blackhole routes
Create a new FIB entry type for blackhole routes and set it in case the type of the notified route is 'RTN_BLACKHOLE'. Program such routes with a discard action and mark them as offloaded since the device is dropping the packets instead of the kernel. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions