Re: [PATCH net-next v10 0/8] net: bcmgenet: support larger MTUs

From: Nicolai Buchwitz

Date: Fri Dec 04 2026 - 05:52:50 EST


Hoi Willem

On 4.12.2026 02:55, willemb@xxxxxxxxxx wrote:

[...]

Only v5 gets the larger MTU in this version. The TBUF sizing and the
transmit length width on v2 to v4 are unconfirmed, so those keep the
default until someone with the hardware or the RTL can say.

Although max_mtu is kept at ETH_DATA_LEN on v2-v4, patches 4 and 5 still
write RBUF_PKT_RDY_THLD and TBUF_PKT_RDY_THLD (0x80) on v2-v4 (skipping
only v1), while only confirming 0x80 as the reset value on v5. Given that
v2 does not even set RBUF_TBUF_SIZE_CTRL in init_umac(), gating the
RBUF/TBUF threshold writes to GENET_IS_V5() (until v2-v4 offsets/defaults
are confirmed) would avoid touching unverified registers on older parts.

I'll make it so.

[...]

Regards
Nicolai

--
pw-bot: cr