Re: stmmac: Race in coalesce timer and NAPI

2018-09-21 Thread Eric Dumazet
On 09/21/2018 02:19 AM, Jose Abreu wrote: > Hello, > > I'm getting a race in stmmac coalesce timer and the > napi_schedule() interrupt and I'm asking for advice. Currently, > we are scheduling NAPI in coalesce timer but this leads to > stmmac_tx_clean() deadlock because this function tries to a

stmmac: Race in coalesce timer and NAPI

2018-09-21 Thread Jose Abreu
Hello, I'm getting a race in stmmac coalesce timer and the napi_schedule() interrupt and I'm asking for advice. Currently, we are scheduling NAPI in coalesce timer but this leads to stmmac_tx_clean() deadlock because this function tries to acquire queue lock. I find that this is not expected beca