🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20469

Re: [PATCH net v2 2/2] net: stmmac: dwmac-sun8i: Limit the MTU to 2018

#20469
From: Nicolai Buchwitz
Date: Sun, 22 Nov 2026 16:40
28 lines
9703 bytes
On 22.11.2026 17:36, Maxime Chevallier wrote:
> [...]

>> The sun8i EMAC isn't a Synopsys core, so this needs a test on one.
> 
> It's likely a synopsys core, but with some wrapper around the register 
> accesses,
> hard to tell how much of the actual dwmac is in there ._.

Someone really needs to draw fancy cheat sheet with a stmmac family
tree - lots of weird uncles and stepmothers :-)

> 
>> Maxime, could you try MTU 2019-2021 on your boards?
> 
> It'll be tested in the nightly runs, I've setup some local MTU sweep 
> tests
> following the previous version of that patch :)

Thanks!

> 
> wonder what else will come out of it, I'll report in the morning.
> 
> Maxime

Nicolai
Technical Details
Message-ID: <8a11d9e72123b68d89a0422dd9211e88@tipi-net.de>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368750-linux-kernel-netdev=dewy.ru
References: <20261122-sun8i-emac-mtu-limit-v2-0-c4081e5b83cf@gmail.com> <20261122-sun8i-emac-mtu-limit-v2-2-c4081e5b83cf@gmail.com> <CAGb2v65_vY86WqvKr1m=g0N1Qr2UhLC1v3OHKPG3x+oURUKp7Q@mail.gmail.com> <5e09c85c2c33885fecbdf81cd0b9209b@tipi-net.de> <3459ab2c-e35e-4fb1-80d0-b79991b5bc2f@bootlin.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368750-linux-kernel-netdev=dewy.ru
From: nb@tipi-net.de (Nicolai Buchwitz)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 2/2] net: stmmac: dwmac-sun8i: Limit the MTU to
 2018
Date: Sun, 22 Nov 2026 17:40:07 +0100
Organization: Usenet Network
Message-ID: <8a11d9e72123b68d89a0422dd9211e88@tipi-net.de>
References: <20261122-sun8i-emac-mtu-limit-v2-0-c4081e5b83cf@gmail.com>
 <20261122-sun8i-emac-mtu-limit-v2-2-c4081e5b83cf@gmail.com>
 <CAGb2v65_vY86WqvKr1m=g0N1Qr2UhLC1v3OHKPG3x+oURUKp7Q@mail.gmail.com>
 <5e09c85c2c33885fecbdf81cd0b9209b@tipi-net.de>
 <3459ab2c-e35e-4fb1-80d0-b79991b5bc2f@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3678745"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5hxRaj3Xovdm1vHRnozUwtymXOg= sha256:QSXOcXhMAsVcSnSu3d+FG22ZmdzifF3f4bT+YJmIaGA=
	sha1:D1bX56TASdz4AowRkzXdN6sRkJ8= sha256:GUswfv6gjsnGkL2h8tst1NKcnoqLtWd2eyJ6APhbwxM=
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 EA8EC125D80; Sun, 22 Nov 2026 19:40:29 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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.249,
	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 nbi6Jl-UJpI8;
	Sun, 22 Nov 2026 19:40:26 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-368750-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id CE65E125D7A; Sun, 22 Nov 2026 19:40:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 2AE0C21D15; Sun, 22 Nov 2026 16:40:13 +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=1795365612;
	b=o87EEXD1yETICuzOfpK8kHRkg5wix1sRKbwUQ7J7bWFGyrBB2bsxZ8X+BBO6/qLzXtdD
	 rd0IhI48EIGVsC7utwIUcDnY+DDxr4cWqTtj4zjGzNZhqV4p9QosBctkCXEqLQHQe98K9
	 /dKM04mUmCk45dd1LWfxhxa+ewNGEhty5xHefaUJIT1SJ+EoxjIvLIydK21Z+AsfXestV
	 S/ON1x6iEI/PPffllhcMRYeHnf/Ge1rdunyhtdj3tfoB5ghZ4qg7/XDwu2ChC3vdSr4fi
	 uKrn6nYVVQ4ygf13aV4+T1bc5QAuHW+DSs1xvRZxjMmcota2XsmdhWh2Zf4vBuybiog==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795365612;
	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=jaSKFlCu54zHESqkKubj1+NuHGdKJrU2G8EmITP6xpw=;
	b=GteEj01xAg8xmuAbIqS/5AdXpv4f41UiAUoJ9AoRO6tewiPEMl7selSMQChTXP4qkS9t
	 Gqk+hgE8DzlENRHJy4+ERnitU5fPXk8jPcsYjk6l3dFxfQEJB+koD9j9enht+LZYSWpeD
	 8YkMvgRYdi+mfnS/a2/4LwZrG6sOTX25n3Vgsvqf2UXZyes8yqoIgol0Vrm5yDhw0NyfI
	 EYPQ2ubnJBZ/XtvyioB3x2oJ9oZ+4CqFTtGFu3UbzkTgI6TIgMI3J4YmByLG/b1EH9OhM
	 S71djFUyXcTNi5iyQaEwEPqMRB6lL/pQqRk5KwPhIQXSg+ss+x87DOr4e30onIqiTiQ==
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=2yGVPMCs;
	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 80E79606A32C;
	Sun, 22 Nov 2026 16:40:12 +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=2yGVPMCs
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=1795365611;
	b=AMtDMuke/t2wAvFhpmIMvfOSPEu1xErb8Erg7LpS5uKVrQK7wcel/0l8E+SGuS3cfnZr
	 GzowZqI77OndvpxZzno5kLV4en09Hd7RqGtdH84L2xNP9ns7P7QvAjqTO+hozcLgPSgFE
	 OxDAFmiX3bUdsgPpYgXYDQKJm9i48FLCbvQOcCbU6FLRrOv87XyxNjVoIePmR+6m4Mtdv
	 l8hJGBzYjL7BreZaGEZo10Aln6kfqlWa5tCaEkHJy44O84fWl4s97XDEN0Olu8x91AJsL
	 BriweFCEDRkZlFopEtfURWzITs87jm56/yLZ8I+GvRPZeHhkPz2AVZNiLzeO87raolg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795365611;
	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=jaSKFlCu54zHESqkKubj1+NuHGdKJrU2G8EmITP6xpw=;
	b=thTVl33wVRzEIxtC+t/E5TbUPX6PHXyZ+0JIgiyES+EBVDW7jYKOTNmz6FhFhP1lpW9a
	 3uKH9cBQNCf1GzWPgfkaz352xGLGAXVnS43pKZ3bHRpA4+0avQ3r8VKUseiaaU7TdfrN5
	 cCZuBIs2OK+kV9trVHgYC9kY7nXpun6zkToclc3n7+jI9hexKJQhKLE3TgVdP2IXiHeR9
	 MOUHNXG1UTsxTkfJ4Rp5zAYwK4MrMM7skDFi+K6soMB45/ek67LDOpjixLqY9gm6lbEoj
	 onafaOfvKXuQahMYMnt+WCvIXQ2Lz+FYgkcRLEU21H1qpf/bb6hICcGOI1jB0SZTa2Q==
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=2yGVPMCs;
	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))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37413606A32A;
	Sun, 22 Nov 2026 16:40:11 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 37413606A32A
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 F341BA023C;
	Sun, 22 Nov 2026 17:40:07 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim;
	t=1795365609; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:in-reply-to:references;
	bh=jaSKFlCu54zHESqkKubj1+NuHGdKJrU2G8EmITP6xpw=;
	b=2yGVPMCsKB3mt0D1EmjrbYxsJH5uCeek02v4QJQBgHuca6yxEp3cPBxTqiuhbjp+hcD1JT
	qWhCCU3Db1/ZeHtjVZ0KUsjfo784QkArs/MesO7Tp1bywtjxJIb4D/uw5+kYlbCWJa+5U+
	9qHtDaipoqGplt0zmmk3wGl/FJS84OmLJdYpfKYu2I+lp595UR2ukxDaAWovWK/Tv9QDEU
	Am0kA1Ppi4cJd/pz6za22JNtpx/tsnufFctYmMXIGntJVcJEym3h+o4CjqT/onWnDSe5wp
	cKJ7GXEDELKLFaYYUoUu1mFGgmS39jyehxTunpFReo557C9Wdl/AwbyGnqtC0w==
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: wens@kernel.org, aiyengar1990@gmail.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>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel
 Holland <samuel@sholland.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>,
 Alexandre Torgue <alexandre.torgue@foss.st.com>, LABBE Corentin
 <clabbe.montjoie@gmail.com>, netdev@vger.kernel.org,
 linux-stm32@st-md-mailman.stormreply.com,
 linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Russell
 King <rmk+kernel@armlinux.org.uk>, stable@vger.kernel.org
X-In-Reply-To: <3459ab2c-e35e-4fb1-80d0-b79991b5bc2f@bootlin.com>
X-Sender: nb@tipi-net.de
X-Last-TLS-Session-Version: TLSv1.3