diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-12-18 11:17:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-18 12:04:18 -0800 |
commit | 4772f26db8d1fb568c4862c538344a1b5fb52081 (patch) | |
tree | 128c69d4509bb6e719054d7306bb215557a77ccf /include | |
parent | b2f3a481c4cd62f78391b836b64c0a6e72b503d2 (diff) | |
download | linux-4772f26db8d1fb568c4862c538344a1b5fb52081.tar.bz2 |
net: stmmac: Always arm TX Timer at end of transmission start
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: 9125cdd1be11 ("stmmac: add the initial tx coalesce schema")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions