[][kernel][mt7988][eth][Add ADMAv2 multiple TX rings support]

[Description]
Add ADMAv2 multiple TX rings support.

Currently, only MT7988 platform uses ADMAv2.

To enable ADMAv2 with multiple TX rings, you must remove
the MTK_QDMA capability in the Ethernet driver, change
the tx_dma_size from 4K to 1K in the Ethernet driver, and
set qos_toggle to 0 (default is 2) using the following
command:
echo 0 > /sys/kernel/debug/hnat/qos_toggle.

Without this patch, only a single TX ring for ADMAv2 is
supported.

[Release-log]
N/A


Change-Id: I848fdf13dd60fa8f3a83ce4883d27bc6559f860a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9195605
3 files changed