From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: zhu xin <zxyan0222@gmail.com>
Cc: netdev-bot+sashiko@kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, netdev@vger.kernel.org,
mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, rmk+kernel@armlinux.org.uk
Subject: Re: [PATCH net-next v4] net: stmmac: program the FSM timeout timer
Date: Wed, 25 Nov 2026 09:28:35 +0100 [thread overview]
Message-ID: <e44876ec-4f91-4120-bbf3-3a1eb330a2dc@bootlin.com> (raw)
In-Reply-To: <CAP7veT+EjJabWrvczNwcZQ16P_SyH_rAQkTz+nf1G+FjxMvgNw@mail.gmail.com>
On 11/25/26 09:22, zhu xin wrote:
> Hi Maxime,
> Separately, I'd like your take on the hardcoded 1s timeout. At 10 Mb/s a
> PAUSE frame with the maximum 0xffff quanta stalls the transmitter for
> about 3.36s, longer than the ~1.048s NTMRMD programmed here. If the Tx
> FSM is still timed during a flow-control stall, that would raise a
> spurious FSM timeout and reset the interface. I don't have a 10 Mb/s
> link locally to verify it, and the databook only hints at a large-mode
> (LTMRMD) without being explicit. Would you prefer bumping the default to
> 4s to be safe, or is 1s acceptable?
>
Yup, this should do the trick. If I'm not mistaken, you'll add some
better controls once you start upstreaming the glue for your XGMAC
device, right ?
Maxime
next prev parent reply other threads:[~2026-11-25 8:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 2:55 [PATCH net-next v4] net: stmmac: program the FSM timeout timer Zxyan Zhu
2026-11-20 21:17 ` netdev-bot+sashiko
2026-11-24 16:13 ` Maxime Chevallier
2026-11-25 8:22 ` zhu xin
2026-11-25 8:28 ` Maxime Chevallier [this message]
2026-11-25 8:51 ` zhu xin
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=e44876ec-4f91-4120-bbf3-3a1eb330a2dc@bootlin.com \
--to=maxime.chevallier@bootlin.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=zxyan0222@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.