Article View: linux.kernel.netdev
Article #20468Re: [PATCH net v2 2/2] net: stmmac: dwmac-sun8i: Limit the MTU to 2018
From: Nicolai Buchwitz
Date: Sun, 22 Nov 2026 16:33
Date: Sun, 22 Nov 2026 16:33
18 lines
9445 bytes
9445 bytes
On 22.11.2026 10:13, Arun Iyengar via B4 Relay wrote:
> From: Arun Iyengar <aiyengar1990@gmail.com>
>
> The H616 RX DMA fills only 2044 bytes of a buffer, so frames of 2045 to
> 2047 bytes, allowed by the previous patch, are dropped. Limit the MTU
> so that a frame with two VLAN tags and the FCS fits 2044 bytes.
>
> Fixes: 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i")
> Cc: stable@vger.kernel.org
> Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
> [...]
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Thanks,
Nicolai
Technical Details
Message-ID:
<fd55b3381a6ea99be2befc9bc3e6f34f@tipi-net.de>Path:
mbox-mo1.pugleaf.net!srl.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-368747-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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.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-368747-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:33:07 +0100 Organization: Usenet Network Message-ID: <fd55b3381a6ea99be2befc9bc3e6f34f@tipi-net.de> References: <20261122-sun8i-emac-mtu-limit-v2-0-c4081e5b83cf@gmail.com> <20261122-sun8i-emac-mtu-limit-v2-2-c4081e5b83cf@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="3677611"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:PK8VqGgX2ES8A0THoAG0CEFv1hc= sha256:1MK5HYM6+IfWD3/XTR4JRD3BYc4wytuCRRiX3SLUqOo= sha1:0ZXoguF1DvKblyvkGEGtDFASfLo= sha256:WgLp7wBUyRA8VBJsV1PFqea4U93ROthVpFm2Hjne7Qo= 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 C5DE8125D81; Sun, 22 Nov 2026 19:33:27 +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 ThkVmFA6gv0f; Sun, 22 Nov 2026 19:33:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368747-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 6B4B6125D7A; Sun, 22 Nov 2026 19:33:15 +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 6E5B62C44D; Sun, 22 Nov 2026 16:33: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=1795365193; b=0fTTAGpM7vtsIxLZajIOsC/VTCE55DMiaqxTb2bgimjUy2GMGSvP2EdXMEQno17J1Lxz e1tkUKaHCkXrM4B68PIEVsuHEwvTr8OJcjh65nI3T8JjY49aYNkD6kjRhDbi9xsIqn2xA rKLh/OhnoYsSmJjrnnO4mhsskfQcekK/xe8mzARcDO4otNoKIphF/SPKnGmDb+buce8J1 YhSJSyYTzXFbzzenKolTe2beaKJ2danmyrtqvhLvT9thWnUk8Kxe6eBunB9hMyhQ8rGVv KyzQA4YSDr59ilUSR6sZrwwmDU9xzwNUzRH6nceKahiAd4fCcGa1YnS10XV2sgLHHPA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795365193; 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=oxiR/oDYkJlm/vmgSNXn/0eNQdL2U0MFqxfA2Te5+Uk=; b=o1Am+QHPe1ZcvdiKem+fGowFa3l72OsiK8+Q23RgNy4+xb4lil/d/BatplipW8yUVr/K D1B/Ve09nHGqYIcGy5BkNCMYqdpnSVP69ohBiKg2dfoCYz9ysxzdrXi2iOVbgepIrMkND 3kSOeCa03qi26lRP2+N4QcYXDZ9q4MsCbNh9j9+OuoI/Wyrmr5JuLFlQAcmzS2N+YAsP+ ztYB3Sv9J+CZAuyM4UNf+2n2WXSas9dzKfGOsqNfILvKhQ3FC11LSNL0sg7qg1phjI5Qr 37l6v6l1R3lzjgfJpc+6EZwuANJRn86y+qZ7jd8aPg/bk0NxtzCexgqxO/XsL/NzLyA== 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=PBDjuNP1; 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 EAA01606A336; Sun, 22 Nov 2026 16:33: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=PBDjuNP1 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=1795365192; b=l3I0XuQjMWmdrE2l4L92m4hlGFEmE5c+sYgOfY2gLbZGdesuni46hSg/kyeSGgWhvLgL 51CFS6HgsfAgAgCQM68e6Grxm5Qby70jCsPNwt4P9SOTn2o3YPZ+Qmx8SkSAUkUHA0Iho lbNHnickVbAEjJY2pq8p24cceR4DIa5wOYIgUZWI8gA2YBW3qsr1AAnxzpy2YjZRZNzP+ XYHlJbLS5tLSsV/9WrDu4FGDIoLAa53PCxjIbLR5BCOUmIRCh5oiZaHhBDHRFMf/c3c7F WqxxTUq/0ScZ+CMIEvbwdSezWJRXP99w7fAujlrDrDYdT7iPmssf+6M5UAkFphGeYAA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795365192; 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=oxiR/oDYkJlm/vmgSNXn/0eNQdL2U0MFqxfA2Te5+Uk=; b=z1QD6l9gl7/e98rvyJQ02x4FOjn+ucW3O3HZ8He5tWf0S6lkfB9Fi4kYWEegiHGXoDKC G9oUhBlAoxvGjv8zzU35yRHqC/dbd1Uk7Jvpgsxx5DIRkXVbmZbtXCgI/6uEDStBzBmTr DLNfB7O0UGk0HE0Gst2i2c4Vst1FldZibLO2cg26JX8Amg6ZxsrcxmNazc4H56Z7pCrZI G15igtBbkWNP/wa3t4WOvY03qrOIhFo+PaGaMG/teDxlNMDKucPXGMXDh88NEplv/R606 d2E1I9hfvLCIrgdtu3vJUbd/bkv2FNpFb55va5daHwSOc/0Kjz5I6qs+oZA/ecgCCWg== 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=PBDjuNP1; 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 9A426606A320; Sun, 22 Nov 2026 16:33:11 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9A426606A320 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 055F4A157F; Sun, 22 Nov 2026 17:33:07 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1795365189; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=oxiR/oDYkJlm/vmgSNXn/0eNQdL2U0MFqxfA2Te5+Uk=; b=PBDjuNP1jLkd2CMknU31M13Jiu2TwgpX8U+M1mm8vjZWz+pKAMxVeGIkwnktuOyABYzsCk WbCrPvICu6bMf4yP2RDup3IHwovqqh0ocCc68eStaUQtRpKqrLdjyKlAnVwu79O1BPtzNg 2NcZoK3sgqTi6Q73QIsM+rP8fGJhW3kfT+utpLGHcnoIzUyz3T2AIbPfwN0932aUGqf+1U mcdYMCKaygzmPVA++2UrphRRtfCU9IUquMeC+5dve4oj1NbmQTPWeaIDejcHJfqjbhfgBF vZEtDU5Bmvp5J+0hWy88ScAnWB0M7ft6d2qGmEn3GyZ3YLdL7LcSFZNMbO49yw== 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: Maxime Chevallier <maxime.chevallier@bootlin.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>, Chen-Yu Tsai <wens@kernel.org>, 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: <20261122-sun8i-emac-mtu-limit-v2-2-c4081e5b83cf@gmail.com> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3