This is the result that I get for ethtool --set-eee lan1 eee off
on the C2600, on all ports. Didn't test on the R7800 yet.
eee unmodified, ignoring
And this is ethtool --show-eee lan1
:
EEE Settings for lan1:
EEE status: disabled
Tx LPI: disabled
Supported EEE link modes: 100baseT/Full
1000baseT/Full
Advertised EEE link modes: Not reported
Link partner advertised EEE link modes: Not reported
So, EEE is off by default. If I do ethtool --set-eee lan1 eee on
, then I get:
EEE Settings for lan1:
EEE status: enabled - inactive
Tx LPI: disabled
Supported EEE link modes: 100baseT/Full
1000baseT/Full
Advertised EEE link modes: 100baseT/Full
1000baseT/Full
Link partner advertised EEE link modes: Not reported
EDIT:
Scrap the above. I now upgraded both the C2600 (dumb AP) and the R7800 (main router) at my home as well as my R7800 at my office (main router) with your latest code (kernel 5.10+DSA) on top of latest master. EEE is on by default on all routers.
My office R7800 is behaving well and the logs are clean. Speed and latency are good. I have a few ethernet connections plugged into it (file servers and a switch) and there are no port drops.
At my house, the C2600 is working ok and logs are clean. On the R7800, however, there were lots of these every 3-5 secs, right after the router booted:
[ 194.496394] qca8k 37000000.mdio-mii:10 lan3: Link is Down
[ 194.496498] br-lan: port 3(lan3) entered disabled state
[ 196.577023] qca8k 37000000.mdio-mii:10 lan3: Link is Up - 100Mbps/Full - flow control rx/tx
[ 196.577061] br-lan: port 3(lan3) entered blocking state
[ 196.577076] br-lan: port 3(lan3) entered forwarding state
I'm not sure what is connected to port 3 (I still have to sort out the cabling...). After I saw these port drops, I decided to turn-off EEE on the port 3 of the R7800 and then the port drops stopped. Maybe there is some device connected to port 3 that cannot handle EEE?
So, other than the port 3 drop above, everything seems to be working well. I'll check what is the device connected to port 3 when I get back home later today and will report for any other stability issue (if any).
Thank you for the nice work!
EDIT 2: Port disconnects seem to have been solved by turning off EEE on the problematic ports. But I'm seeing problems with some devices failing to reconnect to wifi after roaming between routers. I did some googling and it seems that other platforms had similar problems with DSA.