From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=linux.dev (client-ip=188.165.223.204; helo=out2.migadu.com; envelope-from=martin.lau@linux.dev; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=Ro3qiuNb Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by mail.toke.dk (Postfix) with ESMTPS id 3EFC79CDE34 for ; Sat, 10 Dec 2022 02:12:55 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670634775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7d31vW134n03dH29MgNQ4O/dnbW9pESjGNcz1ij6T24=; b=Ro3qiuNbrNKfSCyiywcfQR2IHy2qypA6orTcnzn/3DaVwU7ueIbGGJLUCptlC4mroE95pY Mzb8iV5vl3sNfAhMq9So5MRcvmMhuuULhqMKpLHLQvMXQDHFRjnfO7c038S17/da8RVqQ1 U4aFHPL9QTDCVd5NMwvzt0+wD7J30uI= Date: Fri, 9 Dec 2022 17:12:49 -0800 MIME-Version: 1.0 Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau To: Stanislav Fomichev , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= References: <20221206024554.3826186-1-sdf@google.com> <20221206024554.3826186-4-sdf@google.com> <878rjhldv0.fsf@toke.dk> <87zgbxjv7a.fsf@toke.dk> <8fdc5438-9ca1-6c12-9909-c6f472c22f19@linux.dev> In-Reply-To: <8fdc5438-9ca1-6c12-9909-c6f472c22f19@linux.dev> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Migadu-Flow: FLOW_OUT Message-ID-Hash: DVBDVDEYIHGVCKR6UNE4DG7XBLKXI7BD X-Message-ID-Hash: DVBDVDEYIHGVCKR6UNE4DG7XBLKXI7BD X-MailFrom: martin.lau@linux.dev 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: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, David Ahern , Jakub Kicinski , Willem de Bruijn , Jesper Dangaard Brouer , Anatoly Burakov , Alexander Lobakin , Magnus Karlsson , Maryam Tahhan , xdp-hints@xdp-project.net, netdev@vger.kernel.org X-Mailman-Version: 3.3.7 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v3 03/12] bpf: XDP metadata RX kfuncs List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gMTIvOS8yMiA0OjQyIFBNLCBNYXJ0aW4gS2FGYWkgTGF1IHdyb3RlOg0KPiBPbiAxMi84LzIy IDY6NTcgUE0sIFN0YW5pc2xhdiBGb21pY2hldiB3cm90ZToNCj4+IE9uIFRodSwgRGVjIDgsIDIw MjIgYXQgNDowNyBQTSBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4gPHRva2VAcmVkaGF0LmNvbT4g d3JvdGU6DQo+Pj4NCj4+PiBTdGFuaXNsYXYgRm9taWNoZXYgPHNkZkBnb29nbGUuY29tPiB3cml0 ZXM6DQo+Pj4NCj4+Pj4+IEFub3RoZXIgVVggdGhpbmcgSSByYW4gaW50byBpcyB0aGF0IGxpYmJw ZiB3aWxsIGJhaWwgb3V0IGlmIGl0IGNhbid0DQo+Pj4+PiBmaW5kIHRoZSBrZnVuYyBpbiB0aGUg a2VybmVsIH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