On 12.04.2023 15:49, Frank Wunderlich wrote:
Hi, retested series on bananpi r2 on 6.3-rc6 (after throughput is fixed for mt7623/trgmii too) with additional patches: "net: dsa: implement preferred cpu port handling" by Vladimir Oltean to stay on gmac0 by default "net: dsa: mt7530: add support for changing DSA master" by Richard van Schagen looks good so far, but i have not managed how to change dsa master from the preferred port (eth0) to the second one... any idea how the correct syntax is for iproute2?
https://www.kernel.org/doc/html/latest/networking/dsa/configuration.html#affinity-of-user-ports-to-cpu-ports In short: ip link set lan0 type dsa conduit eth1
at least vladimirs patch should be included when applying this series
I'm currently cleaning up the DSA driver, I'll get to this at some point. Arınç