diff options
author | Ido Schimmel <idosch@nvidia.com> | 2022-05-04 09:29:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-04 11:21:33 +0100 |
commit | b8950003849de2a78f7aed9e348233e2b678b755 (patch) | |
tree | 315e2a32006d97bca6f0e0b4b81c9d708b5629ca /block/blk-flush.c | |
parent | d1314096fbe9601ea6606b925ec4563c027936d9 (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 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions