From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=54.38.221.178 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5A49E606A33A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=loljews.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loljews.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=loljews.com header.i=@loljews.com header.a=rsa-sha256 header.s=mail header.b=jWdTgHda 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== 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) From: Sandeep Haemoon To: Frank Wunderlich Cc: netdev@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Felix Fietkau Cc: Lorenzo Bianconi Cc: Daniel Golle 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 Message-Id: In-Reply-To: <7B3495E1-AF06-42B3-BB62-20EBEB88727F@public-files.de> References: <7B3495E1-AF06-42B3-BB62-20EBEB88727F@public-files.de> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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.