1
0
Fork 0
remarkable-linux/drivers/net/ethernet/marvell
Antoine Tenart 85ebbc5a25 net: mvpp2: fix a txq_done race condition
[ Upstream commit 774268f3e5 ]

When no Tx IRQ is available, the txq_done() routine (called from
tx_done()) shouldn't be called from the polling function, as in such
case it is already called in the Tx path thanks to an hrtimer. This
mostly occurred when using PPv2.1, as the engine then do not have Tx
IRQs.

Fixes: edc660fa09 ("net: mvpp2: replace TX coalescing interrupts with hrtimer")
Reported-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-18 09:16:18 +02:00
..
Kconfig net: mvpp2: finally add the PPv2.2 compatible string 2017-03-09 10:12:11 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mv643xx_eth.c net: mv643xx_eth: Be drop monitor friendly 2017-08-24 21:27:09 -07:00
mvmdio.c net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case 2018-01-02 20:31:08 +01:00
mvneta.c net: mvneta: fix mtu change on port without link 2018-09-19 22:43:42 +02:00
mvneta_bm.c net: mvneta: Fix lacking spinlock initialization 2016-05-25 12:35:08 -07:00
mvneta_bm.h net: mvneta: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
mvpp2.c net: mvpp2: fix a txq_done race condition 2018-10-18 09:16:18 +02:00
pxa168_eth.c net: pxa168_eth: Adjust four checks for null pointers 2017-04-18 13:55:10 -04:00
skge.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
skge.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sky2.c sky2: Increase D3 delay to sky2 stops working after suspend 2018-04-12 12:32:24 +02:00
sky2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00