From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) by mail.toke.dk (Postfix) with ESMTPS id 8E63C9A85E4 for ; Thu, 6 Oct 2022 19:22:31 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=B0aSWe19 Received: by mail-pg1-x54a.google.com with SMTP id h186-20020a636cc3000000b0045a1966a975so1470956pgc.5 for ; Thu, 06 Oct 2022 10:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=9RggNsVVi3cyrSbmg5yhAvnMYTKt2Ro8KNpkYruYnb0=; b=B0aSWe192koGou04BL6g1GI/na/w+bvOrNGS2+vvT8134tsrV3u6TQdO3rA1fITpDX PXrPpMzaIwgRnQ7BiQ2eR3qFdpA2jux8xad8PVBb6wZpEVcHZZrgw/+V/auDMU+Gkf2b vdH9q10KdnnW6WEc18tsRkVUVT4T4+6+kEjGea3lzyZAu3tOSPCLNreMgmbbMJBaaPqX iuR/K1x2FGGxoY4rMgu0yz6omXMZ6E2byY86pmWnzr/M+sg+5J6nx4Px8NB9OQwp/bC8 uaPX/MR8o29SqoOkKMVOHeVbnhO96y9dKzATLQrsZ1lK1AUt83WTjoxr+J60BbAK4/wj iv9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=9RggNsVVi3cyrSbmg5yhAvnMYTKt2Ro8KNpkYruYnb0=; b=aVluIMvutJ+iT3aIIovM3+VFsbUPiJNfrJe8G7LdwjUMPXh42uHf+QkqmyncoLEXH9 GaINXL6zG2K9v9MC6gFw/+lwy5uCEOw+2/KoZir0ocbQaf52dpdD+IikPR8dXz1f+yP0 iCDUuDu2BAQD6J3evRXyNJjl9yON7bjCaALS32ZlQSVZWVLfwg7SCw7luXPb+CGdUY/B 5WNQP5gEvtAXQ6rusUlE6zvT0T00/xEbki5+0mcDTYlq7DZEvpDq2LZ0weusIAuMtw5w o6MfdnmMgYBUrDh2rko0hyPfu28SS9R26IoIBaehIlKLaDXkmR/4wGN8xUlyFbg5cLFq sFvw== X-Gm-Message-State: ACrzQf3UpYwHDg8fkMJZMzpFwwR7iQBy+amjkAiDcBokERtdznZpMn6+ xKCJyQ1qOBjo2KNJUBPqUXISWQY= X-Google-Smtp-Source: AMsMyM5rriQaWAkk6+qQ5tCTTbOWxBtlRsIiQmEqt8ZG4qWak7HUNOLwVku/3oxeShbb+eR13QLSLVU= X-Received: from sdf.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5935]) (user=sdf job=sendgmr) by 2002:a17:90b:4a51:b0:20b:d92:516e with SMTP id lb17-20020a17090b4a5100b0020b0d92516emr754008pjb.86.1665076948641; Thu, 06 Oct 2022 10:22:28 -0700 (PDT) Date: Thu, 6 Oct 2022 10:22:26 -0700 In-Reply-To: Mime-Version: 1.0 References: <166256538687.1434226.15760041133601409770.stgit@firesoul> <35fcfb25-583a-e923-6eee-e8bbcc19db17@redhat.com> <5ccff6fa-0d50-c436-b891-ab797fe7e3c4@linux.dev> <20221004175952.6e4aade7@kernel.org> <87h70iinzc.fsf@toke.dk> Message-ID: From: sdf@google.com To: Maryam Tahhan Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 Message-ID-Hash: O22SFI3DK6B5RVLYKAABCQ5JIE5IDE3Y X-Message-ID-Hash: O22SFI3DK6B5RVLYKAABCQ5JIE5IDE3Y X-MailFrom: 31A4_YwMKCQ87suv33v0t.r31Cs4-wx287Cs4-463ytr8.2t8@flex--sdf.bounces.google.com 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: Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Jakub Kicinski , Martin KaFai Lau , Jesper Dangaard Brouer , brouer@redhat.com, bpf@vger.kernel.org, netdev@vger.kernel.org, xdp-hints@xdp-project.net, larysa.zaremba@intel.com, memxor@gmail.com, Lorenzo Bianconi , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , dave@dtucker.co.uk, Magnus Karlsson , bjorn@kernel.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [xdp-hints] Re: [PATCH RFCv2 bpf-next 00/18] XDP-hints: XDP gaining access to HW offload hints via BTF List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gMTAvMDYsIE1hcnlhbSBUYWhoYW4gd3JvdGU6DQo+IE9uIDA1LzEwLzIwMjIgMTk6NDcsIHNk ZkBnb29nbGUuY29tIHdyb3RlOg0KPiA+IE9uIDEwLzA1LCBUb2tlIEjvv71pbGFuZC1K77+9cmdl bnNlbiB3cm90ZToNCj4gPiA+IFN0YW5pc2xhdiBGb21pY2hldiA8c2RmQGdvb2dsZS5jb20+IHdy aXRlczoNCj4gPg0KPiA+ID4gPiBPbiBUdWUsIE9jdCA0LCAyMDIyIGF0IDU6NTkgUE0gSmFrdWIg S2ljaW5za2kgPGt1YmFAa2VybmVsLm9yZz4gIA0KPiB3cm90ZToNCj4gPiA+ID4+DQo+ID4gPiA+ PiBPbiBUdWUsIDQgT2N0IDIwMjIgMTc6MjU6NTEgLTA3MDAgTWFydGluIEthRmFpIExhdSB3cm90 ZToNCj4gPiA+ID4+ID4gQSBpbnRlbnRpb25hbGx5IHdpbGQgcXVlc3Rpb24sIHdoYXQgZG9lcyBp dCB0YWtlIGZvciB0aGUgZHJp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