aboutsummaryrefslogtreecommitdiff
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-09-27 08:23:20 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-27 11:33:28 -0700
commitd42b0965b1d4fe0808a2103a3f7c015515b1112e (patch)
treea3596f2583df5aceb01bc1b47bb53a2bc4f01c90 /net/sched/cls_basic.c
parent7e50d435759accec4e17764a8d5a1ef63b79ffd6 (diff)
downloadlinux-d42b0965b1d4fe0808a2103a3f7c015515b1112e.tar.gz
linux-d42b0965b1d4fe0808a2103a3f7c015515b1112e.tar.bz2
linux-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 <yotamg@mellanox.com> Reviewed-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/cls_basic.c')
0 files changed, 0 insertions, 0 deletions