summaryrefslogtreecommitdiffstats
path: root/include/linux/hash.h
diff options
context:
space:
mode:
authorPraveen Kumar Kannoju <praveen.kannoju@oracle.com>2024-05-08 19:06:17 +0530
committerJakub Kicinski <kuba@kernel.org>2024-05-09 20:24:13 -0700
commit33fb988b67050d9bb512f77f08453fa00088943c (patch)
tree5651c6f9c19265e56528c1d519a7ffb61dd6b013 /include/linux/hash.h
parent60e0f986e89f10f2de874ff3ce8e2230701c9706 (diff)
downloadlinux-stable-33fb988b67050d9bb512f77f08453fa00088943c.tar.gz
linux-stable-33fb988b67050d9bb512f77f08453fa00088943c.tar.bz2
linux-stable-33fb988b67050d9bb512f77f08453fa00088943c.zip
net/sched: adjust device watchdog timer to detect stopped queue at right time
Applications are sensitive to long network latency, particularly heartbeat monitoring ones. Longer the tx timeout recovery higher the risk with such applications on a production machines. This patch remedies, yet honoring device set tx timeout. Modify watchdog next timeout to be shorter than the device specified. Compute the next timeout be equal to device watchdog timeout less the how long ago queue stop had been done. At next watchdog timeout tx timeout handler is called into if still in stopped state. Either called or not called, restore the watchdog timeout back to device specified. Signed-off-by: Praveen Kumar Kannoju <praveen.kannoju@oracle.com> Link: https://lore.kernel.org/r/20240508133617.4424-1-praveen.kannoju@oracle.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/hash.h')
0 files changed, 0 insertions, 0 deletions