Open GoetzGoerisch opened 2 months ago
No real idea, but can you have a look at rtl83xx_phylink_mac_link_up() and print out the debugging info there.
No real idea, but can you have a look at rtl83xx_phylink_mac_link_up() and print out the debugging info there.
To get this moving along, and just to sanity check:
Build latest code. kernel/module loglevel set correctly? You want the pr_debug statement from rtl83xx_phylink_mac_link_up
@GoetzGoerisch, @evs93: The @plappermaul PR has been merged, can you test?
@GoetzGoerisch, @evs93: The @plappermaul PR has been merged, can you test?
* [realtek: phy/ethernet fixes #16457](https://github.com/openwrt/openwrt/pull/16457)
I'll test again at some point.
To clarify: my initial testing indicated behaviour didn't change before/after.
It was my initial confusion as I didn't know whether it was existing behaviour, and then I edited to indicate that it was existing behaviour.
Describe the bug
SFP or SFP+ modules in the switch are reporting the incorrect link speed.
The operate at 1000Mbps but are shown and reported as 10Mbps.
Was already like this with 5.15 but remains with 6.6
OpenWrt version
r27466-f368e2d5ec
OpenWrt release
SNAPSHOT
OpenWrt target/subtarget
realtek/rtl838x
Device
HPE 1920-24G (JG924A
Image kind
Official downloaded image
Steps to reproduce
Actual behaviour
Link speed is reported as 10Mbps
rtl83xx-switch switch@1b000000 lan25: Link is Up - 10Mbps/Half - flow control off
Actual throughput is 1000Mbps
Expected behaviour
Correct link speed is reported
Additional info
Modules as reported by kernel-log
Model: https://www.amazon.de/gp/product/B07BQWFBC8
Model: https://www.amazon.de/gp/product/B01DCZCQTC
Previous discussion on the forum: https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/2804
Diffconfig
No response
Terms