Test image for the Asus RT-AX89X: nss-edma-rework at 51aa58baec8 (NSS offload, QCA8337 on the "qca-8021q" tag), plus a diagnostic script.
Fixes in this build for lan3-lan8 on qca-8021q:
- The bridge's default VLAN 1 replaced each bridged port's tag_8021q PVID, so frames from lan3-lan8 could reach the router untagged and unassigned. A port now keeps the tag_8021q PVID unless its bridge filters by VLAN, and the CPU port stays a tagged member.
- A bridged port keeps its own VLAN, which carries frames the bridge does not forward in hardware (IGMP, MLD).
- Frames that arrive without a tag are dropped instead of being cut.
Flash with "keep settings". If lan3-lan8 work, run a speed test from a lan3-lan8 device and post nss-status -d taken during it.
If lan3-lan8 still do not work, keep a PC on one of lan3-lan8 and run:
ax89x-diag 192.168.x.y # the PC's IP; without it the script picks a neighbour
It takes about a minute, briefly switches the tag to qca-etype and back, and writes /tmp/ax89x-diag.txt. Please post that whole file. The script is also attached here.
This image allows writing switch registers through debugfs, for the script; it is for testing only.