Skip to content
Commit cfc020e1 authored by Jose Abreu's avatar Jose Abreu Committed by Paul Gortmaker
Browse files

net: stmmac: Always arm TX Timer at end of transmission start



commit 4772f26d upstream.

If TX Coalesce timer is enabled we should always arm it, otherwise we
may hit the case where an interrupt is missed and the TX Queue will
timeout.

Arming the timer does not necessarly mean it will run the tx_clean()
because this function is wrapped around NAPI launcher.

Fixes: 9125cdd1 ("stmmac: add the initial tx coalesce schema")
Signed-off-by: default avatarJose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[PG: use linux-stable 4.19.95 version instead of mainline.]
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent a49ef677
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment