There have been some threads already on this community discussing how to get the Turris SFP-cage to actually perform at 2.5G with compatible modules. If memory serves right, most of them revolved about DAC. So not the Luleey LL-XS2510 XPON module, that I am using in my device right now.
Other communities discuss “my” SFP but unfortunately do use them in Unify or Mikrotik equipment - so not directly applicable either…
Since blindly following some tutorials will probably render the SFP inoperational, I’d rather talk it through here with you - hoping that someone else might be using the exact same setup and can share some insights.
The LL-XS2510 ist a RTL960x/DFP-34X-2C2 based XPON-SFP that in theory should not only support 1G but also 2.5G operation.
However, when plugging the device into the Omnia, it will only operate in 1000baseX/Full
mode - and ethtool
won’t even mention 2.5G:
root@turris:~# ethtool eth2
Settings for eth2:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseX/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseX/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes
Looking at the threads in the community here, people seem to be part of three camps:
- Either it just works out of the box (great! happy for you!)
- There is some problem with the i2c-communication which can be fixed by disabling auto-negotiation and fixing the speed to 2.5G
- Use a kernel-patch to load some workaround to automatically pin the interface-speed to 2.5G
Number one does obviously not apply, and I can’t see any problems in the sys- or kernel-log that would indicate number two. Also, since ethtool
seems to be convinced that 1000baseX is the only way to go, I cannot change the configuration of the port to 2.5G either…
Looking at RTL960x/Docs/2.5Gb.md at main · Anime4000/RTL960x · GitHub or ODI Realtek DFP-34G-2C2 | Hack GPON, there are three modes that can be used to force the SFP into 2.5G by using the flash set LAN_SDS_MODE
command:
4
forHiSGMII PHY
5
forHiSGMII MAC
6
for2500Base-X
What is keeping me from just randomly issuing the above command is the fact, that choosing the wrong LAN_SDS_MODE
will render the module unusable if the surrounding hardware does not support it. And since I do not have a media-converter or other router that just supports all of those modes (and my desire to start soldering an UART connection to the module is pretty low), that would translate to “no internet” for me…
My interpretation of the output of ethtool
above would make me want to believe that mode 6 (2500Base-X) would be the correct one - but I am not 100% sure. Anyone here that can confirm/deny it?
Thank you for everyone’s input!