From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mail.toke.dk (Postfix) with ESMTPS id 9ABA79F68F4 for ; Mon, 20 Mar 2023 19:42:29 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ffuOPLrx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679337748; 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=isnRFciqZ5AqBvIpyhsEw00Lp7lbCnxM3glPD1hRE1s=; b=ffuOPLrxeljLsjvmbgh3nWhimOzWqfSr48PND2LXF+QUeGdcq1+PDARHRcbpkjPks4PKJo 44ZMNrZdN/Ab2Ytxjt3hR1w+v3+MYJ919F5TKoMr1UzBpRV20aEHjCEK7zKjPEvo9hCT4j mBhLM4CJYBrlyHpx4B35udlwad8R0l8= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-638-4NM5yevXP_akOl2durFMXQ-1; Mon, 20 Mar 2023 14:42:25 -0400 X-MC-Unique: 4NM5yevXP_akOl2durFMXQ-1 Received: by mail-ed1-f71.google.com with SMTP id h11-20020a0564020e8b00b004e59d4722a3so18628457eda.6 for ; Mon, 20 Mar 2023 11:42:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679337744; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=isnRFciqZ5AqBvIpyhsEw00Lp7lbCnxM3glPD1hRE1s=; b=1UYosknnToqUWTTv3P0QklnsDHRqc+ec/gT1y3PT7xB9pE9tQhw39O1hAtY7DqmPZ5 AJRoU5YJYFhHKGRYrfvPjKAWETAZlAEe1P62Pafw5LCE76gnnfakuh82b1xFG+GxZ54P /qEzls6/zx/zx91XM4XRwPlZs82aYo/NUV72G2e7E3kzImj6HPXdg30WxO8UhxKWg/0q UkNcc7NJywiijIh2bwsxCoG7g2j5Kp2Xeq865m4exGZNTNbj/QKLvOZvvLUetn1yqKof o0bVDqrLv26ypa2Rh2AO4uslu2DxXvy8wYJOvz6wkigCyiBHcdseqWcgK0brBvLjm+wG CS9Q== X-Gm-Message-State: AO0yUKXPQqkzvpvUY3sS3hvjmNruatIr3YwiF590vS8sQuydLVgp94oN fOsiOZ9NSewPvreEezytT1iwbftGxVtMgp2zQvtI1b7PvlK5wF/3kqO8iNn6QpX7tN/J4ikM0WX jE0GfofU8pgmpHlg6YlOB X-Received: by 2002:a17:907:7050:b0:932:b7ce:27b4 with SMTP id ws16-20020a170907705000b00932b7ce27b4mr60800ejb.27.1679337744683; Mon, 20 Mar 2023 11:42:24 -0700 (PDT) X-Google-Smtp-Source: AK7set+BEgcGehPqZ2Bum2ZHowR7GqySzgHhwXwhHcdGlZqXQtrEdVC8Ntpmjeef2K2jOfZ66WbhMQ== X-Received: by 2002:a17:907:7050:b0:932:b7ce:27b4 with SMTP id ws16-20020a170907705000b00932b7ce27b4mr60777ejb.27.1679337744401; Mon, 20 Mar 2023 11:42:24 -0700 (PDT) Received: from [192.168.42.100] (194-45-78-10.static.kviknet.net. [194.45.78.10]) by smtp.gmail.com with ESMTPSA id hf8-20020a1709072c4800b0092b65c54379sm4761658ejc.104.2023.03.20.11.42.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Mar 2023 11:42:23 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Mon, 20 Mar 2023 19:42:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Stanislav Fomichev References: <167906343576.2706833.17489167761084071890.stgit@firesoul> <167906359575.2706833.545256364239637451.stgit@firesoul> In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: WHUMUEFK4ITTIXKPV7J2H26QNSJGK6H7 X-Message-ID-Hash: WHUMUEFK4ITTIXKPV7J2H26QNSJGK6H7 X-MailFrom: jbrouer@redhat.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: brouer@redhat.com, bpf@vger.kernel.org, netdev@vger.kernel.org, martin.lau@kernel.org, ast@kernel.org, daniel@iogearbox.net, alexandr.lobakin@intel.com, larysa.zaremba@intel.com, xdp-hints@xdp-project.net, anthony.l.nguyen@intel.com, yoong.siang.song@intel.com, boon.leong.ong@intel.com X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next V1 1/7] xdp: bpf_xdp_metadata use EOPNOTSUPP for no driver support List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQpPbiAxNy8wMy8yMDIzIDIyLjIxLCBTdGFuaXNsYXYgRm9taWNoZXYgd3JvdGU6DQo+IE9uIDAz LzE3LCBKZXNwZXIgRGFuZ2FhcmQgQnJvdWVyIHdyb3RlOg0KPj4gV2hlbiBkcml2ZXIgZG9lc24n dCBpbXBsZW1lbnQgYSBicGZfeGRwX21ldGFkYXRhIGtmdW5jIHRoZSBmYWxsYmFjaw0KPj4gaW1w bGVtZW50YXRpb24gcmV0dXJucyBFT1B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