Article View: linux.kernel.netdev
Article #20467Re: [PATCH net v2 2/2] net: stmmac: dwmac-sun8i: Limit the MTU to 2018
From: Nicolai Buchwitz
Date: Sun, 22 Nov 2026 16:31
Date: Sun, 22 Nov 2026 16:31
21 lines
9353 bytes
9353 bytes
On 22.11.2026 12:39, Chen-Yu Tsai wrote: > [...] > FWIW I think this applies to all DWMAC cores. > [...] > So for normal descriptors the buffer size is bound to (2KB - bus > width). > Not tested, but I think there is more evidence supporting a > cross-platform > limit. The sun8i EMAC isn't a Synopsys core, so this needs a test on one. Maxime, could you try MTU 2019-2021 on your boards? > [...] Regards, Nicolai
Technical Details
Message-ID:
<5e09c85c2c33885fecbdf81cd0b9209b@tipi-net.de>Path:
mbox-mo1.pugleaf.net!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-368746-linux-kernel-netdev=dewy.ruReferences:
<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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!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-368746-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:31:37 +0100 Organization: Usenet Network Message-ID: <5e09c85c2c33885fecbdf81cd0b9209b@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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="3677473"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:3fza4zi7+qB7IFrmkJflcg0wVk8= sha256:0Jenc73qajlAvcVyii+1SH6AOtuCakBaRpoBEXhtUfE= sha1:B4Yrr49PUt3VjiQDc7C7qoCgNb4= sha256:QZaHmixrVAhDrqxCOyXxymdDmxEvJSmeS4SweFRtGQc= 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 37B24125D82; Sun, 22 Nov 2026 19:32:02 +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 u2g-NXfvjiuG; Sun, 22 Nov 2026 19:31:59 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368746-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 168AD125D80; Sun, 22 Nov 2026 19:31:49 +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 7C91D292B9; Sun, 22 Nov 2026 16:31:47 +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=1795365107; b=ZXZcnSjhxIV5/s+VtsnPKVKFzG9MG41mKplhmVsPyTX5ccFW+69OeeVAaI/GxH+9C3sy wIBu88h2BQoFmIzswQshsa6cJURxm1Ye41f+uZhGwwAuHRRmD9oZyzka9e1A1EjUytGyI U49heKfeaDU1zPrBDSVqH9E1wAs0Ghk/2/x+4G70ghfz4Hi9S6MH8198MhI9rIzO1fmpr rK6gYOY5lLwAj4wloEjpIupEzM7cDQwlPLhQn/N9fQULNbCADhO8TrjL1vsZL59VYHu2P 4o3RHvK+ymfa5gy76w7xZFapJB3IG9+dNwYYIWS1+jBdwsJwQryl6ADyXYhDizrlVcQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795365107; 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=j/ABN0weoH/winFO8vB9+wkWZtGk1oyDvKSMVSfn8VY=; b=GLxU03X95Gg+AnTG85FBYtiWJ7H2qtYf/8+0TAjeCn5tXQNaXB2N5LGblh3pnSVcj/P+ FgHDmES/hjgxcqcR2d8RU7i5n6yN4KA8iWRZpZkfSHufkCq/Q0waoMiD/ek2iVqG6EnQn L9DncekuCPbh9Y4xzBGSj5s5uLeQBPwQXETFBlL15XqSjW/YrM8fOBq1AfgY2MAvYSJl1 2mIqhwShOYtL55BpBTbxxqhkjR43Ns3uRwt/b04Hfb6OGtZgkghVf5Dt8DjizDgCMjaGN H30WnjFD9kwS2sIlgita77nkWUpJWUDnSQHusQcKlGW1xp4FKLMQJfQ9tT5CAbpA61A== 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=TWqFJ7O0; 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 513DC606A333; Sun, 22 Nov 2026 16:31:47 +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=TWqFJ7O0 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=1795365101; b=eF5E5vYV6fW0xgKtiM8coh5MLNZojAhBMhVNSWS/C5kQFdnEOyorEH5yo+JSBeneyfJJ XVmw1AWLbUzDj3XiGQgysAGZbQ398EeL8cnbTEu20r3rAkF66J1PALUX/+RQZFwNvcWcl l5TgjGCj3OaHnvu5RWoVfLvZAADy+GwKOErkWoIpjsMktJGxUQKKpyuIQ+vOhsKrkg+4S QIuRXwMf+BnNm/LgyAbCUzKb19u1oWAuQcIfPh60Uf2pTrebp1Xjr+q5g55aUerEiV0GU nroSKWS+F4BtO4hZGgB1GKe09rbi3YfrVIzEBDLd6aqAf3JTdtqhMwOju1giJO/rnyA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795365101; 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=j/ABN0weoH/winFO8vB9+wkWZtGk1oyDvKSMVSfn8VY=; b=0lxg48bkfzP6g1cOEmhFMGCGUOkOK3mAI8Sp4U08H/09hwJGJDpo56jLR+5qRI0Wpojn cYV+xyMBCaZrmQPok5/YcFsoxF3dkzQQyL8GTWQK//oFce9efB85QLgB1QKFgPoVLvj+J qNBjERK4GsUugn4mV94yENbF/5EMLBTvjQ/4EMiRnL9rF/kmtTWUUHlkkwUKLeGgmG8uf q5jbT3JeK7l+NCeANq59oTcfA/JhqVcGigKMPZNa3vQ6E6nppyVPzUvjkmMUMip0wjrCO EKgKoQ2xV6VPXrIU7dhq8CvjGPA33Qo46++fGPY+haN8w6DCY55C/f2rHmKG32u+GTw== 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=TWqFJ7O0; 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 03DFA606A32C; Sun, 22 Nov 2026 16:31:40 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 03DFA606A32C 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 C25FEA03F0; Sun, 22 Nov 2026 17:31:37 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1795365098; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=j/ABN0weoH/winFO8vB9+wkWZtGk1oyDvKSMVSfn8VY=; b=TWqFJ7O0ELEUZetvWU8HRSG7eUK3T++NZpI4PJ0PHfZC7v8QLnMSB1RsKjaqBKIt5HJiUz Za8XmjLHFcNEfs1aW050lOjQXCgLxj531sxOnLZH8GT3vc3+WhiX5cip0q6ZrsZSfR3THf Ez3jTcPDq5rShz5TlWqHnpmrwCcrBvOl1GFUvqG5cBO7HRbBTJEfY/jQbosYToTM21HMBg ZnB0r6lu9RiO0KLihOUK2mskWTl3CyW7cU0uOA7/ZDNKA+L9qEsemtWInuTSkNl7r0Stbn cFNJR0NzUntuNiAMJmSfJlFk24TvBn/gPs5bDHCHa0JlriHfo6YNXyAYpUiBhg== 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: 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: <CAGb2v65_vY86WqvKr1m=g0N1Qr2UhLC1v3OHKPG3x+oURUKp7Q@mail.gmail.com> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3