diff options
| author | Oleksij Rempel <[email protected]> | 2024-04-03 14:50:34 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-04 19:08:42 -0700 |
| commit | 0499bb09f412fe32ec19659bf10cc5d40e8ff6cb (patch) | |
| tree | 050743f2486a1bb377ab13f588747627f2e1a7df /tools/perf/scripts/python/compaction-times.py | |
| parent | 860cf29eabf1338ebb692c755387caed49ba06f1 (diff) | |
net: dsa: microchip: ksz8: Refactor ksz8_fdb_dump()
Refactor ksz8_fdb_dump() to address potential issues:
- Limit the number of iterations to avoid endless loops.
- Handle error codes returned by ksz8_r_dyn_mac_table(), with
an exception for -ENXIO when no more dynamic entries are detected.
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Acked-by: Arun Ramadoss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions