From: Paolo Abeni Date: Thu, 15 Jan 2026 10:55:09 +0000 (+0100) Subject: Merge branch 'introduce-and-use-netif_xmit_timeout_ms-helper' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8138fc46d9a44c0a3457028b9912cfd4406b35d1;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'introduce-and-use-netif_xmit_timeout_ms-helper' Tariq Toukan says: ==================== Introduce and use netif_xmit_timeout_ms() helper This is V2, find V1 here: https://lore.kernel.org/all/1764054776-1308696-1-git-send-email-tariqt@nvidia.com/ This series by Shahar introduces a new helper function netif_xmit_timeout_ms() to check if a TX queue has timed out and report the timeout duration. It also encapsulates the check for whether the TX queue is stopped. Replace duplicated open-coded timeout check in hns3 driver with the new helper. For mlx5e, refine the TX timeout recovery flow to act only on SQs whose transmit timestamp indicates an actual timeout, as determined by the helper. This prevents unnecessary channel reopen events caused by attempting recovery on queues that are merely stopped but not truly timed out. ==================== Link: https://patch.msgid.link/1768209383-1546791-1-git-send-email-tariqt@nvidia.com Signed-off-by: Paolo Abeni --- 8138fc46d9a44c0a3457028b9912cfd4406b35d1