summaryrefslogtreecommitdiff
path: root/net/ethtool
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski <olek2@wp.pl>2021-06-09 00:21:07 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-09 05:16:32 +0300
commitf2386cf7c5f4ff5d7b584f5d92014edd7df6c676 (patch)
treef9c56ac832d6312aea2dd3c9750760b1bf73dcad /net/ethtool
parent504fd6a5390c30b1b7670768e314dd5d473da06a (diff)
downloadlinux-f2386cf7c5f4ff5d7b584f5d92014edd7df6c676.tar.xz
net: lantiq: disable interrupt before sheduling NAPI
This patch fixes TX hangs with threaded NAPI enabled. The scheduled NAPI seems to be executed in parallel with the interrupt on second thread. Sometimes it happens that ltq_dma_disable_irq() is executed after xrx200_tx_housekeeping(). The symptom is that TX interrupts are disabled in the DMA controller. As a result, the TX hangs after a few seconds of the iperf test. Scheduling NAPI after disabling interrupts fixes this issue. Tested on Lantiq xRX200 (BT Home Hub 5A). Fixes: 9423361da523 ("net: lantiq: Disable IRQs only if NAPI gets scheduled ") Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions