[BPI-R4] TODO List

Not yet,also waiting for it, got info that some users were working on it,but saw no code yet

Currently upstreaming some parts for basic support we already have in openwrt/my repo to have it mainline.

I was looking at the rss/lro for mt7988a at one point, but concluded it was going to make the driver source code so messy, I gave up. I think the solution is to break the mt7988 driver into a separate driver and keep the code much cleaner and easier to read that way.

So from the test above, we still need something else to reach full 10gbps speed even after rss/lro landed. What’s still limiting the speed?

I’d like to add to the list support for MTU higher than 2030, which is the current limit. There’s a patch for the official OpenWrt release to enable it: A new dual 10G router based on Filogic 880 (Banana Pi BPi-R4) - #346 by pmisch - Hardware Questions and Recommendations - OpenWrt Forum

Getting the other 2 PPEs to work

Post Can’t be empty. Must be 20 char

wait, i thought it wasnt since dangowrts list didnt mark it off

Post Can’t be empty. Must be 20 char

If i may add to the todo, does someone know if/how can we check if the wifi driver supports 4addr for the WDS access point mode ?

@glassdoor This thread it aimed specifically at getting a mainline Linux kernel working on the bpi-r4. It is not about the highly modified openwrt one. We do keep an eye on the openwrt one, in case we wish to port things across. In the long run, if we can get all the needed features into mainline Linux, openwrt would not need a separate one, at least, on the more capable (more ram, cpu) platforms like the bpi-r4. This would result in far less work for the openwrt team in the long run. So, I would like to keep this thread more along the lines of a TODO list for the mainline Linux kernel running on the bpi-r4.

1 Like

my bad for pooping in your thread

@frank-w Hello, I heard that map-e and dslite are also supported by hardware offloading but not support by mainline flow offload. Is it real?

There is a catch, when controlling output pins…

GPIO control through libgpiod using the command gpiocli - Banana Pi Router design - banana pi single board computer open source project official forum BPI team (banana-pi.org)

Something else seems could be added to TODO list:

ebpf xdp support

DS-Lite, 6RD, MAP-E/T and 464xlat hardware offload support

1 Like

FYI i started new attampt to getting RSS/LRO to work based on upported patch from @balika011 with mtk. Btw. This is listed twice in the list…and thought that ppe was working with 4g too,am i wrong?

1 Like

4g means 4gbps? If so seems correct.

I meant 4gb ram 36bit adressing afair was fixed for ppe too

wed; Re: [PATCH net-next] net: ethernet: mtk_wed: add support for devices with more than 4GB of dram - Daniel Golle

eth: [net-next,v3,4/4] net: ethernet: mtk_eth_soc: support 36-bit DMA addressing on MT7988 - Patchwork

1 Like

Yes there were some patches for this problem,but afaik ppe was independ of wed and ethernet fixes.

Could be this one,but not sure

https://patchwork.kernel.org/project/linux-mediatek/patch/97e90925368b405f0974b9b15f1b7377c4a329ad.1706113251.git.daniel@makrotopia.org/

PPE only supports 32bits address mode and hnat driver will allocate coherent memory for HNAT table , so we set dma mask to 32bits in ethernet driver to support 4GB dram.

1 Like