Thread (12 messages) read the whole thread 12 messages, 2 authors, 1d ago

Re: [PATCH net-next v13 2/5] net: wangxun: add Tx timeout process

From: Breno Leitao <leitao@debian.org>
Date: 2026-07-31 09:42:58

On Fri, Jul 31, 2026 at 02:18:34PM +0800, Jiawen Wu wrote:
+	netdev->watchdog_timeo = 5 * HZ;
Is this needed?  netdev_watchdog_up() already does it, no?

	void netdev_watchdog_up(struct net_device *dev)
	{
		if (!dev->netdev_ops->ndo_tx_timeout)
			return;
		if (dev->watchdog_timeo <= 0)
			dev->watchdog_timeo = 5*HZ;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help