[Refine Ethernet t-put bound for MT7981]
Refactor and refine Ethernet t-put bound issue for MT7981.
This patch includes two major changes:
1. "Re-organize the mapping relationship between queue & sch"
Currently, the sw data path is adjusted as below
* CPU(eth0) --> QDMA queue0 --> QDMA sch0 --> GMAC1
* CPU(eth1) --> QDMA queue8 --> QDMA sch1 --> GMAC2
2. "Disable bridge netfilter module by default"
After mtkhnat module is loaded to system, mtkhnat init
script will automatically disable bridge netfilter module
in order to reduce high cpu usage.
Then, whenever HQoS is activated, bridge netfilter module
will be enabled to allow skb being marked. In that way,
HQoS can properly operate as before.
If without this patch, there is a 1500M performance bound situation
on Ethernet LAN->WAN sw path.
2 files changed