🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11762

Re: [PATCH net-next 2/2] net: ethernet: mtk_eth_soc: skip page_pool for

#11762
From: Simon Horman
Date: Thu, 05 Nov 2026 14:27
23 lines
8594 bytes
On Mon, Nov 02, 2026 at 12:48:46AM +0200, Sandeep Haemoon wrote:
> page_pool allocates order-0 pages and the pool is created with
> MTK_PP_MAX_BUF_SIZE.  Rings that need larger buffers (9K jumbo or the
> HW-LRO rings) cannot use it.  Only create/use a page_pool when
> ring->frag_size fits in a page; the large-buffer path already uses
> mtk_max_buf_alloc().
> 
> This is required by the 9K support in the previous patch; the
> large-buffer path it relies on comes from the MediaTek downstream
> series.
> 
> Link: https://github.com/mediatek/mtk-openwrt-feeds
> Signed-off-by: Sandeep Haemoon <sandeeph@loljews.com>

It may not be particularly important, but I do wonder
if the order of the patches in this patch-set should
be reversed: as it is 9k support seems to be added by 1/2
and fixed in 2/2.

That notwithstanding:

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261105142742.GU865646@horms.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-357441-linux-kernel-netdev=dewy.ru
References: <patch-4f863a941889f0bceca1c082f2d79624@loljews.com> <patch-f1b04513b0fe3fb0a35ac744799fb0f3@loljews.com> <patch-fdfc120d5c46c3e5d484cbff30f63316@loljews.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-357441-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 2/2] net: ethernet: mtk_eth_soc: skip page_pool
 for
Date: Thu, 5 Nov 2026 14:27:42 +0000
Organization: Usenet Network
Message-ID: <20261105142742.GU865646@horms.kernel.org>
References: <patch-4f863a941889f0bceca1c082f2d79624@loljews.com>
 <patch-f1b04513b0fe3fb0a35ac744799fb0f3@loljews.com>
 <patch-fdfc120d5c46c3e5d484cbff30f63316@loljews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3655521"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:o7g2rYTtmBN0NtSwIVelWwVPeWQ= sha256:yvFZ+roz2dc8bR4mC/rZtOyW0nLhqUW8XLbENETviVc=
	sha1:ApkI61K7Y0CRp89mJUrPuQ1xB+M= sha256:ldYiBbH39gcWmpYO/pjxp2wvZ9znpTNyNJPk5Stkpx0=
Content-Disposition: inline
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 0C10F112FD7; Thu,  5 Nov 2026 17:30:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=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 uEW-g8SrYhZB;
	Thu,  5 Nov 2026 17:30:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-357441-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id EDE75112FD3; Thu,  5 Nov 2026 17:30:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 7A3CA60848D; Thu,  5 Nov 2026 14:28:06 +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=1793888874;
	b=nrVY90KiRq/r4yrQCXB9WMjQpvz8s60xh5LBP/57Rs1cb8Hj+pD5IAl1XWHiohl5K6Pm
	 7j9eYjxk0KjcchDJBBENL4Ouy3nQbPhKmD8cRfWQPqRT0MWmN1fxpxOQVu20LJ+P4OJqB
	 WmiSD3s0r0OHQ0yMQOpqIb3xA4OIjN8i3/ZJ0Qlv2Wv7qbfheFS6+m2RSus9Bvhzydy/s
	 rMTR95vVwNy2nM2eEffU/5/OeLKlCVvG+1H+/cr35OliWtwHPshxBAoi5tKYcy3hhs1PR
	 nlc8XOFOS1rlCZ3yeJ02JTysDlxMnKVY/htom5U/WVUG0+5sxgKZCInM9/ECI54s1DA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793888874;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=rYHcTddsMGFJxoooXt9bGT/cprdRwsLwfNyq5sklZCs=;
	b=Wvomv56L2hmH7c7knAF+6LhXh3WwkLuVdIdKhEnEooySPJ5znCCd0Rb0h3jLiZJeiQfG
	 3mdY/uIFZHlryn7DiD9fvuAfsOyCQU3afwWSQxbHOUK9gdJZYOWiJxYAYePh5Akdk8uxO
	 OtyjwxKdBpQHeTfxiu2GDXuSuhFlb5rOcQf76xrgVw7hWUILHhtjuBFVUiJL4XkQLIaIV
	 TbsxSmTKgprCiRsLMf8gJJ/7tfdp+zvr7OsQJHboEPypQuVoQ33A713EZ0iTpj0zqs0JF
	 zHNs7bubozZ5waC7//eCgZVsF+btXQJAFsrXAoTMiyZZTXEte50PpdOpOxWNorRM6MQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rk5o+f1O;
	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 D8000606A33D;
	Thu,  5 Nov 2026 14:27:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rk5o+f1O
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793888866;
	b=A03x0v2ya40lTb+KKYff/jmctFUjsiy1dfMOzgG1epsDsiQJrRzpMC+Rp55uI7TRPIbr
	 W92LfkWmfvnwiRuxfm9Yis5h7NQo0FZptESSLui51Mis5Agjv/llUVxsgmvMo55s1g0/S
	 ZT2rklRgXklmkEO1E+TO3+ra7y6W2hFb7YBgCutlnksutnIbJV5AJCSqnGuSbHKgXZ5pq
	 j1HTKNaVMfPXWcdiseKhAGB4g8cYRcKhAnMTdwjDgbBatoIPnWnO4W98WjDBm+r6Zoxtw
	 BoZVgJAEqMlw9Nn8Y/BuiLAx1q1s8VNnaxERjQegGEKwquPZHeB98f6BthzsavmJE0w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793888866;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=rYHcTddsMGFJxoooXt9bGT/cprdRwsLwfNyq5sklZCs=;
	b=b4POG9yel+IWuUVkQxhW7V4POdri/m0Md5jYsoeSJ8bHh/ssYKBzotxqbe3KNi0iCnaB
	 yw5RyGkNn1HKSMiK5DWkaKNLdhIS/sqUFRIEH0tzpRZNP+k5JC7UQd3BnQ1JrWcCcxi3D
	 EQi1LQ8C7bU9vUDgmoxfNOiDOhwT3Pj9DHhVGWTlgUu7EhFOeILdeSRbDo4mnjTKg/f9C
	 wyCZjww2DQyQL+jj/LRCU6Tu/pqK8ZuxTh3SfRmQdNUuW1gkl+R0ivWJX1HrqPDtywxo+
	 K3V9HJUnH1nnVfNLcY8QkcUuVNZjSoo/2Xl7jjgo4SaCsyNotksr8DWmh+xQtQkA7ww==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rk5o+f1O;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(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 E66EA606A32E;
	Thu,  5 Nov 2026 14:27:45 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 305201F000C1;
	Thu,  5 Nov 2026 14:27:44 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793888865;
	bh=rYHcTddsMGFJxoooXt9bGT/cprdRwsLwfNyq5sklZCs=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=Rk5o+f1O6peQxQ9MqrF1F0MAgBXS1+MgHM1NL5rXIJ26rX2a7K/cTEaoepPELDyrj
	 eqj6eQtTFCOr6fANT/YDv7PBY8qUn+sqP87GUD6Xa73W4qRHUy4vbGr0Ltycf8T8jg
	 vEsW3D83z0t7XuVMbr/tGJ1QgCBxjDRSaCzNFZzs9CYyvmZBAk8BarpROmU+k1U1bs
	 4xxI3zTbSNdX1BNJMAq2u0FF8p8pDQDkDo0kHZnAcoZBUs8F0u4eirZmnzteFm0Rr2
	 lchBU6uFjD3odeJIkkNYZt3sUGSuaX479mgI4BRJt+YqJ1++38R9a9SHY4wIp8B2OP
	 XiMELJIEKt/zw==
X-Cc: netdev@vger.kernel.org, Felix Fietkau <nbd@nbd.name>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
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-In-Reply-To: <patch-fdfc120d5c46c3e5d484cbff30f63316@loljews.com>