aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorDaniel Golle <[email protected]>2025-05-05 01:07:32 +0000
committerPaolo Abeni <[email protected]>2025-05-06 11:37:34 +0000
commit4db6c75124d871fbabf8243f947d34cc7e0697fc (patch)
treeae466a4316528af51f96eb333f3918aaee578c6d /net/core/dev_api.c
parenttools: ynl-gen: validate 0 len strings from kernel (diff)
downloadkernel-4db6c75124d871fbabf8243f947d34cc7e0697fc.tar.gz
kernel-4db6c75124d871fbabf8243f947d34cc7e0697fc.zip
net: ethernet: mtk_eth_soc: reset all TX queues on DMA free
The purpose of resetting the TX queue is to reset the byte and packet count as well as to clear the software flow control XOFF bit. MediaTek developers pointed out that netdev_reset_queue would only resets queue 0 of the network device. Queues that are not reset may cause unexpected issues. Packets may stop being sent after reset and "transmit timeout" log may be displayed. Import fix from MediaTek's SDK to resolve this issue. Link: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/319c0d9905579a46dc448579f892f364f1f84818 Fixes: f63959c7eec31 ("net: ethernet: mtk_eth_soc: implement multi-queue support for per-port queues") Signed-off-by: Daniel Golle <[email protected]> Link: https://patch.msgid.link/c9ff9adceac4f152239a0f65c397f13547639175.1746406763.git.daniel@makrotopia.org Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions