Commit Graph

1 Commits

Author SHA1 Message Date
Daniel Golle
0787d95f06 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: 5746a94456
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-09-20 16:35:41 +01:00