From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796381562; b=GI2eF/QMSI7WNS8iVjujHSdxA2tOt1q4tsZIZu8ZcVPMDVpqXMQpJ4EUULXNGQuVsobb 6FiANhC+BeQKoQTeJxc5MfOJ7GAMpSuSU5kqz24HgLsYLxVkpvDRHZGjHevmg59LYnRPu DrRDeLHjq3j7T8Ybc6TCdodtAM9UjZd3eDbVAKB4Fq4Lju0F5KU3VAWtLC7+pk269Mt1g mRolGXaDMTtYpGdKR6QGy9/TXoWy4hlwKbzGz7DFN/7agryYvuGc+2GYgfMT00WERQjPT qYg+iBU0EgywpDaPeuELhR740SUYNdwpQ8PSu+pBtiKQPO3G5r5GtoZd+nV/M7UhJBg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381562; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=K//MThOpdSuAFTwFrHebMID1DMuKY6p1F9xzbSbSdNw=; b=5aOqKVaHKhFK6a8nUKV75XZcJDOfuARR+m1XuM/QaDFHzmA91tTdkX7Ltyqu3kWds6+O piNcNySEVmGLDLYszS+EA0yK3Xi/M9kgrSW1121uRLqLboJ85Gxmsk1hswOiEaXk1I9n5 idaWGSWzCY6eAfcO8BlcICEH0443y5uNqyBjIaYiBg7XPGAuTADdQ1od3JH476fOA6cKB ggufD75osD/8JABvJgL0hrTNCfAohkGteZWMaNRJxNuNavu3fQTLeymSY4C4EeSYnw64k Ks6XE9HhxkaIzfeQVFJo+WDkN6px1dc+XIyWT8mIHzTS17jiNHu4vJM/0BOQyZfFj7w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b="tEAM/zXz"; arc=none smtp.remote-ip=194.13.80.246 Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68447606A32C; Fri, 4 Dec 2026 10:52:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 68447606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=tEAM/zXz Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1D32CA03F0; Fri, 04 Dec 2026 11:52:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1796381558; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=K//MThOpdSuAFTwFrHebMID1DMuKY6p1F9xzbSbSdNw=; b=tEAM/zXz3oFqSJl2BJFpLaSDpxJdkuzJ/SmypE2LD3gWplQlCF75ggI8nvouKSsD8+qP9Y rwGVJz1Ho1tVZWYKwBFsdh5ciBZ1rzrsW8MI/U8A9IfKrwbCvYIgZxRbJ+1ExyqMyN3X+j 5rnpAu354gd6n2Cdqziw/16eof1EWMpkNMzWDnPg5GJqxFpzNrTh+la2jl/qAOW7Jkw/vy k8L7CuFAZZy+H2eozLKPI4iZA5+25adklCRTCchAnZc1s5R+qrO25thGkATYDce5J4RkAq MKmXXXlHVOXZ0qP6MPEEuuNoHkuGq1UlJLCyXi+ZiNUfxiNG5qyP3F25B4EG/g== X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Date: Fri, 04 Dec 2026 11:52:35 +0100 From: Nicolai Buchwitz To: willemb@google.com Cc: Doug Berger , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Pierre-Marin Leclercq , Dave Stevenson , Justin Chen Subject: Re: [PATCH net-next v10 0/8] net: bcmgenet: support larger MTUs In-Reply-To: References: <20261127-nb-genet-mtu-nn-v2-v10-0-749c7cc45d97@tipi-net.de> Message-ID: X-Sender: nb@tipi-net.de Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 Hoi Willem On 4.12.2026 02:55, willemb@google.com 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