summaryrefslogtreecommitdiff
path: root/drivers/watchdog/asm9260_wdt.c
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2023-09-07 13:46:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-19 13:28:08 +0300
commit9dbbc87d5b61606fbf9e84e921006174693865a2 (patch)
tree2572fe3c3d937d6de0a0eccabe9835ad1d3dd82c /drivers/watchdog/asm9260_wdt.c
parent70c8d17007dc4a07156b7da44509527990e569b3 (diff)
downloadlinux-9dbbc87d5b61606fbf9e84e921006174693865a2.tar.xz
net: stmmac: fix handling of zero coalescing tx-usecs
[ Upstream commit fa60b8163816f194786f3ee334c9a458da7699c6 ] Setting ethtool -C eth0 tx-usecs 0 is supposed to disable the use of the coalescing timer but currently it gets programmed with zero delay instead. Disable the use of the coalescing timer if tx-usecs is zero by preventing it from being restarted. Note that to keep things simple we don't start/stop the timer when the coalescing settings are changed, but just let that happen on the next transmit or timer expiry. Fixes: 8fce33317023 ("net: stmmac: Rework coalesce timer and fix multi-queue races") Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/watchdog/asm9260_wdt.c')
0 files changed, 0 insertions, 0 deletions