From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow6-smtp.messagingengine.com (flow6-smtp.messagingengine.com [103.168.172.141]) by mail.toke.dk (Postfix) with ESMTPS id EE5A3A82EDC for ; Wed, 21 Aug 2024 18:36:44 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.a=rsa-sha256 header.s=fm3 header.b=PPN2ehFb; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=ULtnYKOY Received: from phl-compute-04.internal (phl-compute-04.nyi.internal [10.202.2.44]) by mailflow.nyi.internal (Postfix) with ESMTP id 1FAED200ADB; Wed, 21 Aug 2024 12:36:43 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 21 Aug 2024 12:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724258203; x=1724265403; bh=bHgA/01GAODS9cxNCldY3ddoOgoAtJIssNkJpWLJAJk=; b= PPN2ehFbsVv+9xnl/UzVbkR5ZSVmrkSfk0ac0WATFxYH4+T/bvKtZVZQI0tQJf7w pEGPnKujkGHR11Z39i8TepGkxZiHMsBOzGLgdOt3TkQLInWI5oaz+5zBJazMfHCn IDjgj8QfMy0D/iSQFNQGxkO2e+m9+wK1S5GKbAQBd2+8LfZ8u49yOZJcG7LWLCw7 YBcLceHnTo+F4UUYL/4klxzHg4+1jOVoKBprwF/+kjQOHqFDHd+dd9Rt7s6J1q3f dfnu7eLJOHUvWJTvj0AM2Vv2Jo6MeQCVSJKI/gyB6ACMh7QuBj+UmnpCSbtAnsPW b7n5+4tHnGa6wTK2JCDxyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724258203; x= 1724265403; bh=bHgA/01GAODS9cxNCldY3ddoOgoAtJIssNkJpWLJAJk=; b=U LtnYKOY7DgrSFmdd6/GBgTdbj1vtTEwgl/U0tYkgO8mqR5ahKZUhXyYTUrOaBwqK DvSlguvfMLFj4Xeb3l7Fy+F/JiSVE/+LIIdEJMRHiHa2a0epqP5vadG4C6N86rMO doNe3sJQ/ik6IddXIOg7TMv61KuQKiESh5dZddpci+pVg959qmXUSbWCqskJ0rom tRns6VDC/JEd8d2Kww45CYWMd2Zup8ZxZBMXgAxe29YOi7zFGYa/9Mb1bmFNdZBX onwuGkcedW3V8h4MI9GSsIbYppgPeeuPUdX7YzLji5XgysWVxIHX/emH56WyWJ0s ogshnsA2DWHgOxxifTd3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddukedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenfghrlhcuvffnffculdefhedmnecujfgurhepfffhvfevuffk fhggtggugfgjsehtkefstddttdejnecuhfhrohhmpeffrghnihgvlhcuighuuceougiguh esugiguhhuuhdrgiihiieqnecuggftrfgrthhtvghrnhepffffgeegkeejvdejgeehteek udfhgfefgeevkeelhfegueeljefhleejtdekveffnecuffhomhgrihhnpehgihhthhhusg drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegugihusegugihuuhhurdighiiipdhnsggprhgtphhtthhopedviedpmhhouggvpehsmh htphhouhhtpdhrtghpthhtoheprghlvghkshgrnhguvghrrdhlohgsrghkihhnsehinhht vghlrdgtohhmpdhrtghpthhtohephhgrfihksehkvghrnhgvlhdrohhrghdprhgtphhtth hopehtohhkvgesrhgvughhrghtrdgtohhmpdhrtghpthhtoheplhhorhgvnhiiohdrsghi rghntghonhhisehrvgguhhgrthdrtghomhdprhgtphhtthhopegrlhgvgigrnhgurhdrlh hosggrkhhinhesihhnthgvlhdrtghomhdprhgtphhtthhopegrshhtsehkvghrnhgvlhdr ohhrghdprhgtphhtthhopegurghnihgvlhesihhoghgvrghrsghogidrnhgvthdprhgtph htthhopegrnhgurhhiiheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhgrrhihshgr rdiirghrvghmsggrsehinhhtvghlrdgtohhm X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Aug 2024 12:36:39 -0400 (EDT) Date: Wed, 21 Aug 2024 09:36:36 -0700 From: Daniel Xu To: Alexander Lobakin Message-ID: References: <20220628194812.1453059-33-alexandr.lobakin@intel.com> <54aab7ec-80e9-44fd-8249-fe0cabda0393@intel.com> <874j7oean6.fsf@toke.dk> <34cc17a1-dee2-4eb0-9b24-7b264cb63521@kernel.org> <7a91042b-4406-4b99-99c5-6ec1ec7b98d7@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 In-Reply-To: <7a91042b-4406-4b99-99c5-6ec1ec7b98d7@intel.com> Message-ID-Hash: QBI63SVPSIRP66LR2OJYT66Z4DZP6VKH X-Message-ID-Hash: QBI63SVPSIRP66LR2OJYT66Z4DZP6VKH X-MailFrom: dxu@dxuuu.xyz X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jesper Dangaard Brouer , Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , Lorenzo Bianconi , Alexander Lobakin , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Larysa Zaremba , Michal Swiatkowski , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Lorenzo Bianconi , David Miller , Eric Dumazet , Jakub Kicinski , Paolo Abeni , John Fastabend , Yajun Deng , Willem de Bruijn , "bpf@vger.kernel.org" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.9 Precedence: list Subject: [xdp-hints] Re: [PATCH RFC bpf-next 32/52] bpf, cpumap: switch to GRO from netif_receive_skb_list() List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gV2VkLCBBdWcgMjEsIDIwMjQgYXQgMDM6MTY6NTFQTSBHTVQsIEFsZXhhbmRlciBMb2Jha2lu IHdyb3RlOg0KPiBGcm9tOiBEYW5pZWwgWHUgPGR4dUBkeHV1dS54eXo+DQo+IERhdGU6IFR1ZSwg MjAgQXVnIDIwMjQgMTc6Mjk6NDUgLTA3MDANCj4gDQo+ID4gSGkgT2xlaywNCj4gPiANCj4gPiBP biBNb24sIEF1ZyAxOSwgMjAyNCBhdCAwNDo1MDo1MlBNIEdNVCwgQWxleGFuZGVyIExvYmFraW4g d3JvdGU6DQo+ID4gWy4uXQ0KPiA+Pj4gVGhhbmtzIEEgTE9UIGZvciBkb2luZyB0aGlzIGJlbmNo bWFya2luZyENCj4gPj4NCj4gPj4gSSBvcHRpbWl6ZWQgdGhlIGNvZGUgYSBiaXQgYW5kIHBpY2tl ZCBteSBvbGQgcGF0Y2hlcyBmb3IgYnVsayBOQVBJIHNrYg0KPiA+PiBjYWNoZSBhbGxvY2F0aW9u IGFuZCB0b2RheSBJIGdvdCA0LjcgTXBwcyDwn46JDQo+ID4+IElPVywgdGhlIHJlc3VsdCBv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