Article View: linux.kernel.netdev
Article #26890Re: [PATCH net-next v10 0/8] net: bcmgenet: support larger MTUs
From: Nicolai Buchwitz
Date: Fri, 04 Dec 2026 10:52
Date: Fri, 04 Dec 2026 10:52
32 lines
9666 bytes
9666 bytes
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
Technical Details
Message-ID:
<ad81c86d6c3846d386874ece3080339b@tipi-net.de>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377271-linux-kernel-netdev=dewy.ruReferences:
<20261127-nb-genet-mtu-nn-v2-v10-0-749c7cc45d97@tipi-net.de> <willemb.137465a1f51df@google.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377271-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v10 0/8] net: bcmgenet: support larger MTUs Date: Fri, 04 Dec 2026 11:52:35 +0100 Organization: Usenet Network Message-ID: <ad81c86d6c3846d386874ece3080339b@tipi-net.de> References: <20261127-nb-genet-mtu-nn-v2-v10-0-749c7cc45d97@tipi-net.de> <willemb.137465a1f51df@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2744822"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:njHiJp1wdQAC2YrySWxlObKBAAo= sha256:8x/t/Uf2hp5+E3eK4wbabqkMe/q/EtsSQPT4jkKGcDU= sha1:N34RdDfSa2S4PMDQwDjP+snbDZQ= sha256:q9KD1HPID6FSokmlFFblmHyQ4SMQ2fJCnIRNKIwLNBk= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 015ED117BBA; Fri, 4 Dec 2026 13:53:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.298 X-Spam-Status: No, score=-3.298 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=tipi-net.de X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84ntcjOAM20N; Fri, 4 Dec 2026 13:53:03 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377271-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id A7D62117BA4; Fri, 4 Dec 2026 13:52:53 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 539DC2F6D2; Fri, 4 Dec 2026 10:52:49 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796381568; b=Q6A9A5lbo0Aalp5GXmPzVkR7Zh/6NC1zxsoC/i7KuLZwKdrGY0RRGwCV6+9PHr9t2crz aBVomg0hOFzpi6nVONdN8g/BeDqmOfJfNRRBhkD9LRklN1m9LylLN1IZdNSsRAnSC4iz/ Hk+zbXLV+c7CocMKCSpKYDK4q6FXTkJzakW9ymFkx3yiCvUlJYqZPs1+asMUnFfwZppN5 R6bmzkwAKQwY7Z04kugI4LXOXBFgJ/2ODAfIbmd3Ppwbegz97t8y6VE3tAZwtIQbZCVuq N9dGG8wefU5Qc3i8V1lAOoW1WXe0+4q8B+UEzpbwhTbTKmSRufKXb33ubJLhi7Cvu9w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381568; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence: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=vYwF5jteSd5e5SeF09ptr7vrG8hHmK76G1xDVDAN6O40/rzAFQyyLhOW8h+3s8UmvuXt 5fQSkc2cahrnqNKPGkkUh5dS2imSvFMo5axYeAM2jyqu0uzzktTsomJNa2Pa/I4ZdUzaw L4dV5JPWrSHkXpLQ9j/2G8V0wDfvwNP8EN034K7nycZEAoDRzv+YqEeGiRbZNC+pm2uMn w0CQIEKwxK/iYKMrQ2LuEL2D9tbFVrJgfaD9lixn/U3nJHhT2XMp1EQYNF8yyVxfrpZCJ ZpeZQy7Z+Na2B4JvCweVLqUjFC1/vTDc5xpbsDERXcpPIDA2FOagSM2ErJz4yoQ9WVw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b="tEAM/zXz"; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98F1D606A32F; Fri, 4 Dec 2026 10:52:48 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=tEAM/zXz X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 X-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== X-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== X-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 X-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) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 68447606A32C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de X-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) X-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 X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-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, Pierre-Marin Leclercq <pierremarinleclercq88@gmail.com>, Dave Stevenson <dave.stevenson@raspberrypi.com>, Justin Chen <justin.chen@broadcom.com> X-In-Reply-To: <willemb.137465a1f51df@google.com> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3