Hardware acceleration is generally between NAT, such as WAN-LAN, like server is in the WAN side, and the client is in the LAN.
Non-NAT, like LAN-LAN will not use hardware acceleration.
For the bidirectional refers to the WAN-LAN that uses hardware acceleration.
That's not the experience I had doing intervlan routing on the flint2, there was a noticeable difference between HW acceleration on and off.
LAN - LAN traffic may not even touch the router at all depending on the network setup and in a standard setup it's likely to only need to switch chip (if the devices are using the inbuilt ports).
It's only if you have setup multiple LANs/Vlans any routing will be involved for LAN > LAN traffic.
The two 2.5G ports in the hardware layer are not under the same switch chip, but in LAN-LAN, so they will touch the router CPU.
VLANs/Multi-LANs, same the above I think.
I was assuming the use of the 1G LAN ports in a "typical" setup.
Most people won't be doing inter vlan routing, and as such the LAN > LAN traffic is either not going to touch the router at all or if it is then it's likely to only touch the switch.
Yes there are crazy people like me who hang vlans off the 2.5G port or make the other 2.5G WAN port a LAN port in Luci but I'd imagine that's not a common config.
Single stream Iperf between VLAN's was definitely faster with HW acceleration on vs off, but I suspect enabling HW accell also enables the SW flow offloading and it's possible that is enough to speed it up.
I'd have to watch CPU load more closely to see what it's doing.
Edit:
Yep there's a noticeable difference between HW acceleration on, SW acceleration and OFF.
I was testing from an WSL2 container so that potentially causes a bottleneck
Hello
So you’re saying that when I did my iPerf tests between my nas in the lan (connected to the wan-lan port) and the router itself , it’s the same as if I did the test between wan and lan ??
I’ M not sure I understood correctly.
Seems the same if the iperf3 server in NAS and NAS in the WAN, Router SSH iperf3 client.
You can observe whether the traffic of the WAN (eth1) and the br-lan (or eth0) increases at the same time, to determine whether the traffic path is WAN-LAN.