From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-x24a.google.com (mail-oi1-x24a.google.com [IPv6:2607:f8b0:4864:20::24a]) by mail.toke.dk (Postfix) with ESMTPS id 985199A7FB2 for ; Wed, 5 Oct 2022 20:47:32 +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=rHSRB6g4 Received: by mail-oi1-x24a.google.com with SMTP id q184-20020acaf2c1000000b003432f020449so7437004oih.15 for ; Wed, 05 Oct 2022 11:47:32 -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=uIKaJQNDEBXQ5LIRD/exdnAwcdr6TfQKmZqIUyKLjOM=; b=rHSRB6g40vaZtXc17qUTKitpFwMzv7gj9BZpIWxsgodxP1VAVZT4ivwx9Ylp9Awxqw YuBmaTl9yN7s4jAmQm5p5CwjxTpCBr+HErqNQwOz+07dVwG3jkf1d4GE+pR0HUijubri Lfmvqs0WaSsDG0cW4dBz2gdQUoXb4/+MTRJUBt7wgSUVaNqNLnLtvz1ynSJDcRRq2N1C gWMSYJtYcLzpTjqhofDBHQsZyT/s77lc64WI1JiFIAbs/Iat/u4m5ry+HQ6C4G2rQD66 wbe+X3M0tmj6LmAd5Hwc6TvF6kvHqPqN4nMcD2GWg+f6iQXNlzNvF+6Ci9iHrWJ33KZ2 rIPg== 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=uIKaJQNDEBXQ5LIRD/exdnAwcdr6TfQKmZqIUyKLjOM=; b=O5ltQvSs6h22XPgRcfp75feKe1RBONmNvZ6YFs13XFY47y1Ex+PZxRW/oLq/Ulo7Ta 1nOItg8vTTx27CsoDICEP9M10knC9WxdHb6EfepYDih0uSil7c4Yy0Fy/dKJFuQ4WqQq fe2kgFdk/y3mG9WDRyEHiE62egkX+dk9R1YMmQg7BNxCXR/4umcgAKRCUN8zs97Xhm91 3y0TZGOQjsJReef7WgS4cdn8jHlzwhT2XHAwIi73Iik701ecfwCwh1eiewsKKBqwwxnP c0QwDoGwgaBc3OBqEAE2sFDrnP1R6ZKeSRC80QhkVHxaAietsnp5GztfE2Lr9UvVib1G eEsg== X-Gm-Message-State: ACrzQf0VYqmWMvPvr8jq5wLwQM+I6qqLtZtS4ICUXajoWNx01n0EfNTN pGT6uxzetZ74FXz/7ZOdGeqtvM8= X-Google-Smtp-Source: AMsMyM5ahHExplZ1c4fVpOzfrE+gidsGifNA21yAtFKDYj17RnlHJkdEY4AyGUfWpzptxnPNMCHhYPo= X-Received: from sdf.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5935]) (user=sdf job=sendgmr) by 2002:a05:6808:1648:b0:333:45ae:3777 with SMTP id az8-20020a056808164800b0033345ae3777mr3064229oib.4.1664995650686; Wed, 05 Oct 2022 11:47:30 -0700 (PDT) Date: Wed, 5 Oct 2022 11:47:29 -0700 In-Reply-To: <87h70iinzc.fsf@toke.dk> 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: "Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?=" Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 Message-ID-Hash: HAQ5PQB6FJMMZ73MYH2QQVCO327ELCIW X-Message-ID-Hash: HAQ5PQB6FJMMZ73MYH2QQVCO327ELCIW X-MailFrom: 3QtE9YwMKCfsvgijrrjoh.frp0gs-klqwv0gs-surmhfw.qhw@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: 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 , mtahhan@redhat.com, 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: T24gMTAvMDUsIFRva2UgSO+/vWlsYW5kLUrvv71yZ2Vuc2VuIHdyb3RlOg0KPiBTdGFuaXNsYXYg Rm9taWNoZXYgPHNkZkBnb29nbGUuY29tPiB3cml0ZXM6DQoNCj4gPiBPbiBUdWUsIE9jdCA0LCAy MDIyIGF0IDU6NTkgUE0gSmFrdWIgS2ljaW5za2kgPGt1YmFAa2VybmVsLm9yZz4gd3JvdGU6DQo+ ID4+DQo+ID4+IE9uIFR1ZSwgNCBPY3QgMjAyMiAxNzoyNTo1MSAtMDcwMCBNYXJ0aW4gS2FGYWkg TGF1IHdyb3RlOg0KPiA+PiA+IEEgaW50ZW50aW9uYWxseSB3aWxkIHF1ZXN0aW9uLCB3aGF0IGRv ZXMgaXQgdGFrZSBmb3IgdGhlIGRyaXZlciB0byAgDQo+IHJldHVybiB0aGUNCj4gPj4gPiBoaW50 cy4gIElzIHRoZSByeF9kZXNjIGFuZCByeF9xdWV1ZSBlbm91Z2g/ICBXaGVuIHRoZ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