The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Joe Damato <joe@dama.to>
To: netdev@vger.kernel.org
Cc: michael.chan@broadcom.com, pavan.chebbi@broadcom.com,
	selvin.xavier@broadcom.com, kalesh-anakkur.purayil@broadcom.com,
	pabeni@redhat.com, kuba@kernel.org, edumazet@google.com,
	davem@davemloft.net, andrew+netdev@lunn.ch, horms@kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v7 0/4] bnxt_en: Make RING FREE more robust
Date: Thu, 3 Dec 2026 18:34:02 -0800	[thread overview]
Message-ID: <axImmkblZClXc2pc@devvm20253.cco0.facebook.com> (raw)
In-Reply-To: <20261202185628.847699-1-joe@dama.to>

On Wed, Dec 02, 2026 at 10:56:21AM -0800, Joe Damato wrote:
> Greetings:
> 
> On two production systems, I saw the following dmesg pattern:
> 
>   NETDEV WATCHDOG: transmit queue 0 timed out 6073 ms
>   Resp cmpl intr err msg: 0x51                  x20
>   hwrm_ring_free type 1 failed                  x12
>   hwrm_ring_free type 2 failed                  x8
>   AMD-Vi: IO_PAGE_FAULT  x3
> 
> Since v6, I searched our fleet logs and found the same pattern, a TX
> timeout followed by RING_FREE failures, on two more hosts.

Aright, I think I replied to everything Sashiko had to say. IMHO it
suggested some changes that are good for followups in net-next.

I suppose Broadcom can decide how to proceed here after reviewing Sashiko's
complaints?

Making the free path more robust turned out to be much trickier than I
originally thought it would be.

I think if this series is not acceptable, I will probably abandon this work
and move on to other things, so I don't expect to spin a v8 on this one.

I totally understand if this is not acceptable as-is or has bigger picture
issues (e.g. do we really wanna disable DMA if the FW misbehaves and make the
device unusable unless it is rebound ?).

In that case though I'll prob move on to other stuff and keep my fingers
crossed that the FW can be improved instead. Either way lmk.

      parent reply	other threads:[~2026-12-04  2:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 18:56 [PATCH net v7 0/4] bnxt_en: Make RING FREE more robust Joe Damato
2026-12-02 18:56 ` [PATCH net v7 1/4] bnxt_en: return the RING_FREE status to callers Joe Damato
2026-12-03 19:17   ` netdev-bot+sashiko
2026-12-04  2:14     ` Joe Damato
2026-12-02 18:56 ` [PATCH net v7 2/4] bnxt_en: check HWRM response if completion never arrives Joe Damato
2026-12-02 18:56 ` [PATCH net v7 3/4] bnxt_en: stop DMA before releasing rings the firmware did not free Joe Damato
2026-12-03 19:17   ` netdev-bot+sashiko
2026-12-04  2:21     ` Joe Damato
2026-12-02 18:56 ` [PATCH net v7 4/4] bnxt_en: refuse to open a device with stopped DMA Joe Damato
2026-12-03 19:17   ` netdev-bot+sashiko
2026-12-04  2:26     ` Joe Damato
2026-12-04  2:34 ` Joe Damato [this message]

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=axImmkblZClXc2pc@devvm20253.cco0.facebook.com \
    --to=joe@dama.to \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kalesh-anakkur.purayil@broadcom.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pavan.chebbi@broadcom.com \
    --cc=selvin.xavier@broadcom.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