Do I have to enable something to make the Ethernet ports 2.5GB ?
Doesn’t seem to work for me.
I have verified cables, and switch port.
I am using image, openwrt-23.05.0-rc3-92a7d087de39-mediatek-filogic-bananapi_bpi-r3-sdcard.img
Everything seems to work, though, haven’t tested the 10GB Ethernet ports, yet…
From menu item, Status, System Log,
Mon Sep 11 15:09:28 2023 kern.info kernel: [ 1645.894856] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
There are no 2.5g “ports”…the sfp cages have 2.5g backend. Here should be noted that right one is connected to switch which also serves the 5 rj45 ports (1g) and also connected with 2.5g to cpu. So having traffic on the rj45 ports will reduce traffic on lan-sfp.
10gbit/s? Upcoming bpi-r4 will have 10g sfp+ ports,but on r3 these are max 2.5g
Yes and there are some patches from @ericwoud to get them completely working. Current linux only works in 2.5g mode only…lower speed is not detected,and will cause retransmitts
For tplink version it seems to need special handling
Please request information from TP-LINK or where ever you bought your TL-SM410U module regarding how to access the built-in RTL8221B PHY’s Clause-45 register space. For other 2.5G modules @ericwoud figured out how to access the PHY using RollBall protocol, but for the TL-SM410U that doesn’t seem to work
Edit: I’ve tried to contact TP-LINK China support and all they told me was that the product is not meant to be available outside of China and asked where I had bought it – I had bought it from a TP-LINK-branded outlet on AliExpress, which I told them and never got a reply from there on. I’ve also tried to contact them via that shop on AliExpress, in a reply to my purchase there, but they only again referred me to TP-LINK support in China.
Edit 2: I’m aware that the module works fine in 2.5G mode only – just without access to the PHY there is no way for the host to know the speed of the link partner and hence whether to use 2500Base-X or SGMII for the link between MAC and PHY. As it also doesn’t seem to be configured for rate-adapter mode (and we don’t have anything we can do about it) we can’t support 1000M/100M/10M at the moment.
That may still be true if you stick it into a device which doesn’t care about what’s in the EEPROM and just assumes 1000Base-X…
I’ve got both v1 and v2 version of the TL-SM410U here and both do not perform rate-adaptation using pause-frames, ie. link with anything else than 2500M doesn’t work.