From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by mail.toke.dk (Postfix) with ESMTPS id 00C509BE50B for ; Fri, 11 Nov 2022 01:45:32 +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=cPuoVcps Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1668127532; 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=bw8mu8AHIqRpJsotUOwUdebayj+6MCeH5ZoSf6IaVFw=; b=cPuoVcpsrrsvVu7r7W5QgQDGQfDpHjo8nhWcOOdnQbzoLJTzmBc6v1EdrpjrwfnesIKYk7 cH5i28SAfLp+PUleiGi6OooaKNlXABCHZNqzlPDL1Py4pgciA+nd/ddLa6CS+Lfq8bcGUY eFmvACviJBFBb5Ophl0hjzFDRn4EQgA= Date: Thu, 10 Nov 2022 16:45:27 -0800 MIME-Version: 1.0 Content-Language: en-US To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Stanislav Fomichev References: <20221104032532.1615099-1-sdf@google.com> <20221104032532.1615099-7-sdf@google.com> <187e89c3-d7de-7bec-c72e-d9d6eb5bcca0@linux.dev> <9a8fefe4-2fcb-95b7-cda0-06509feee78e@linux.dev> <6f57370f-7ec3-07dd-54df-04423cab6d1f@linux.dev> <87leokz8lq.fsf@toke.dk> <5a23b856-88a3-a57a-2191-b673f4160796@linux.dev> <32f81955-8296-6b9a-834a-5184c69d3aac@linux.dev> <87y1siyjf6.fsf@toke.dk> <87o7texv08.fsf@toke.dk> <87eduaxsep.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: <87eduaxsep.fsf@toke.dk> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Migadu-Flow: FLOW_OUT Message-ID-Hash: Q2NCSY45SXFTAYGE4NNZQWQOTPCPCINU X-Message-ID-Hash: Q2NCSY45SXFTAYGE4NNZQWQOTPCPCINU 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: 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, bpf@vger.kernel.org X-Mailman-Version: 3.3.6 Precedence: list Subject: [xdp-hints] Re: [RFC bpf-next v2 06/14] xdp: Carry over xdp metadata into skb context List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gMTEvMTAvMjIgNDoxMCBQTSwgVG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2VuIHdyb3RlOg0KPj4g VGhlIHByb2JsZW0gd2l0aCBBRl9YRFAgaXMgdGhhdCwgSUlVQywgaXQgZG9lc24ndCBoYXZlIGEg ZGF0YV9tZXRhDQo+PiBwb2ludGVyIGluIHRoZSB1c2Vyc3BhY2UuDQo+Pg0KPj4gWW91IGdldCBh biByeCBkZXNjcmlwdG9yIHdoZXJlIHRoZSBhZGRyZXNzIHBvaW50cyB0byB0aGUgJ2RhdGEnOg0K Pj4gfCAyNTYgYnl0ZXMgaGVhZHJvb20gd2hlcmUgbWV0YWRhdGEgY2FuIGdvIHwgZGF0YSB8DQo+ IA0KPiBBaCwgSSB3Y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