From: "Jiawen Wu" <jiawenwu@trustnetic.com>
To: "'Breno Leitao'" <leitao@debian.org>
Cc: netdev@vger.kernel.org,
"'Mengyuan Lou'" <mengyuanlou@net-swift.com>,
"'Andrew Lunn'" <andrew+netdev@lunn.ch>,
"'David S. Miller'" <davem@davemloft.net>,
"'Eric Dumazet'" <edumazet@google.com>,
"'Jakub Kicinski'" <kuba@kernel.org>,
"'Paolo Abeni'" <pabeni@redhat.com>,
"'Richard Cochran'" <richardcochran@gmail.com>,
"'Russell King'" <linux@armlinux.org.uk>,
"'Aleksandr Loktionov'" <aleksandr.loktionov@intel.com>,
"'Jacob Keller'" <jacob.e.keller@intel.com>,
"'Simon Horman'" <horms@kernel.org>,
"'Kees Cook'" <kees@kernel.org>,
"'Rongguang Wei'" <weirongguang@kylinos.cn>,
"'Uwe Kleine-König (The Capable Hub)'"
<u.kleine-koenig@baylibre.com>, "'Joe Damato'" <joe@dama.to>,
"'Larysa Zaremba'" <larysa.zaremba@intel.com>,
"'Chenguang Zhao'" <zhaochenguang@kylinos.cn>,
"'Fabio Baltieri'" <fabio.baltieri@gmail.com>
Subject: RE: [PATCH net-next v13 2/5] net: wangxun: add Tx timeout process
Date: Fri, 31 Jul 2026 17:55:00 +0800 [thread overview]
Message-ID: <04f801dd20d2$a6fc5a80$f4f50f80$@trustnetic.com> (raw)
In-Reply-To: <amxs3A1lC7ijwE8W@gmail.com>
On Fri, Jul 31, 2026 5:43 PM, Breno Leitao wrote:
> 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;
>
Right, I'll remove it.
next prev parent reply other threads:[~2026-07-31 9:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 6:18 [PATCH net-next v13 0/5] net: wangxun: timeout and error Jiawen Wu
2026-07-31 6:18 ` [PATCH net-next v13 1/5] net: ngbe: implement libwx reset ops Jiawen Wu
2026-07-31 8:38 ` Breno Leitao
2026-07-31 6:18 ` [PATCH net-next v13 2/5] net: wangxun: add Tx timeout process Jiawen Wu
2026-07-31 9:01 ` Breno Leitao
2026-07-31 9:27 ` Jiawen Wu
2026-07-31 9:30 ` Breno Leitao
2026-07-31 9:42 ` Breno Leitao
2026-07-31 9:55 ` Jiawen Wu [this message]
2026-07-31 6:18 ` [PATCH net-next v13 3/5] net: wangxun: add reinit parameter to wx->do_reset callback Jiawen Wu
2026-07-31 6:18 ` [PATCH net-next v13 4/5] net: wangxun: implement soft quiesce for PCIe error recovery Jiawen Wu
2026-07-31 6:18 ` [PATCH net-next v13 5/5] net: wangxun: add pcie error handler Jiawen Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='04f801dd20d2$a6fc5a80$f4f50f80$@trustnetic.com' \
--to=jiawenwu@trustnetic.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fabio.baltieri@gmail.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=joe@dama.to \
--cc=kees@kernel.org \
--cc=kuba@kernel.org \
--cc=larysa.zaremba@intel.com \
--cc=leitao@debian.org \
--cc=linux@armlinux.org.uk \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=weirongguang@kylinos.cn \
--cc=zhaochenguang@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox