[][Kernel][mt7988][eth][Add sw padding in Ethernet Tx]
[Description]
Add software padding processing in Ethernet Tx path.
It's found that too-short packets would lead to
switch Tx CRC error, followed by switch output
queue stuck issue. So Ethernet driver should check
if the packet is too short and conduct software
padding when necessary.
If without this patch, switch might encounter output
queue stuck issue.
[Release-log]
N/A
Change-Id: Ibd94cbf3be0530d2b9ee61477b0362d099c47d8e
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7109899
2 files changed