summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
diff options
context:
space:
mode:
authorIdo Schimmel2017-03-10 08:53:38 +0100
committerDavid S. Miller2017-03-10 18:36:06 +0100
commit97989ee0f5e855f4f5ec473b292c17f39cbaac58 (patch)
tree433354ccdd89d432a1ccd448f7659c73eb5d35a4 /drivers/net/ethernet/mellanox/mlxsw/spectrum.c
parentmlxsw: spectrum: Destroy RIFs based on last removed address (diff)
downloadkernel-qcow2-linux-97989ee0f5e855f4f5ec473b292c17f39cbaac58.tar.gz
kernel-qcow2-linux-97989ee0f5e855f4f5ec473b292c17f39cbaac58.tar.xz
kernel-qcow2-linux-97989ee0f5e855f4f5ec473b292c17f39cbaac58.zip
mlxsw: spectrum_router: Allow more route types to be programmed
Allow 'unreachable', 'blackhole' and 'prohibit' route types to be programmed into the device by sending any packet hitting them to the CPU. This is needed so that users will be able to program a default route into the VRF's table, thereby preventing lookup from leaking to other tables. Audit the code paths to make sure we don't rely on the presence of a nexthop netdev, as it doesn't exist for above mentioned route types. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
0 files changed, 0 insertions, 0 deletions