diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-06-30 13:19:43 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-02 11:32:19 +0200 |
| commit | cc61d5d7c205502d87f720ef86de9a6819f913e7 (patch) | |
| tree | a8eb1805ca4f7cfdda10d770d5ff55ce454b2b65 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 82ddf181448ba93b12f8d2e2b6ba7ab38e66c8b9 (diff) | |
net: dsa: realtek: rtl8366rb: Use DSA port iterators
Instead of custom loops for intializing the ports (including the
CPU port) use the DSA helpers dsa_switch_for_each_port() and
dsa_switch_for_each_cpu_port() following the pattern in RTL8365MB by
accumulatong masks for the upstream and downstream ports.
This gives us similar enough code to the RTL8365MB that we
can start using more generic rtl83xx helpers.
Reviewed-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260630-rtl8366rb-improvements-v2-3-05eb9d6a37f5@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
