Yeah,but sdk changed to an larger driver with debug parts. So not upstreamable and i found no time yet to analyse differences in core. For upstream openwrt and mainline linux we have to first get ethmux (phy port series from maxime as base) complete.
I haven’t checked. You’ll probably be using frank-w’s kernels in that case so feel free to check the commit log for the WED patches. ![]()
I use mine as a wired router, which is also what I recommend to others, so I simply haven’t cared enough about WED to check what patches are needed for that feature. ![]()
This looks good. Maybe I should contact BPI and ask if they can add this patch.
Hi everyone!
I don’t want to spam the PR comments on GitHub, but could you please share with the community and everyone waiting what stage this PR is currently at? Are there any specific issues or blockers you’ve run into, and is it expected that the WIP/draft label might be removed in the near future?
We really appreciate all the work you’re doing on the mainline branch and are keeping our fingers crossed
Don’t expect that to be merged and hence have mainline openwrt support earlier than June.
There are critical missing parts in the Linux kernel that will take time to be developed and than back ported. So take a seat an stick with the sinovoip or mediatek code/builds
Hello, Back again.
Just put my entire home lab through extensive testing and i’m happy to see the bpi r4 pro maxing out it’s internal inband USXGMII 10 gigabit connection without exploding.
However…
This is only through the maxlinear switch.
If i connect my PC to the 10 gigabit rj45 port then run a simple iperf3 test the bpi completely craps out and only does a few megabits/s if any
That can be “fixed” by setting scatter gather off on eth2, Then the bpi can do up to a gigabit of TX throughput and link speed RX (In my case my pc has a 5 gigabit port so 5 gigabit)
That sadly has the downside of completely nuking any high bandwidth traffic on the maxlinear switch
Any ideas?
I wanna put the blame on the fact my PC has a 5 gigabit port and the 10 gigabit port on the bpi is running at an unsupported/unadvertised speed, Could be wrong though, Lmk
It would be better creating a new topic with telling you used image (bpi,openwrt with/without sdk,…) and exact port…
There are known issues with the phy chip (rj45 port on both combo). Lan combo is behind mxl switch,wan combo directly on mtk mac.
Specific question in this general thread leading to confusion.
a couple of comments regarding the buildimg.sh script
- wireless-regdb
points to a old repo - update to this url that has the latest regdb country settings
- /boot/uEnv.txt is created empty
one needs to add to uEnv.txt
variant=r4pro
isr4pro=1
so, uboot picks the right dts
Hi,would be better in the debian/ubuntu building page but answer directly.
Thanks i will update the link
The uenv.txt is prepared with all possible variant and choosing active one by sourcefiles_bpi-r4.conf
sorry wasn’t aware there is a build page for ubuntu would you mind to share … i only see the boards in categories
only the variant section in readme, i added recently
variant in build-config changes uEnv.txt for uboot in image to choose the right base-dts
btw. changed the regdb url too
Why 2 versions of R4 Pro?
About mainline dts:
Will there be 2 different .dts, one for 4e and one for 8x?
Or 1 base .dts for R4 Pro, with applying .dtso for any variation on the board? (Maybe they even make more variants?)
Anyway, who will buy the 4e, when there is the 8x?
ask sinovoip
…4e uses internal 2.5g phy instead of aeonsemi phys and only 1 sfp…it is not only ram as difference
there is a bpi-r4pro.dtsi with common-parts which is included in the 8x and 4e dts for the boards…so result is a dtb for 8x and one for 4e…overlayys for sdmmc/emmc/pcie/… are additional
so we have no redundant code for same baseboard, only adding differences in the board-dts
Good News: openwrt support goes forward. I have got the SFP slot working without mux (hardcoded channelselect in dts because phy does not work with mainline driver). So the SFP slots can be now used in my code. I hope andrew picks up my changes in his PR.
Is the lan sfp working too?
In that case we have a good starting point.
If your mxl switch pull request is approved we have good support and the only thing missing is muxing between phy and sfp
Both sfp were working in my short test (as you can see in the comment i’ve linked). As i said not only muxing is missing…also driver for aeonsemi phy needs change to work with r4pro.
But yes, we have now a usable base where only the 2 phy-ports not yet usable.
But i have no response yet from dev who is my contact for the aeonsemi phy
and i’m stuck there after some debugging.
edit: made a rebase to have less commits ![]()
It looks like he doesn’t have enough time — he hasn’t made any changes for quite a while. I really hope he grants access to this PR or merges your changes so we can finally have a usable snapshot ![]()
I do not want to hijack his PR,just help to move forward. He added mxl dt node patch in last week,maybe he had not much time last days. Keep calm
the mxl driver is also not yet merged which is currently a requirement for r4pro PR.
lan ports(2.5g) work only in cooldboot, restart make it down. power off → boot → ports up and working. Restart → ports flaps toons of times and down
root@OpenWrt:~# ip link show lan0
5: lan0@eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether e6:60:16:0c:e5:11 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:~# ethtool lan0
Settings for lan0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Half
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: d
Link detected: no
root@OpenWrt:~#
root@OpenWrt:~# dmesg | grep -i mxl
[ 5.934666] mxl862xx mdio-bus:10: switch ready after 0 ms, firmware 1.0.70 (build 70)
[ 5.942518] mxl862xx mdio-bus:10: Mxl862xx CPU Port 9, User Port number 4
[ 5.988630] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:00: Firmware Version: 0.77 (0x004D test version)
[ 6.042685] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:01: Firmware Version: 0.77 (0x004D test version)
[ 6.096665] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:02: Firmware Version: 0.77 (0x004D test version)
[ 6.150633] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:03: Firmware Version: 0.77 (0x004D test version)
[ 6.204659] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:04: Firmware Version: 0.77 (0x004D test version)
[ 6.221804] mxl862xx mdio-bus:10: mxl862xx_set_vlan_filter_limits: user_pnum:4, priv->max_vlans: 54, cpu_ingress_entries: 9, cpu_egress_entries: 110, user_ingress_entries: 113, user_egress_entries: 111
[ 6.251519] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[ 6.263852] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 1, to vlan:1 failed with ret -1
[ 6.275490] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[ 6.289034] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 2, to vlan:1 failed with ret -1
[ 6.313618] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[ 6.325954] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 3, to vlan:1 failed with ret -1
[ 6.346494] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[ 6.358827] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 4, to vlan:1 failed with ret -1
[ 6.374190] mxl862xx mdio-bus:10: configuring for fixed/usxgmii link mode
[ 6.380979] mxl862xx mdio-bus:10: Link is Up - 10Gbps/Full - flow control off
[ 6.381943] mxl862xx mdio-bus:10 lan0 (uninitialized): PHY [mxl862xx_dsa-0:00] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[ 6.400558] mxl862xx mdio-bus:10 lan1 (uninitialized): PHY [mxl862xx_dsa-0:01] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[ 6.418396] mxl862xx mdio-bus:10 lan2 (uninitialized): PHY [mxl862xx_dsa-0:02] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[ 6.430722] mxl862xx mdio-bus:10 lan3 (uninitialized): PHY [mxl862xx_dsa-0:03] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[ 6.452270] mxl862xx mdio-bus:10: Firmware version 1.0.70.70
[ 6.737282] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 15.186559] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 15.208910] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 15.241893] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 15.264910] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 15.288816] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 15.311786] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 15.335398] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 15.400015] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 15.424613] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 15.462114] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 15.485508] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 15.514419] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 15.537389] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 15.566331] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 15.630188] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 15.652223] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 15.694074] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 15.716960] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 15.750137] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 15.772914] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 15.806317] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 15.870602] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 15.892631] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 15.939293] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 15.962185] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 16.000356] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 16.023139] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 16.321030] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 16.480787] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 16.510841] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 16.558188] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 25.838088] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 28.949189] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 28.987557] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 29.010471] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 29.048795] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 29.061220] mxl862xx mdio-bus:10 lan0: Link is Down
[ 29.116806] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 29.141044] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 29.187897] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 29.210735] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 29.248955] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 29.271763] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 29.309829] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 29.371234] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 29.393037] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 29.439773] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 29.462593] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 29.500662] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 29.523473] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 29.561656] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 29.624010] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 29.645797] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 29.692409] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 29.715312] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 29.753471] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 29.776277] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 29.814308] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 303.098878] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 307.261594] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 471.594896] mxl862xx mdio-bus:10 lan0: Link is Down
[ 474.721172] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 510.372386] mxl862xx mdio-bus:10 lan0: Link is Down
[ 510.450363] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 510.473563] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 510.520712] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 510.543535] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 510.582244] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 510.605036] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 510.643123] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 510.724846] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 510.746665] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 510.793397] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 510.816215] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 510.854341] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 510.877114] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 510.915326] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 510.994230] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 511.016050] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 511.062737] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 511.085596] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 511.123863] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 511.146635] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 511.184887] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 511.263648] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 511.285470] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 511.332372] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 511.355194] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 511.393431] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 511.416199] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 511.713623] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 511.885835] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 511.908704] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 511.934196] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 511.957111] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 511.995217] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 512.018076] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 512.056380] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 512.198320] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 512.220163] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 512.258457] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 512.281306] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 512.320128] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 512.342950] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 512.381041] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 512.449323] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 512.471118] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 512.517843] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 512.540750] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 512.578773] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 512.601598] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 512.639771] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 512.701386] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 513.001869] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 513.040208] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 513.063137] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 513.101314] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 513.124144] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 513.162343] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 548.283955] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 548.322558] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 678.581623] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 678.614649] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 678.653285] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 678.676138] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 678.714252] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 678.737023] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 678.775218] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 678.856740] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 678.878570] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 678.925382] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 678.948205] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 678.986393] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 679.009178] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 679.047510] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 679.126697] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 679.148488] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 679.195252] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 679.218074] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 679.256160] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 679.278934] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 679.317033] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 679.396760] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 679.418549] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 679.450251] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 679.473179] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 679.511330] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 679.534097] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 679.830555] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 680.003156] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[ 680.026141] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 680.073133] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 680.096014] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 680.134087] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 680.156909] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[ 680.195036] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[ 680.258750] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[ 680.280952] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 680.327607] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 680.350491] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 680.388744] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 680.411623] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[ 680.449756] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[ 680.549272] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[ 680.571075] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 680.617797] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 680.640703] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 680.678895] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 680.701723] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[ 680.739775] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[ 680.802165] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[ 680.823941] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 681.120142] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 681.149053] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 681.187155] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[ 681.210012] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[ 681.248198] mxl862xx mdio-bus:10 lan3: left allmulticast mode
root@OpenWrt:~# dmesg | grep -i eth1
[ 5.104809] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082980000, irq 104
[ 6.442385] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[ 6.710992] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 6.765705] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.143413] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 15.150984] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 15.204454] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.223442] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.247656] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.270917] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.294602] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.317794] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.341188] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.349243] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 15.365211] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 15.419418] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.439171] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.467877] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.491550] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.520182] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.543395] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.572080] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.579837] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 15.595361] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 15.648402] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.666715] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.699810] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.722964] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.755879] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.778910] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.812061] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.819756] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 15.835270] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 15.888331] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.907123] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.945044] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 15.968182] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 16.006099] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 16.029135] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 16.326775] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 16.334676] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 16.449389] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 16.508004] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 16.525357] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 16.563980] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 28.955209] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 28.993303] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.016477] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.054561] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.067556] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 29.086108] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 29.139148] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 29.155544] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.193640] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.216738] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.254698] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.277759] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.315571] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.324009] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 29.340864] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 29.393539] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 29.399031] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.445516] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.468589] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.506406] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.529470] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.567394] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.575807] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 29.592682] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 29.645728] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 29.660279] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.698146] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.721315] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.759209] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.782280] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 29.820045] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 29.873272] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 239.184212] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 239.237279] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 510.390285] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 510.417117] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 510.470129] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 510.488062] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.526450] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.549538] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.587991] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.611040] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.648867] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.657055] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 510.693845] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 510.746901] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 510.752660] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.799141] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.822216] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.860082] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.883110] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 510.921077] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 510.929470] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 510.963225] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 511.016292] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 511.022052] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.068483] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.091598] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.129605] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.152635] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.190631] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.198887] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 511.232672] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 511.285725] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 511.291468] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.338116] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.361197] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.399176] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.422199] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.719364] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.727877] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 511.852817] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 511.905989] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 511.908710] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 511.939941] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 511.963108] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.000967] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.024073] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.062135] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.075517] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 512.094253] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 512.147568] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 512.226161] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.264196] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.287310] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.325866] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.348955] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.386789] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.395316] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 512.418610] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 512.471653] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 512.477116] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.523582] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.546754] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.584510] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.607600] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 512.645508] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 512.653732] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 512.670681] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 512.723725] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 513.007878] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 513.045946] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 513.069141] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 513.107062] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 513.130148] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 513.168086] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 513.176514] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 548.289955] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 548.328298] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 678.545831] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 678.599247] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 678.620656] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 678.659024] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 678.682143] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 678.719999] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 678.743023] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 678.780960] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 678.789423] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 678.825706] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 678.878771] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 678.884569] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 678.931127] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 678.954207] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 678.992136] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.015180] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.053253] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.061672] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 679.095715] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 679.148790] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 679.154489] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.200998] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.224079] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.261903] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.284935] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.322776] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.331201] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 679.365743] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 679.418810] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 679.424547] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.455988] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.479175] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.517067] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.540098] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 679.836293] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 679.844772] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 679.970534] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 680.023506] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 680.040638] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.078871] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.102017] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.139832] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.162911] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.200779] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.209219] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 680.227873] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 680.280806] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 680.295435] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.333357] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.356489] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.394493] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.417619] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.455502] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.463956] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 680.518053] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 680.570818] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 680.585566] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.623539] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.646698] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.684647] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.707720] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 680.745522] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 680.753932] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[ 680.771470] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[ 680.824509] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[ 680.829939] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 681.125898] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 681.155055] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 681.192900] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 681.216009] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 681.253941] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[ 681.262402] mtk_soc_eth 15100000.ethernet eth1: Link is Down
Thank you for the report,the driver i try to add is for such tests…it will be replaced by mainline driver where such reports will improve this mainline driver.