Re: [RFC][PATCH] net: fs_enet: fix tx error handling

2022-04-12 Thread Christophe Leroy
Le 17/03/2022 à 16:38, Mans Rullgard a écrit : > In some cases, the TXE flag is apparently set without any error > indication in the buffer descriptor status. When this happens, tx > stalls until the tx_restart() function is called via the device > watchdog which can take a long time. Is there a

[RFC][PATCH] net: fs_enet: fix tx error handling

2022-03-17 Thread Mans Rullgard
In some cases, the TXE flag is apparently set without any error indication in the buffer descriptor status. When this happens, tx stalls until the tx_restart() function is called via the device watchdog which can take a long time. To fix this, check for TXE in the napi poll function and trigger a