Does openWRT enforce firewall rules?
homelab
Yes, the normal firewall ruleset was active during the tests, the traffic crossed two firewall zones. Software flow offloading only speeds up connections that the rules have already allowed.
Yes...?
Yeah it has already been answered. It was an honest question, I've never used OpenWRT and just roughly know it's a router os.
You had some serious misconfiguration going on. Probably wrong settings for hardware offloading, flow control, CPU flags or VirtIO I only use OpenWRT on my 2,5GbE router and 10GbE with OPNsense on proxmox, almost 0% CPU utilization under full load.
VirtIO wasn't involved in that test, the VM ran on SR-IOV VFs (mlx5). To be clear, this was routing between two VLANs through the firewall, not switching or bridging inside the same subnet. Traffic that stays on one VLAN never touches the router CPU. Do you get close to 10G with a single iperf3 stream between two VLANs with pf active? Multiple streams were fine here too, only the single stream maxed out the cores.