From: Nicolai Buchwitz <nb@tipi-net.de>
To: Daniel Machon <daniel.machon@microchip.com>
Cc: Doug Berger <opendmb@gmail.com>,
Florian Fainelli <florian.fainelli@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.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>,
Florian Fainelli <f.fainelli@gmail.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Justin Chen <justin.chen@broadcom.com>
Subject: Re: [PATCH net-next v9 8/8] net: bcmgenet: reassemble jumbo frames from status block fragments
Date: Fri, 27 Nov 2026 11:46:11 +0100 [thread overview]
Message-ID: <97e5f84e077c346d6cfe238b022ea439@tipi-net.de> (raw)
In-Reply-To: <20261126120757.gdz5lo4tw7bhgzax@DEN-DL-M70577>
Hi Daniel
On 26.11.2026 13:07, Daniel Machon wrote:
> [...]
>> -/* Largest MTU that fits one descriptor, with room for a VLAN tag so
>> a VLAN
>> - * interface can use the parent MTU.
>> - */
>> -#define ENET_MAX_MTU (ENET_THLD_MAX_LEN - GENET_RBUF_ALIGN - \
>> - ETH_HLEN - VLAN_HLEN)
>> +/* UMAC_MAX_FRAME_LEN is 14 bits wide and counts the FCS */
>> +#define ENET_MAX_MTU (GENMASK(13, 0) - ENET_FRAME_OVERHEAD)
>
> Now that the driver supports larger MTUs, should the flow control
> thresholds be
> scaled for larger frames?
IMHO there is othing to scale, GENET has no software programmed flow
control
watermark. Pause is just CMD_RX_PAUSE_IGNORE and CMD_TX_PAUSE_IGNORE
plus what
the PHY negotiates.
The only MTU dependent thresholds are the packet ready pair, which this
series
touches already
> [...]
Thanks,
Nicolai
next prev parent reply other threads:[~2026-11-27 10:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 9:17 [PATCH net-next v9 0/8] net: bcmgenet: support larger MTUs Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 1/8] net: bcmgenet: let the caller decide whether to start the PHY Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 2/8] net: bcmgenet: allow a continuation descriptor without the alignment pad Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 3/8] net: bcmgenet: rename ENET_MAX_MTU_SIZE to ENET_MAX_FRAME_LEN Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 4/8] net: bcmgenet: derive the receive buffer length from the MTU Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 5/8] net: bcmgenet: split frames that end just past the transmit threshold Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 6/8] net: bcmgenet: build the DMA rings before giving up the running ones Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 7/8] net: bcmgenet: allow the MTU to be changed Nicolai Buchwitz
2026-11-26 12:15 ` Daniel Machon
2026-11-27 10:22 ` Nicolai Buchwitz
2026-11-23 9:17 ` [PATCH net-next v9 8/8] net: bcmgenet: reassemble jumbo frames from status block fragments Nicolai Buchwitz
2026-11-26 12:07 ` Daniel Machon
2026-11-27 10:46 ` Nicolai Buchwitz [this message]
2026-11-23 14:23 ` [PATCH net-next v9 0/8] net: bcmgenet: support larger MTUs Nicolai Buchwitz
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=97e5f84e077c346d6cfe238b022ea439@tipi-net.de \
--to=nb@tipi-net.de \
--cc=andrew+netdev@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=daniel.machon@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=justin.chen@broadcom.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=opendmb@gmail.com \
--cc=pabeni@redhat.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.