[][kernel][common][eth][Add ADMA DMAD DDONE bit check]

[Description]
Add ADMA DMAD DDONE bit check.

The NAPI TX function in the Ethernet driver is often called
multiple times when only one interrupt is triggered.
This situation may cause packet data to be cleared before
ADMA completes processing.

Therefore, we align QDMA to add DDONE bit check to ensure
that ADMA has completed processing.

Without this patch, unexpected situatios may occur.

[Release-log]
N/A


Change-Id: If81fe4ab1184f776c400349b850f0dc6c4a1fa2a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8657082
1 file changed