[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1764054776-1308696-1-git-send-email-tariqt@nvidia.com>
Date: Tue, 25 Nov 2025 09:12:53 +0200
From: Tariq Toukan <tariqt@...dia.com>
To: Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>, "David
S. Miller" <davem@...emloft.net>
CC: Jian Shen <shenjian15@...wei.com>, Salil Mehta <salil.mehta@...wei.com>,
Jijie Shao <shaojijie@...wei.com>, Saeed Mahameed <saeedm@...dia.com>, "Tariq
Toukan" <tariqt@...dia.com>, Mark Bloch <mbloch@...dia.com>, Leon Romanovsky
<leon@...nel.org>, Jamal Hadi Salim <jhs@...atatu.com>, Cong Wang
<xiyou.wangcong@...il.com>, Jiri Pirko <jiri@...nulli.us>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-rdma@...r.kernel.org>, Gal Pressman <gal@...dia.com>, Moshe Shemesh
<moshe@...dia.com>, Yael Chemla <ychemla@...dia.com>, Shahar Shitrit
<shshitrit@...dia.com>
Subject: [PATCH net-next 0/3] Introduce and use netif_xmit_timeout_ms() helper
Hi,
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.
Replace open-coded timeout checks in dev_watchdog() and the 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.
Regards,
Tariq
Shahar Shitrit (3):
net: Introduce netif_xmit_time_out_duration() helper
net: hns3: Use netif_xmit_timeout_ms() helper
net/mlx5e: Refine TX timeout handling to skip non-timed-out SQ
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 5 +----
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 +-
include/linux/netdevice.h | 15 +++++++++++++++
net/sched/sch_generic.c | 7 +++----
4 files changed, 20 insertions(+), 9 deletions(-)
base-commit: e05021a829b834fecbd42b173e55382416571b2c
--
2.31.1
Powered by blists - more mailing lists