generic: 6.6: mtk_eth_soc: reset all TX queues on DMA free
authorDaniel Golle <daniel@makrotopia.org>
Wed, 18 Sep 2024 01:12:24 +0000 (02:12 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 20 Sep 2024 15:35:41 +0000 (16:35 +0100)
commit0787d95f06d962ef32ca1dd096b4d121155e25ae
tree7f2244a894a94c00814bd1bf4431f3449d9968f7
parent2ee1392e094f9b6fdb2a759e2e29fa203b61e066
generic: 6.6: 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/+/5746a94456f466446cc0dcdfbd9078df6df31b63
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/pending-6.6/730-net-ethernet-mtk_eth_soc-reset-all-TX-queues-on-DMA-.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch