aboutsummaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorIdo Schimmel2022-05-04 09:29:08 +0300
committerDavid S. Miller2022-05-04 11:21:33 +0100
commitb8950003849de2a78f7aed9e348233e2b678b755 (patch)
tree315e2a32006d97bca6f0e0b4b81c9d708b5629ca /net/core
parentd1314096fbe9601ea6606b925ec4563c027936d9 (diff)
mlxsw: spectrum_switchdev: Only query FDB notifications when necessary
The driver periodically queries the device for FDB notifications (e.g., learned, aged-out) in order to update the bridge driver. These notifications can only be generated when bridges are offloaded to the device. Avoid unnecessary queries by starting to query upon installation of the first bridge and stop querying upon removal of the last bridge. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions