diff options
| author | Vladimir Oltean <[email protected]> | 2021-01-29 03:00:04 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-29 21:24:30 -0800 |
| commit | 886f8e26f5397827f031bce48f3138040d88ffb3 (patch) | |
| tree | c9751ac162a0628b123cd34a03d747312d814671 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | cacea62fcdda5656cb5b8104e73a00e043b61730 (diff) | |
net: dsa: document the existing switch tree notifiers and add a new one
The existence of dsa_broadcast has generated some confusion in the past:
https://www.mail-archive.com/[email protected]/msg365042.html
So let's document the existing dsa_port_notify and dsa_broadcast
functions and explain when each of them should be used.
Also, in fact, the in-between function has always been there but was
lacking a name, and is the main reason for this patch: dsa_tree_notify.
Refactor dsa_broadcast to use it.
This patch also moves dsa_broadcast (a top-level function) to dsa2.c,
where it really belonged in the first place, but had no companion so it
stood with dsa_port_notify.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions