BPI-R4 Pro 10G RJ45 WAN/LAN link @1Gb flapping problem

Hello friend, could you please tell me which mirror of the official website you used for the test, 20251229 or 251125?

Hi, I used this version — BPI-R4Pro-8X-BE14-MT76-OpenWRT24.10-DSA-251229, taken from here Banana Pi BPI-R4 Pro Wifi7 Router board design with Mediatek MT7988A | BananaPi Docs.

do you experience this only on the lan 10g port?

d16549a1a59d5a93ee5c0011d36f758c11f59773 - openwrt/feeds/mtk-openwrt-feeds - Gitiles

3). Change mxl862xx DSA CPU port to 10GBASE-R and mxl_lan5 to USXGMII, although the mxl862xx DSA driver ignores these settings.

it looks like the DSA driver of the switch where the 10g port is connected ignores USXGMII and is not able to autonegotiate… hence your issue.

also:

2). Change AN8831X interface to USXGMII to avoid low throughput when linking at non-10Gbps, since 10GBASE-R does not support rate adaptation.

This was pushed on the 12th of jan and probably included in the image of the 29th of december from sinovoip

as i said in another thread to me that patch from mediatek corresponds to line 3 in the screenshot from lastes image from sinovoip

@frank-w fyi

1 Like

Yes, only at 10G. For that one, I have to manually set 1G in the network adapter settings in Windows. At the same time, the neighboring 2.5G port works perfectly and doesn’t throttle the uplink speed.

well this clearly matches with " 3). Change mxl862xx DSA CPU port to 10GBASE-R and mxl_lan5 to USXGMII, although the mxl862xx DSA driver ignores these settings."

means that mediatek switched the ports in usxgmii mode to achieve autonegotiation but because the lan 10g port is behind the maxlinear switch it won’t work as DSA driver ignores that settings.

For now there is no solution. The only one could save us is @dangowrt for a DSA driver that supports that :smiley:

1 Like

P5 (cpu port) is really strange as it is changed from usxgmii to 10gbase-r,but gmac2 should be configured as usxgmii (not changed in patch).

I made some tests with Christian (dev from as phy) and we had some issues with the phy when running in usxgmii mode. Afair it was with rate adaption at lower speeds,but not sure.

Apparently, the way out of this situation is to buy a 10G network card for the PC :rofl:

1 Like

or proper sfp+ rj45 transceiver to avoid using the aeonsemi

If there’s any info about a module that supports 1/2.5/10 Gbit/s and works in this port, please let me know ))