l think you’re suggesting that S.B1312.10.XDL requires autoneg to be disabled. I don’t think that is a property of a BiDi transceiver. All that the transceiver will be doing is converting the electrical signal to an optical signal and at the other end it gets converted back to an electrical signal. There is no “protocol” handling inside the transceivers.
If you need to turn off autoneg, that will be because the remote end also has autoneg disabled.
IEEE 802.3 1000base-X (which is the protocol used over 1000base-LX, -SX, etc) requires the use of autoneg, but we provide the ability to turn it off as you have discovered.
So, disabling autoneg as a property of the SFP transceiver is the wrong thing to do, because one could be using the same SFP transceiver with a remote end that has autoneg enabled… and then having autoneg disabled at the local end will break that setup.
Therefore, I don’t see any issue, and I would say everything is working as it should.
Yes, you will need to manually disable autoneg, but that is because the remote end has autoneg also disabled and this is expected behaviour.
What options should be added to disable “autoneg” in that new way used by @dangowrt?
The above commit makes sure flow control settings are handled by netifd even for SFP devices. You should not use rc.local for this.
You may instead add a device section to /etc/config/network:
I have just updated to latest snapshot (with unattended sysupgrade) to SNAPSHOT r27229-ebe7c5f1a3 LuCi Master 24.212.79282-65b8002 and those options don’t work
No, I haven’t tried it yet, today I’ll install the new version of snapshot, check it and write to you about the result. Thank you very much for your answer!
My test results on latest snapshot for bpi-r4, dfp-34x-2c2 not up connection.
I edit dfp-34x-2c2 eeprom, change lan_sds_mode and all my variants without good results.
Default, no edited eeprom answer for ethtool eth2:
root@OpenWrt:~# ethtool eth2
Settings for eth2:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseX/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: internal
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no
Default, not edited eeprom answer for ethtool -m eth2: