Article View: linux.kernel.netdev
Article #25946Re: [PATCH net-next v9 0/2] net: ethernet: mtk_eth_soc: 9K jumbo frame support
From: Sandeep Haemoon
Date: Wed, 02 Dec 2026 19:15
Date: Wed, 02 Dec 2026 19:15
37 lines
10135 bytes
10135 bytes
Hi Frank, Thanks for the review and for the pointer. On Tue, Dec 01, 2026 at 08:12:31AM +0100, Frank Wunderlich wrote: > Sounds like it is still needed to bring down macs like in SDK to > increase MTU or always use 9K on mac/dma layer. See below comment for > possible solution. Right: in this series a runtime increase is rejected with -EBUSY while DMA is running, and the interface has to be taken down and up (or the MTU set while it is closed); shrinking works live because the rings keep their larger buffers. Always using 9K buffers was considered and not taken: at MTU 1500 it would pin about 32 MiB in the polled ring (plus the QDMA ring) and turn every refill into a high-order GFP_ATOMIC allocation. > Have you seen Mihai Ordean change to prevent the needed down-up > configuration of MACs needed by SDK code? > https://github.com/frank-w/BPI-Router-Linux/commit/f2d6ce7925c7111e2241a88c9158c15aa97d4452 No, I had not seen it - thank you, that is exactly the follow-up this series leaves out. It builds on Mason's netdev restart work and dynamic rx buffer adjustment, which are in your tree but not upstream yet, so the natural order is to get that machinery in first and then the ring stop/start reallocation on top. Is that something you and Mihai plan to submit upstream? I would rather coordinate than duplicate it; the -EBUSY rule in this series can go away once the reallocation is upstream. > Do you need to bring down macs when changing (increasing) the mtu? Yes, in this series: the rings cannot be resized in place while DMA is running, so an increase returns -EBUSY until the netdev is reopened. A decrease is accepted live and the MAC limits are narrowed to match.
Technical Details
Message-ID:
<reply-5019282b56da7ef440b9831f64403510@loljews.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376022-linux-kernel-netdev=dewy.ruReferences:
<patch-957a473dc4caca415acb95d2d6cfa1ab@loljews.com> <7B3495E1-AF06-42B3-BB62-20EBEB88727F@public-files.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376022-linux-kernel-netdev=dewy.ru From: sandeeph@loljews.com (Sandeep Haemoon) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v9 0/2] net: ethernet: mtk_eth_soc: 9K jumbo frame support Date: Wed, 02 Dec 2026 21:15:25 +0200 Organization: Usenet Network Message-ID: <reply-5019282b56da7ef440b9831f64403510@loljews.com> References: <patch-957a473dc4caca415acb95d2d6cfa1ab@loljews.com> <7B3495E1-AF06-42B3-BB62-20EBEB88727F@public-files.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="2039380"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:6GDNb25XBaO8759DPTBUkWZz6bA= sha256:F0Muc+3c6BQN+EPvQLT/n+e2R4nCixE0Fz8xiJO1cXk= sha1:3qmQcuzKF76GFn3SDaS9ThniBjk= sha256:IPkT1sIU30CuVCIiHlEK55EBLwfo36BALcGg78+PTo8= 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 D9750117708; Wed, 2 Dec 2026 22:16:08 +0300 (MSK) X-Quarantine-ID: <YKBEzw5rMfFn> X-Virus-Scanned: Debian amavisd-new at usenet.network X-Amavis-Alert: BAD HEADER SECTION, Header field occurs more than once: "Cc" occurs 7 times X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 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] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=loljews.com 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 YKBEzw5rMfFn; Wed, 2 Dec 2026 22:16:05 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376022-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=loljews.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 3AAFC1176FC; Wed, 2 Dec 2026 22:15:56 +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 670172756E; Wed, 2 Dec 2026 19:15:42 +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=1796238941; b=uZ4Uetc0AR2uRV+MdaX7mSLvSWd6usfdMz74ij3RXuLUR93rb8fmEuXO2HNBdzwq1FA5 ReN6bo5sWsHBbjLsy/T4Wuqu+7i3ePXNqRx+qLLZGnj6csOWS2yZ5NO/DnnV5XxIEHA19 bqkx+oftv0DCaaVwUv5K6JyWqARpTn92uvuIm/AsLF6X+BCtyERRf3HSagGNXVE0gUnHM +st5Ra3V96q2zj8bFwEfY43pjHYmrvuj46RR1B92QKx4+nzDTbDywNqQRxvj1bl651K2V oxfk/EmCwOGVankp4PwworwAGXeSTy+3uLz1AZF9lBI6Opj5WZHk90CNo0vmIwoV2Bg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796238941; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To: Cc:Cc:Cc:Cc:Cc:Cc:Cc:Subject:Date:Message-Id:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type; bh=XrocVitU1cQ/pY8Hjdh+XpgtEi9nBAOp0ffuqmc9ChU=; b=YQgCT0pNGfTPoL6WhjsufVUVRoBeNmXQkHSiqYJxOzNrJzW1QVVo0+l+Fbk0DAVrpF1S c/aywrNhwem+pgq1qJp18mwfv129iD7AXHWX3y9Bf7PzI4LtoQLcZ2jnnXicrE7XN6Uag 2jM9ofZyFD5efP3ATV+pDTF6N1EKD/dpGYtDnDmNe7qNs/OOXUIUyyjQAitL35MdIEgrG /rB2oulasxrdnyHLagihWOggEG7HIYAlKx5yVPcqG7/3BtX+vNs9H0ZFK7KxLQFd7DIip 3o+MgSinrTYkk7BILBiPpTv7vXAr8DVu/Lt5/knUacGG39E87Wukk0jbReehvHEzsYQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=jWdTgHda; dmarc=pass header.from=loljews.com; spf=pass smtp.mailfrom=loljews.com; 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 AC623606A683; Wed, 2 Dec 2026 19:15:41 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=jWdTgHda X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=54.38.221.178 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796238935; b=UydJ9n368bLdSTj3701Y8GDWQHQ+9H9KBRKqIRgfMWRflvHOQGjizUyFtTpQF61cS7ke jv+1219uaUj0hSFxO8rC0iiMuKSZaUP+Tg4imARds638iyik5WYoMsB+oL14n5W5hxH2z FHxysZwjrpyrlLDNZJs6QWQ6Zfz9L5R06P+UjCAnsLNPfQG6oJWw62BrR35gVoQ0rNE5v rFOhm4uzszm7tGGs5+mUNV571fLbaWzV4IZmcIrGnxnKoy26+NNX05RGfN9udiNYYeWE8 uryR5QDOFhbtUGEtVkkWVijZS2FExzYybt2aJliZO27V6QFXVc4dbjbHtzF0ZJncfMw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796238935; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Cc:Cc:Cc:Cc:Cc:Cc: Subject:Date:Message-Id:In-Reply-To:References:MIME-Version: Content-Type; bh=XrocVitU1cQ/pY8Hjdh+XpgtEi9nBAOp0ffuqmc9ChU=; b=Fv0nbzAKyD1kJlMJyrWibJIZ97+ODWbcDX0C++UbKLdOoNBlRuYx7jZtE/PownkGEtSF GFSlUC6Uka8Jqc3UmkyrLleUtdPRiKRNgwZHganDlRAJMkOB3GCL6HQeZx4l5SMGQrvOL riSgLg+13mV2SfxpHuw88iH8myZq81LehLVcka95k1aSAjYiVwWSYQ0vn5cjFyL5rMHpF k9e5HIO/CWYvRRgigjStjhRBNu8sr7hiavK8XeTo3jI4TpN9IA+p7JifVpkL0s0VdQtt5 Iq203CQVYbXRrxhjzI9pAe0G1bty3iPf5tl/ny4q5xBIK7ShEjQsdz2b0b+KGJOpe0g== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=loljews.com; spf=pass smtp.mailfrom=loljews.com; dkim=pass header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=jWdTgHda; arc=none smtp.remote-ip=54.38.221.178 X-Received: from mnc015mcc432.ss7-reroute.local (unknown [54.38.221.178]) (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 5A49E606A33A; Wed, 2 Dec 2026 19:15:32 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5A49E606A33A X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=loljews.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loljews.com X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=loljews.com; s=mail; t=1796238925; bh=XrocVitU1cQ/pY8Hjdh+XpgtEi9nBAOp0ffuqmc9ChU=; h=From:To:Cc:Cc:Cc:Cc:Cc:Cc:Cc:Subject:Date:In-Reply-To:References; b=jWdTgHdad+fVMPQcQFYEO6FgpktqmNQVMh+mF1P+en9q4vS0Mx4obTn/Llxmos6Lv TowqPjhrvyJ0y72tYmqGX6cfXhlRcModTkocllj7lvV/BSNpfhn1rfyR4BrvbpgOR8 zmIg+ePiwv5+U1NGMR0BG9HI+PkJlVVwenn1bm12MhOnHZz+Px76Gz0uaSf57IdneK ou59pvg0brE2mwZgsaSUSJhKGSinB6cLbSqhQqjUCeDVRM77mlqnUCw+AskddbSBwG zQ9gNVLseGn+zyM3WNUtuqF6oZXo4CgNQrmObRBBHFaEdF7Em85qZzX1PWzIJIlChG Iagmg2TeTsxoQ== X-Received: from loljews.com (localhost [127.0.0.1]) by postfix (Postfix) with ESMTP id 3891F27A32BA; Wed, 02 Dec 2026 21:15:25 +0200 (EET) X-Cc: netdev@vger.kernel.org X-Cc: linux-mediatek@lists.infradead.org X-Cc: linux-arm-kernel@lists.infradead.org X-Cc: linux-kernel@vger.kernel.org X-Cc: Felix Fietkau <nbd@nbd.name> X-Cc: Lorenzo Bianconi <lorenzo@kernel.org> X-Cc: Daniel Golle <daniel@makrotopia.org> X-In-Reply-To: <7B3495E1-AF06-42B3-BB62-20EBEB88727F@public-files.de> 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