aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-12-23 15:28:17 +0200
committerDavid S. Miller <davem@davemloft.net>2019-12-24 22:37:30 -0800
commitd2f0c9b11410f9c6a07c126f8a215b0b81cdcf6c (patch)
tree17c6acd5aab2f95bc933aa32113d40419d01e61d /drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
parentipv6: Only Replay routes of interest to new listeners (diff)
downloadlinux-dev-d2f0c9b11410f9c6a07c126f8a215b0b81cdcf6c.tar.xz
linux-dev-d2f0c9b11410f9c6a07c126f8a215b0b81cdcf6c.zip
ipv6: Handle route deletion notification
For the purpose of route offload, when a single route is deleted, it is only of interest if it is the first route in the node or if it is sibling to such a route. In the first case, distinguish between several possibilities: 1. Route is the last route in the node. Emit a delete notification 2. Route is followed by a non-multipath route. Emit a replace notification for the non-multipath route. 3. Route is followed by a multipath route. Emit a replace notification for the multipath route. In the second case, only emit a delete notification to ensure the route is no longer used as a valid nexthop. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c')
0 files changed, 0 insertions, 0 deletions