aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorYotam Gigi <[email protected]>2017-09-27 06:23:20 +0000
committerDavid S. Miller <[email protected]>2017-09-27 18:33:28 +0000
commitd42b0965b1d4fe0808a2103a3f7c015515b1112e (patch)
treea3596f2583df5aceb01bc1b47bb53a2bc4f01c90 /net/sched/cls_basic.c
parentmlxsw: spectrum: router: Squash the default route table to main (diff)
downloadkernel-d42b0965b1d4fe0808a2103a3f7c015515b1112e.tar.gz
kernel-d42b0965b1d4fe0808a2103a3f7c015515b1112e.zip
mlxsw: spectrum_router: Add multicast routes notification handling functionality
Add functionality for calling the multicast routing offloading logic upon MFC and VIF add and delete notifications. In addition, call the multicast routing upon RIF addition and deletion events. As the multicast routing offload logic may sleep, the actual calls are done in a deferred work. To ensure the MFC object is not freed in that interval, a reference is held to it. In case of a failure, the abort mechanism is used, which ejects all the routes from the hardware and triggers the traffic to flow through the kernel. Note: At that stage, the FIB notifications are still ignored, and will be enabled in a further patch. Signed-off-by: Yotam Gigi <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions