From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by mail.toke.dk (Postfix) with ESMTPS id DDFE49CDE09 for ; Sat, 10 Dec 2022 01:42:28 +0100 (CET) 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=UQy+2H0b Message-ID: <8fdc5438-9ca1-6c12-9909-c6f472c22f19@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670632946; 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=j4j7zCs4ite6CneM2hN33AekYFseDp5FZuluTmgM6C8=; b=UQy+2H0bR4kY8GcTkMgDNeSmN6X9KwMzIfrBHnEbVb5W8eGty6p/MAzk5RWXpbkp1mPSPe 0R+uVG5iSnFGk00sGDOOhNJjrHY1hKBZ1nPkzE3OMY9z1uPpO74fkY6gIJWLXXp6YVD8Uc cs49hY/iSGqCA87YpcG15Hp/zkUeaQM= Date: Fri, 9 Dec 2022 16:42:19 -0800 MIME-Version: 1.0 Content-Language: en-US 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> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Migadu-Flow: FLOW_OUT Message-ID-Hash: 2ZAENXGHE2AZB6G2VYMLGM33RXKIOKF6 X-Message-ID-Hash: 2ZAENXGHE2AZB6G2VYMLGM33RXKIOKF6 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: T24gMTIvOC8yMiA2OjU3IFBNLCBTdGFuaXNsYXYgRm9taWNoZXYgd3JvdGU6DQo+IE9uIFRodSwg RGVjIDgsIDIwMjIgYXQgNDowNyBQTSBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4gPHRva2VAcmVk aGF0LmNvbT4gd3JvdGU6DQo+Pg0KPj4gU3RhbmlzbGF2IEZvbWljaGV2IDxzZGZAZ29vZ2xlLmNv bT4gd3JpdGVzOg0KPj4NCj4+Pj4gQW5vdGhlciBVWCB0aGluZyBJIHJhbiBpbnRvIGlzIHRoYXQg bGliYnBmIHdpbGwgYmFpbCBvdXQgaWYgaXQgY2FuJ3QNCj4+Pj4gZmluZCB0aGUga2Z1bmMgaW4g dGhlIGtlcm5lbCB2bWxpbnV4LCBldmVuIGlmIHRoZSBjb2RlIGNhbGxpbmcgdGhlDQo+Pj4+IGZ1 bmN0aW9uIGlzIGJlaGluZCBhbiBhbHdheXMtZmFsc2UgaWYgc3RhdGVtZW50ICh3aGljaCB3b3Vs ZCBiZQ0KPj4+PiBlbGltaW5hdGVkIGFzIGRlYW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