diff options
author | Linus Walleij <[email protected]> | 2021-10-05 21:47:04 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-06 15:08:12 +0100 |
commit | e674cfd08537f2692a7d06dcbe4633b07819c92a (patch) | |
tree | 70fcf03892581489078289a0f75298c7bb193aa5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1fbd19e10b735106fb91d4cb07095bc986a513aa (diff) |
net: dsa: rtl8366rb: Support setting STP state
This adds support for setting the STP state to the RTL8366RB
DSA switch. This rids the following message from the kernel on
e.g. OpenWrt:
DSA: failed to set STP state 3 (-95)
Since the RTL8366RB has one STP state register per FID with
two bit per port in each, we simply loop over all the FIDs
and set the state on all of them.
Cc: Vladimir Oltean <[email protected]>
Cc: Alvin Šipraga <[email protected]>
Cc: Mauri Sandberg <[email protected]>
Cc: DENG Qingfang <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions