Article View: linux.kernel.netdev
Article #390Re: [PATCH net] net: stmmac: leave the datapath running for normal-size MTU changes
From: Jakub Kicinski
Date: Thu, 08 Oct 2026 00:37
Date: Thu, 08 Oct 2026 00:37
15 lines
6308 bytes
6308 bytes
On Wed, 30 Sep 2026 22:39:22 -0600 James Hilliard wrote:
> When both MTUs are at most ETH_DATA_LEN, the receive buffer size and MAC
> receive limit do not change. Update the MTU without restarting the
> datapath.
>
> This also avoids rebinding a live AF_XDP pool to a temporary RXQ. XDP
> rejects jumbo MTUs, so all supported XDP MTU changes take this path.
> Jumbo transitions remain on the reopen path until the rollback change.
>
> Fixes: 3470079687448 ("net: ethernet: stmicro: stmmac: permit MTU change with interface up")
Someone marked this as Changes Requested in patchwork, no idea who.
Change seems good, but it's an optimization for net-next, no fixes tag
Technical Details
Message-ID:
<20261007173758.4e8687de@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342610-linux-kernel-netdev=dewy.ruReferences:
<20260930-stmmac-mtu-fastpath-v1-1-fd73f378c071@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342610-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: stmmac: leave the datapath running for normal-size MTU changes Date: Wed, 7 Oct 2026 17:37:58 -0700 Organization: Usenet Network Message-ID: <20261007173758.4e8687de@kernel.org> References: <20260930-stmmac-mtu-fastpath-v1-1-fd73f378c071@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="769875"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:RAyAwVhwLjtBQbxpx4pmY39K60c= sha256:7X7u6XOFu1/LDBcSc2VvsB11mAU9t5jgz7n2+Ik++5c= sha1:fdhYqyag5zNhPnrrQpAyosubIiQ= sha256:YR/UxjxBe5RrWYP7pRA8Nt5LIUKagwquwIVqGzlDSZw= 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 0D23510F290; Thu, 8 Oct 2026 03:38:16 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org 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 GF6zGzgfMaQ2; Thu, 8 Oct 2026 03:38:09 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342610-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 7B28B10F253; Thu, 8 Oct 2026 03:38:06 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 484F8261B8; Thu, 8 Oct 2026 00:38:04 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA84E28C2A1; Thu, 8 Oct 2026 00:38:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DcuEBSXs" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC2092472AE; Thu, 8 Oct 2026 00:37:59 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791419881; cv=none; b=btpm5RzlcxBHh8jYNC/9ID75X5NhWDXf7E7eJWZnZrYVzY63BYp60ody7N1/affgNdVzre9NbmEFIhwapS9LHJjQ0JIYDAQHLUp53dDkW712nXqwJu9G1Nlcyxr/OLnFE07FoVnFHNgrp3jF13pz1aP8/iqIhvQ74IpASD0HkEQ= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791419881; c=relaxed/simple; bh=ra9qelWQsYVHrYJbfH0MgFkiKcVy83oV6vo6jRkHszE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YR/Pid53t2ZSOacmGLx6HyNgx9GHLzAKj9K3K8VCstsYRMSjZPB4LNtcnsR3Rvv0a8f8H+RBFwSYqqsqE36b4eOf+/ggD5fSVi4OY2MrKSXRlrzAKcJY9YpiupVb2ECVF6TYJUzluggN8yyroFW1G+H7/o8kq13xsz6Wa5spFFo= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DcuEBSXs; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D08161F000FF; Thu, 8 Oct 2026 00:37:58 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791419879; bh=GA3OD8YP8kA43uRwiqGHMLv9THIO8ScV9l4ifw2Ty88=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DcuEBSXsTJX+9zy1cEQLUMpet8lqaNcY/S8RCIL5hsKXGOQDrK7kwdwv+GVaLuXAo NGN6f7q8/a+JjXUC0dgQ+QU6q4lu0oTJlezJ+mYOAgOjj9emrOMTa7xalxtWVJGeWv xmbls43Ayd8TOU6jFEZTC2u88MB6DpPbLvia7SG/OLg0T69qOkku/dLCKvEsTA5/sn aLVXUjrOv3YXBsH/MDdi9ckdsEYT9N67OKr1BdCdoaDl9MINnWYUWiTJIr3eoWXjCi y1yy9tUtr8Uon5xmsCicyq8fGN3hSAVvM/p13AYnCBCtP93MhV2y0H2D0ivh9f5qGZ scxb1a0hkfJJw== X-Cc: netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, Maxime Chevallier <maxime.chevallier@bootlin.com>, Andrew Lunn <andrew+netdev@lunn.ch>, Eric Dumazet <edumazet@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Christian Marangi <ansuelsmth@gmail.com>, "David S. Miller" <davem@davemloft.net>, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-In-Reply-To: <20260930-stmmac-mtu-fastpath-v1-1-fd73f378c071@gmail.com> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>