aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorPraveen Kaligineedi <[email protected]>2025-07-17 19:20:24 +0000
committerJakub Kicinski <[email protected]>2025-07-22 00:14:12 +0000
commitb03f15c0192b184078206760c839054ae6eb4eaa (patch)
tree665d0668edb5e38020e3d46955d8ddb9927fb7cf /rust/helpers/task.c
parentnet: appletalk: Fix use-after-free in AARP proxy probe (diff)
downloadkernel-b03f15c0192b184078206760c839054ae6eb4eaa.tar.gz
kernel-b03f15c0192b184078206760c839054ae6eb4eaa.zip
gve: Fix stuck TX queue for DQ queue format
gve_tx_timeout was calculating missed completions in a way that is only relevant in the GQ queue format. Additionally, it was attempting to disable device interrupts, which is not needed in either GQ or DQ queue formats. As a result, TX timeouts with the DQ queue format likely would have triggered early resets without kicking the queue at all. This patch drops the check for pending work altogether and always kicks the queue after validating the queue has not seen a TX timeout too recently. Cc: [email protected] Fixes: 87a7f321bb6a ("gve: Recover from queue stall due to missed IRQ") Co-developed-by: Tim Hostetler <[email protected]> Signed-off-by: Tim Hostetler <[email protected]> Signed-off-by: Praveen Kaligineedi <[email protected]> Signed-off-by: Harshitha Ramamurthy <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions