Netdev List
 help / color / mirror / Atom feed
From: Anandu Padinhare <Anandu.Padinhare@electrifex.com>
To: Nicolai Buchwitz <nb@tipi-net.de>, Sam Edwards <cfsworks@gmail.com>
Cc: "maxime.chevallier@bootlin.com" <maxime.chevallier@bootlin.com>,
	"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@kernel.org" <edumazet@kernel.org>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"mcoquelin.stm32@gmail.com" <mcoquelin.stm32@gmail.com>,
	"alexandre.torgue@foss.st.com" <alexandre.torgue@foss.st.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Jesper Dangaard Brouer <hawk@kernel.org>,
	John Fastabend <john.fastabend@gmail.com>,
	Stanislav Fomichev <sdf@fomichev.me>,
	"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
	David Wu <david.wu@rock-chips.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-stm32@st-md-mailman.stormreply.com"
	<linux-stm32@st-md-mailman.stormreply.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"bpf@vger.kernel.org" <bpf@vger.kernel.org>
Subject: Re: [PATCH net] net: stmmac: retry a failed RX refill from a timer
Date: Mon, 23 Nov 2026 06:24:34 +0000	[thread overview]
Message-ID: <MA0PR01MB9217DD52BC2BBA76A2850C07FD452@MA0PR01MB9217.INDPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <8e7b5bd372934d85ff890a6da7ca93b8@tipi-net.de>

On 22.11.2026 23:14, Nicolai Buchwitz wrote:
> Agreed, simpler than refill in the loop. If stmmac_rx() stopped at
> dirty_rx and the refill worked, return the full budget so NAPI polls
> again.
>
> Anandu, could you fold that into v2?

Yes, thanks Nicolai and Sam. v2 will do that, and will also check
dirty_rx before reading the descriptor status, so a retry does not
count that frame again (the Medium item from Sashiko). Refill inside
the loop I'll leave out of this fix.

I'll test it on the SC598 and then post v2.

Regards,
Anandu

pw-bot: cr

  reply	other threads:[~2026-11-23  6:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20  7:49 [PATCH net] net: stmmac: retry a failed RX refill from a timer Anandu Padinhare
2026-11-22 18:01 ` Nicolai Buchwitz
2026-11-22 20:20   ` Sam Edwards
2026-11-22 20:37     ` Nicolai Buchwitz
2026-11-22 21:02     ` Sam Edwards
2026-11-22 21:09       ` Nicolai Buchwitz
2026-11-22 21:34         ` Sam Edwards
2026-11-22 22:14           ` Nicolai Buchwitz
2026-11-23  6:24             ` Anandu Padinhare [this message]
2026-11-24  8:02 ` netdev-bot+sashiko

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=MA0PR01MB9217DD52BC2BBA76A2850C07FD452@MA0PR01MB9217.INDPRD01.PROD.OUTLOOK.COM \
    --to=anandu.padinhare@electrifex.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=cfsworks@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=david.wu@rock-chips.com \
    --cc=edumazet@kernel.org \
    --cc=hawk@kernel.org \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.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=rmk+kernel@armlinux.org.uk \
    --cc=sdf@fomichev.me \
    --cc=stable@vger.kernel.org \
    /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