Re: [PATCH net-next v6 3/5] veth: add tx_timeout watchdog as BQL safety net
From: Paolo Abeni
Date: Thu Jun 04 2026 - 04:33:09 EST
On 5/27/26 3:54 PM, hawk@xxxxxxxxxx wrote:
> @@ -1819,6 +1836,7 @@ static void veth_setup(struct net_device *dev)
> dev->priv_destructor = veth_dev_free;
> dev->pcpu_stat_type = NETDEV_PCPU_STAT_TSTATS;
> dev->max_mtu = ETH_MAX_MTU;
> + dev->watchdog_timeo = msecs_to_jiffies(16000);
Since a repost is neede it could be possibly usedfull using a macro for
the above constant and expanding the math leading to the actual value.
Also possibly an additional + 1 to avoid a very unlikely false positive
on exactly the maximum possible interval timer?
/P