Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp124514lqp; Sun, 9 Jun 2024 20:33:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVA1mlzqFJdw9NYkWLnqekvxfJqrV04gar669vFJ/6HEw9JSrn4/JMI/7bduEUps7b/5wzMpa2gShKPn7SNzku9TYEfvYASrJFsvR9nQQ== X-Google-Smtp-Source: AGHT+IGtgtJ46PiRDPYsMXrSnYNJT9JpYB4ECd/MKAaZAfc47x8bwyD9KBiPi6j0N/z+XC+IbheS X-Received: by 2002:a25:ef0f:0:b0:dfb:bd0:9883 with SMTP id 3f1490d57ef6-dfb0bd09c25mr5137431276.28.1717990395868; Sun, 09 Jun 2024 20:33:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717990395; cv=pass; d=google.com; s=arc-20160816; b=C75B+GLBu/CPvPZ4Bn6LRhOOx/yR9t9URA/tXjiLyLP6AkVoESk707IEdI6LS/O2X8 LLHbhboWvga1PdEIKzXznSzfl+Lcalar5vMbNtGD7fDjUe3Iz9wbKbPSCBH+OAxDXDFO NYeh/EAq0FT31RnwNS8RlAt+tAeApAyOAobjZK++lO0qbkS7b7ADSe5oAe5UbNsnFeBI nK8XqaP/EOitRgaAfaZnCxzSFSasZaxQjLwlZsAxiezTVLv04yh3ltSFrQ94LeFaPgyV oKviK2cMtWO94XGA1wHBU6urriwuFUXShTaBlXEZVISHKs/iohkLA80RBYcHbnx3BAwp SueA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=MhpwXQPEWuldXab2yRt6lwaofFGFqOHBQxOKwwMzkWs=; fh=Kl/LKAaPPFvhClQ3ZEM/UNlBzyF0NDpPwAc34VW2f70=; b=RRaBeluLRe73jECx0pc+4iyslnh6Zpzp8km5YM2tkbrpy0iL/QgGoRDfzLEaaMIN3J Gp++vFDEwvZ0Z0Ul2VYyHY0F1jKpCmNl+Hf/pkfSf7cGBJrvdhgH3j7aEWWTGVMoaUUk kXU+yDsvIFGcfHW+pI2+j0Q2vncgUBwIxC9vJJw/jbMeYiy1c/jro6wgys1mSIYkQZqY NWsYFkIgkVVCT7ouSjnFyWYUoCKq4dr5aCmayG3tXDPGGfSI3QSfnhEY9q8DGnlNgLQ2 4SUsfaVOp6eVlkXo0uuLG0UEwg4muxDEAMQEAwsFg4dmYHUSWZGTE9fvRuIopRQPaha8 aGPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@davidwei-uk.20230601.gappssmtp.com header.s=20230601 header.b="eaS/rB5p"; arc=pass (i=1 dkim=pass dkdomain=davidwei-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207569-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44053db88b5si53962591cf.657.2024.06.09.20.33.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 20:33:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@davidwei-uk.20230601.gappssmtp.com header.s=20230601 header.b="eaS/rB5p"; arc=pass (i=1 dkim=pass dkdomain=davidwei-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207569-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F47F1C20E83 for ; Mon, 10 Jun 2024 00:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A15D1567F; Mon, 10 Jun 2024 00:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=davidwei-uk.20230601.gappssmtp.com header.i=@davidwei-uk.20230601.gappssmtp.com header.b="eaS/rB5p" Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD84917F7 for ; Mon, 10 Jun 2024 00:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717979279; cv=none; b=rZdxVS/3Ur0zD+n8ZUDwUXyEhNDhyrQmHsPwM3OkadKNhTrJZNGlOUxYz4YndwA4nNyddZo4rc0WdVe0P1Cn7R++d1HYFr3bG/ckfd2/t0uBkO2NJW5Qtl1VehDbIax68jxG4eDokuSU0+PowheffPVfXAcoFVHVXBxUdaaKrYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717979279; c=relaxed/simple; bh=MhpwXQPEWuldXab2yRt6lwaofFGFqOHBQxOKwwMzkWs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=prlKI0dqTcJvnfzb5Q34nNP4hjKAtkdbWev+w5GNawBE90I6+48cl1ZRwYwmZKvpOqpP9LUPYayF5rFsFnbN91KESJ5CN2XkxudVjDMn3hKrw9VZ/xQZQqsn24eJTVwDJbmLgNjN85wqel08TagC2uxvUOuXuEGzUid4OBH7/Aw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=davidwei.uk; spf=none smtp.mailfrom=davidwei.uk; dkim=pass (2048-bit key) header.d=davidwei-uk.20230601.gappssmtp.com header.i=@davidwei-uk.20230601.gappssmtp.com header.b=eaS/rB5p; arc=none smtp.client-ip=209.85.216.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=davidwei.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=davidwei.uk Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-2c306e87b1fso342018a91.3 for ; Sun, 09 Jun 2024 17:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=davidwei-uk.20230601.gappssmtp.com; s=20230601; t=1717979277; x=1718584077; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MhpwXQPEWuldXab2yRt6lwaofFGFqOHBQxOKwwMzkWs=; b=eaS/rB5ptAbHAU0q7qdhCVXxZ7lbplvWL9hU4TV8HO/se05eThjpH8FgH1E6aS56n0 rW/FP7pOSyTxC+8whzwcsq90dLgrS0QhatoUNkRaMF2tATXfBuMr+yUVS6o0AfoXCkNB TQ/NutpDHJ4gJiMiKl9PcUGQqkiHEQYofisKHAoQrKewsoipTcj45F4gmgOrwRNPXnAG hLrgEbuXXS/YMk9seiceNyXS95VU2N5n+4a/vXtDWKNahfG762KAc+Imp1kvFGXC0A+p MU7pTWE7PVbAluvuq5FFXNSY19XM4DoyPVbkO2q5ZxDdT0TvSqVt3YTSZnHaNO60Y+T1 bMRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717979277; x=1718584077; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MhpwXQPEWuldXab2yRt6lwaofFGFqOHBQxOKwwMzkWs=; b=Zv9YItc+2F4AUBmkpUo5Y+5JkJEvr9JyJNHML8eScg5qUTF+UWNq5yElwMyXLHPxkE gQQLtaci4nUOEABeuBrcQYx7lDiKHSuzCyjPFoj4r7JofHz0q7CMIT9gb/SRMjK2u9FR CILTjgFC7mIMBnw30dE5m7UMfb7mdmrtPfyP2zaUBlc3UHVsGvgIVQGXc9M0HQhpH18Y Fx1wPgH0yPbCATPUZMq1GQGSbTQQa1OKxkB9ckpsJ31EqYNlo0HE+9E98Til+hWvrprK xdMy97EGcRNMMfOMmjyHeyfrNFQTN9eIipYF/jhY79Ix1Uzf+p6ZOYZyM/640k4tCBP+ GlSQ== X-Forwarded-Encrypted: i=1; AJvYcCWCKekOCFvcdsy/oxp4De87mFSSZv3ZBkjM6MLuphG8+GUpwod+tjbP4DUOQloKUOuq2I1n/MREphnX6vaXqA+946lZwrgsMhVIMgaw X-Gm-Message-State: AOJu0YzMSjgIlnSR91RCphKQ0twjXz04DlToPGdyEBkhomfv+oGzSlFh Yc+xmzq79ZBu16Dp4HLtWayVayS5kSXNCmd3T5aKS4eoNns2cP9iQVMKTE29gTs= X-Received: by 2002:a17:902:d4c3:b0:1f4:a36c:922c with SMTP id d9443c01a7336-1f6d02de0d6mr98614085ad.20.1717979276488; Sun, 09 Jun 2024 17:27:56 -0700 (PDT) Received: from [192.168.1.8] (174-21-189-109.tukw.qwest.net. [174.21.189.109]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd75f162sm70228185ad.61.2024.06.09.17.27.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Jun 2024 17:27:56 -0700 (PDT) Message-ID: <8f7bc361-aa92-4d73-b276-f2d6bb4fbd6a@davidwei.uk> Date: Sun, 9 Jun 2024 17:27:54 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v10 02/14] net: page_pool: create hooks for custom page providers Content-Language: en-GB To: David Ahern , Pavel Begunkov , Mina Almasry Cc: Christoph Hellwig , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Donald Hunter , Jonathan Corbet , Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Andreas Larsson , Jesper Dangaard Brouer , Ilias Apalodimas , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Arnd Bergmann , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Steffen Klassert , Herbert Xu , Willem de Bruijn , Shuah Khan , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Jason Gunthorpe , Yunsheng Lin , Shailend Chand , Harshitha Ramamurthy , Shakeel Butt , Jeroen de Borst , Praveen Kaligineedi References: <20240530201616.1316526-1-almasrymina@google.com> <20240530201616.1316526-3-almasrymina@google.com> <5aee4bba-ca65-443c-bd78-e5599b814a13@gmail.com> From: David Wei In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-06-07 17:27, David Ahern wrote: > I also do not understand why the ifq cache and overloading xdp functions > have stuck around; I always thought both were added by Jonathan to > simplify kernel ports during early POC days. Setting up an Rx queue for ZC w/ a different pp will be done properly using the new queue API that Mina merged recently. Those custom XDP hooks will be gone in a non-RFC patchset.