openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
20.31k stars 10.5k forks source link

WRT1900 / WRT1200AC v2 softoffload does not work #16184

Open ja16779 opened 2 months ago

ja16779 commented 2 months ago

Describe the bug

I have a par of linksys router wrt1900 / wrt 1200 and the softoffloading does not work, when enable the pages does not open, ever the ping answer

OpenWrt version

r24012-d8dd03c46f

OpenWrt release

23.05.4

OpenWrt target/subtarget

mvebu/cortexa9

Device

Linksys WRT1900AC v2

Image kind

Official downloaded image

Steps to reproduce

enable firewall soft offload

Actual behaviour

Forwarding stops

Expected behaviour

Accelerated forwarding happens

Additional info

No response

Diffconfig

No response

Terms

anomeome commented 2 months ago

Forum thread with WIP link which is the apparent resolution.

brada4 commented 2 months ago

In the forum thread @jow- was mentioned as knowledgeable on subject. Essence - when dsa user ports are excluded from soft offload abusing latest fw4 code - offloaded forwarding starts to happen. Which avoids and softly points to a bug or shortage in particular DSA driver set.

brada4 commented 2 months ago

Steps to reproduce: enable firewall soft offload Actual behaviour: Forwarding stops Expected behaviour: Accelerated forwarding happens

PalebloodSky commented 2 months ago

Software flow offloading is broken on WRT32X too. Similar internal hardware so would be expected, but just to confirm. Tested a few versions with 5.15, as far back as 23.05.0.

brada4 commented 2 months ago

You can avoid suspected buggy DSA driver using latest firewall4 code https://forum.openwrt.org/t/wrt1200ac-does-not-work-softoffloading/207507/12?u=brada4 I.e. offload discharges to bridge interface additionally keeping LAN ARP and wifi roaming undisturbed by itself, still doing heaviest packet re-addressing part fast.