We were not successful communicating with the phy on the sfp module at all. The author of the yt8821 driver has hardwired an yt8821 to the BPI-R3, he did not use a RollBall sfp module.
Perhaps Marek has made some progession, I do not know.
Hey,
Stupid question: is it possible to change somehow the SFP module that would be recognized not as OEM but that it contains yt8821?
Another question: do you have also an issue with upload on that module? Is it possible somehow to improve usage of that module? On the BPI-R4, when I connect to the WAN interface, I have 940/940Mbit, but which SFP with yt8821 it is just 900/550Mbit
EDIT:
I tried to change the module name from OEM to something else, like:
EDIT:
For those who read and don’t know what to do, first you need to find a password to be able to change the value (via bruteforce). If you are lucky, no bruteforce would be needed.
Just curious: what system are you using?
Normally you should also be affected (I mean if you are using OpenWRT). By disabling sqm, I got 40% of the maximum upload bandwidth.
So definitely there is an issue with YT8821 and OpenWRT Snapshot (24.10) that is working on kernel 6.6.
For connection LAN<->WAN (network 1/1 Gbps, HW offload), I have 940/938Mbps (so it is correct).
For connection Wireless<->WAN(network 1/1Gbps, HW offload, WO disabled, AX, 160Mhz, 5GHz), I have 860/210Mbps (where testing network via iperf3 or librespeed-go that is running on the BPI-R4, for local connection I have 1640/1100Mbps, so definitely it is not wireless issue).
To get better performance, I can enable SQM with fq_codel + piece_of_cake, then the results are 908/730Mbps. I have done many speed tests, many tests even for dedicated servers - each time results are same.
So when I switch back to use port WAN (not sfp one), results are 915/890Mbps.
I just want to share the results with others. Maybe it will help someone to avoid buying SFP with that chipset (for now).
EDIT:
Found temporary “solution”: enabling flow control (ethtool -A eth2 rx on tx on) seems to improve upload, but download goes slower - I can accept that. Finally results after enabling flow control: 850/940Mbps
To make flow control enabled after upgrade:
cat <<EOF > /etc/rc.local
if ethtool -a eth2 | grep -i rx | grep -q off; then echo "Setting flow control..."; ethtool -A eth2 rx on tx on; ip link set eth2 down; sleep 2; ip link set eth2 up ; fi
exit 0
EOF