From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow4-smtp.messagingengine.com (flow4-smtp.messagingengine.com [103.168.172.139]) by mail.toke.dk (Postfix) with ESMTPS id 202D9A82D28 for ; Wed, 21 Aug 2024 02:29:52 +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=RPF2k/MN; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=ptPLM/AD Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailflow.nyi.internal (Postfix) with ESMTP id 4AE05200FE5; Tue, 20 Aug 2024 20:29:51 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 20 Aug 2024 20:29:51 -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=1724200191; x=1724207391; bh=aLTLFyYEuM4QBvB3L5JDWP5esOECsDdUNNoVzogvYq8=; b= RPF2k/MN/+ZT0opzi+ATRVsED5QvTI7IGpYYtNu74b1bi7+TaYigp15CStOTU2HP lQ869BrqrI0v5mVZBZ6PwVN1IG35J79VTsNkHae3+FdZBO2conpV8hOELEWjapuO Aq2ghYyzmMlh4+T1F4NP0ECX3hcIKpLUv7xoGNm5lgUjGaYhXD2qLdegLv575xC3 iISr964L36GHFqkxs4jfEhsb2mMu/4C6ESwDU+2qvADfIG36i/JBXmEJpMArhP+A zZLKMZqu+OIwCFSwujNzfTMMkSZEKY8xq9sSFjNpl/NvVe3xLbg+MF8tEfqZQ/p7 SYBrKsNV1CXrzRV9SqtbAQ== 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=1724200191; x= 1724207391; bh=aLTLFyYEuM4QBvB3L5JDWP5esOECsDdUNNoVzogvYq8=; b=p tPLM/ADv5gcwbh6G8LT2iZBFWSNXdNBUi0T6Sd/KDUt1sCKhOq9wK/Wghpd+bBBk N68JHtL/XPjgfoRf6Nf4GoOG7QNqe4HDpfx97+Ugxx9nTb2gPG/YhUDdzngxV/DV sG2O/QBPcFQnFhiHeXhzWIS9QDIe76lGSPY5pgDX4GifMCrOeol53Va5J+vGs+NH GJ0HIIIB6iBxJ3+u9KhIkXEBEpOnGnxTETvg2ZA48+6qcvv7/63SsZqRKfqFA3sM BsaZiawt9+ppw2+GaR7dN5j5RZrweBHrEkeeocJEwQDgTajZ9kludeREhLbnfKUK VMfqMqsEqULs7VCks5uig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddujedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhf gggtugfgjgestheksfdttddtjeenucfhrhhomhepffgrnhhivghlucgiuhcuoegugihuse gugihuuhhurdighiiiqeenucggtffrrghtthgvrhhnpeffffeggeekjedvjeegheetkedu hffgfeegveeklefhgeeuleejhfeljedtkeevffenucffohhmrghinhepghhithhhuhgsrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ugiguhesugiguhhuuhdrgiihiidpnhgspghrtghpthhtohepvdeipdhmohguvgepshhmth hpohhuthdprhgtphhtthhopegrlhgvkhhsrghnuggvrhdrlhhosggrkhhinhesihhnthgv lhdrtghomhdprhgtphhtthhopehhrgifkheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoh epthhokhgvsehrvgguhhgrthdrtghomhdprhgtphhtthhopehlohhrvghniihordgsihgr nhgtohhnihesrhgvughhrghtrdgtohhmpdhrtghpthhtoheprghlvgigrghnughrrdhloh gsrghkihhnsehinhhtvghlrdgtohhmpdhrtghpthhtoheprghstheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepuggrnhhivghlsehiohhgvggrrhgsohigrdhnvghtpdhrtghpth htoheprghnughrihhisehkvghrnhgvlhdrohhrghdprhgtphhtthhopehlrghrhihsrgdr iigrrhgvmhgsrgesihhnthgvlhdrtghomh X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Aug 2024 20:29:47 -0400 (EDT) Date: Tue, 20 Aug 2024 17:29:45 -0700 From: Daniel Xu To: Alexander Lobakin Message-ID: References: <20220628194812.1453059-1-alexandr.lobakin@intel.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 In-Reply-To: Message-ID-Hash: UTGFYNEOEGFDB24567GSERDFCLQIEDYG X-Message-ID-Hash: UTGFYNEOEGFDB24567GSERDFCLQIEDYG 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: SGkgT2xlaywNCg0KT24gTW9uLCBBdWcgMTksIDIwMjQgYXQgMDQ6NTA6NTJQTSBHTVQsIEFsZXhh bmRlciBMb2Jha2luIHdyb3RlOg0KWy4uXQ0KPiA+IFRoYW5rcyBBIExPVCBmb3IgZG9pbmcgdGhp cyBiZW5jaG1hcmtpbmchDQo+IA0KPiBJIG9wdGltaXplZCB0aGUgY29kZSBhIGJpdCBhbmQgcGlj a2VkIG15IG9sZCBwYXRjaGVzIGZvciBidWxrIE5BUEkgc2tiDQo+IGNhY2hlIGFsbG9jYXRpb24g YW5kIHRvZGF5IEkgZ290IDQuNyBNcHBzIPCfjokNCj4gSU9XLCB0aGUgcmVzdWx0IG9mIHRoZSBz ZXJpZXMgKDcgcGF0Y2hlcyB0b3RhbGx5LCBidXQgMiBhcmUgbm90DQo+IG5ldHdvcmtpbmctcmVs YXRlZCkgaXMgMi43IC0+IDQuNyBNcHBzID09IDc1JSENCj4gDQo+IERhbmllbCwNCj4gDQo+IGlm IHlvdSB3YW50LCB5b3UgY2FuIHBpY2sgbXkgdHJlZVswXSwgZWl0aGVyIGZ1bGwgb3IganVzdCB1 cCB0bw0KPiANCj4gImJwZjogY3B1bWFwOiBzd2l0Y2ggdG8gb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