Skip to content
Commit c832962a authored by Oleksandr Mazur's avatar Oleksandr Mazur Committed by Jakub Kicinski
Browse files

net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled

Whenever bridge driver hits the max capacity of MDBs, it disables
the MC processing (by setting corresponding bridge option), but never
notifies switchdev about such change (the notifiers are called only upon
explicit setting of this option, through the registered netlink interface).

This could lead to situation when Software MDB processing gets disabled,
but this event never gets offloaded to the underlying Hardware.

Fix this by adding a notify message in such case.

Fixes: 147c1e9b

 ("switchdev: bridge: Offload multicast disabled")
Signed-off-by: default avatarOleksandr Mazur <oleksandr.mazur@plvision.eu>
Acked-by: default avatarNikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20220215165303.31908-1-oleksandr.mazur@plvision.eu


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8d2b1a1e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment