aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-02-09 10:28:44 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 11:32:14 -0500
commit599cf8f95f221aa03ac5a6e5e3ee4bc97a6eade5 (patch)
tree3ecaed1a3b73f1b8f20dca868b5d3c923c3d2435 /net/sched/sch_api.c
parentmlxsw: spectrum_router: Add support for route append (diff)
downloadlinux-dev-599cf8f95f221aa03ac5a6e5e3ee4bc97a6eade5.tar.xz
linux-dev-599cf8f95f221aa03ac5a6e5e3ee4bc97a6eade5.zip
mlxsw: spectrum_router: Add support for route replace
Upon the reception of an ENTRY_REPLACE notification, resolve the FIB node corresponding to the prefix and length and insert the new route before the first matching entry. Since the notification also signals the deletion of the replaced route, delete it from the driver's cache. 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 'net/sched/sch_api.c')
0 files changed, 0 insertions, 0 deletions