Netdev List
 help / color / mirror / Atom feed
From: Steffen Dirkwinkel <lists@steffen.cc>
To: "Tony Nguyen" <anthony.l.nguyen@intel.com>,
	"Przemek Kitszel" <przemyslaw.kitszel@intel.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"David Ertman" <david.m.ertman@intel.com>,
	"Toke Høiland-Jørgensen" <toke@redhat.com>,
	"Willem de Bruijn" <willemb@google.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
	 linux-kernel@vger.kernel.org, Helge Deller <deller@kernel.org>,
	 Kurt Kanzenbach <kurt@linutronix.de>,
	 Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>,
	stable@vger.kernel.org
Subject: [PATCH iwl-net 0/5] intel: fix a Tx hang at boot on I219 and Tx hang recovery
Date: Mon, 23 Nov 2026 10:55:14 +0100	[thread overview]
Message-ID: <20261123-e1000e-tx-hang-v1-0-ecb4309942f1@beckhoff.com> (raw)

We've been seeing some rare hangs of the I219-LM nics in some of our
boards after boot. We ran some longer investigation on many test devices
and found fixes for both the hang on boot and the recovery not working.

Patch 1 fixes I219 occasionally ignoring the global MAC reset.

Patch 2 fixes why such a hang, or any other e1000e Tx hang, never
recovers: since v6.12 every hang report refreshes trans_start, so
dev_watchdog() never calls ndo_tx_timeout.

Patches 3 to 5 make the same change in igb, igc and e1000, which stop
the queue on every hang report too. e1000 is affected like e1000e. igb
and igc currently recover in most cases, because their watchdog no
longer forces an interrupt every two seconds (a22ed15c99a0 and
8dcf2c212078, "Get rid of spurious interrupts"), but stable trees
without those commits never recover, and with them recovery still
depends on a stopped queue seeing no interrupt for 5 s.

Drivers that never recover from a Tx hang, per supported kernel:

  mainline, 6.18:  e1000e, e1000
  6.12:            e1000e, e1000, igb
  6.6, 6.1:        e1000e, e1000, igb, igc

The lost reset fixed by patch 1 is in all of them.

Patches 1 and 2 were tested on hardware with a kernel based on v7.2.13
and with net at 5e9b2ad9b838 (v7.4-rc2), both with PREEMPT_RT=y.
Patches 3 and 4 were tested on hardware with the same net kernel,
patch 5 only in QEMU.

I used an llm to both run the test series on our testracks and draft fix
commits.

---
Steffen Dirkwinkel (5):
      e1000e: retry a global reset the I219 didn't apply
      e1000e: let dev_watchdog reset the adapter after a Tx hang
      igb: let dev_watchdog reset the adapter after a Tx hang
      igc: let dev_watchdog reset the adapter after a Tx hang
      e1000: let dev_watchdog reset the adapter after a Tx hang

 drivers/net/ethernet/intel/e1000/e1000_main.c |  9 ++++++++-
 drivers/net/ethernet/intel/e1000e/ich8lan.c   | 27 +++++++++++++++++++++++----
 drivers/net/ethernet/intel/e1000e/netdev.c    |  8 ++++++--
 drivers/net/ethernet/intel/igb/igb_main.c     | 11 +++++++++--
 drivers/net/ethernet/intel/igc/igc_main.c     | 11 +++++++++--
 5 files changed, 55 insertions(+), 11 deletions(-)
---
base-commit: af6737b9066832a2017c281159950ba92385ce00
change-id: 20261102-e1000e-tx-hang-dee96c03c7f6

Best regards,
--  
Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>


             reply	other threads:[~2026-11-23  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  9:55 Steffen Dirkwinkel [this message]
2026-11-23  9:55 ` [PATCH iwl-net 1/5] e1000e: retry a global reset the I219 didn't apply Steffen Dirkwinkel
2026-11-23  9:55 ` [PATCH iwl-net 2/5] e1000e: let dev_watchdog reset the adapter after a Tx hang Steffen Dirkwinkel
2026-11-23  9:55 ` [PATCH iwl-net 3/5] igb: " Steffen Dirkwinkel
2026-11-23  9:55 ` [PATCH iwl-net 4/5] igc: " Steffen Dirkwinkel
2026-11-23  9:55 ` [PATCH iwl-net 5/5] e1000: " Steffen Dirkwinkel

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=20261123-e1000e-tx-hang-v1-0-ecb4309942f1@beckhoff.com \
    --to=lists@steffen.cc \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=david.m.ertman@intel.com \
    --cc=deller@kernel.org \
    --cc=edumazet@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuba@kernel.org \
    --cc=kurt@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=s.dirkwinkel@beckhoff.com \
    --cc=stable@vger.kernel.org \
    --cc=toke@redhat.com \
    --cc=willemb@google.com \
    /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