[][CRITICAL][kernel][common][eth][Fix SW path transmission timeout issue]

[Description]
Fix SW path transmission timeout issue.

When the CPU (handling TX interrupt) usage rate reaches 100%,
the HW tx ring will be almost full (all queues are stopped).
Transmission timeout for unused queues occur when there is
no time to handle interrupts and all queues cannot be started
in time.

In order to avoid this issue, we adjusted the TX DMA size
from 2048 to 4096 and the RX DMA size (single ring) from
2048 to 1024 to make the number of packets entering and
exiting the system more even.

If without this patch, the issue will occur within 20 seconds
in bidirectional 10G NAT SW path throughput test.

[Release-log]
N/A


Change-Id: Ia93c277882fcbb3657beb2158c11d2627edfef16
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8848668
4 files changed