Test image for the Asus RT-AX89X on the PPE flow offload branch (no NSS): ppe-flow-offload at 40388527d7a, the branch of OpenWrt PR #24806.
The QCA8337 runs on the "qca-8021q" tag, and the PPE flowtable now offloads routed connections to and from lan3-lan8 in hardware, as it does for the other ports. It also has the 10G/2.5G EEE fix.
Flash with "keep settings" and enable hardware flow offloading (Network > Firewall > Routing/NAT Offloading > Hardware flow offloading).
After boot, cat /sys/class/net/switch/dsa/tagging should print qca-8021q and lan3-lan8 should pass traffic. During a download from a lan3-lan8 device, grep -E "^offloaded|live_entries|not_switch_port" /sys/kernel/debug/3a000000.ppe/offload should show "offloaded" growing, and /sys/kernel/debug/3a000000.ppe/flows should list entries whose last two columns (packets, bytes) grow.
Not covered: lan3-lan8 in a VLAN-aware bridge stay in software, and so do connections routed between two of lan3-lan8.
If something does not work, please post:
cat /sys/class/net/switch/dsa/tagging
bridge link; bridge vlan show
cat /sys/kernel/debug/3a000000.ppe/offload
ip -s link show switch
dmesg | grep -iE "qca8k|qca-ppe|8021q|warn|bug" | tail -40