mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Magnus Leatti <magnusleatti@kernelriot.com>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: "Andrew Lunn" <andrew+netdev@lunn.ch>,
	"Jakub Kicinski" <kuba@kernel.org>,
	davem@davemloft.net, "Eric Dumazet" <edumazet@google.com>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"Lorenzo Bianconi" <lorenzo.bianconi@oss.qualcomm.com>,
	"Nicolai Buchwitz" <nb@tipi-net.de>,
	thomas.petazzoni@bootlin.com,
	"Alexis Lothoré" <alexis.lothore@bootlin.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net v2] net: stmmac: Clear DMA errors for multi-channel interrupts
Date: Tue, 10 Nov 2026 06:19:01 -0300	[thread overview]
Message-ID: <20261110091901.7080-1-magnusleatti@kernelriot.com> (raw)
In-Reply-To: <179379704484.488856.2140619507341432623@kernel.org>

> Since RBU and RPS were enabled only for statistics, was masking them in
> multi-MSI mode considered as an alternative?

Hi Maxime,

Tested that route on dwmac4 (YT6801, 7.3.3) next to v2.

Stock 7.3.3 dies in 4s under a 4x 64B UDP flood (122k irq/s storm).
Both v2 and dropping RBU from the abnormal mask survive with the same
~3M RX frames within noise (3 runs each, alternating), but:

                 v2 (A)        no RBU irq (B)
  MAC irqs:      18k - 43k     0
  rx_buf_unav:   9k - 21k      0
  %irq CPU:      3.9 - 7.1     1.1 - 1.5
  RX frames:     2.5M - 3.0M   2.8M - 3.2M

Same on 8x UDP + TCP TX (30s): both stay up, A takes up to 33k MAC
irqs, B takes 0.

Caveats for B:
- Core is a 5.2, so only the 4.10 mask was exercised.
- RPS never fired, so this doesn't test the RPS storm fix from v2.
- rx_buf_unav_irq stays at 0 (pre-1b9707e6f1a9).

Want RBU dropped from the dwmac4 mask too? Can send a patch or you can
fold it into v3.

Magnus

      parent reply	other threads:[~2026-11-10  9:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 12:54 Maxime Chevallier
2026-11-03 13:21 ` Nicolai Buchwitz
2026-11-03 13:41 ` Lorenzo Bianconi
2026-11-03 16:58 ` Magnus Leatti
2026-11-04 12:57 ` netdev-bot+sashiko
2026-11-07 10:01   ` Magnus Leatti
2026-11-10  8:30     ` Paolo Abeni
2026-11-10  9:52       ` Magnus Leatti
2026-11-10  9:19   ` Magnus Leatti [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=20261110091901.7080-1-magnusleatti@kernelriot.com \
    --to=magnusleatti@kernelriot.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=alexis.lothore@bootlin.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=lorenzo.bianconi@oss.qualcomm.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=nb@tipi-net.de \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=thomas.petazzoni@bootlin.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

all inboxes | Powered by JetHome®