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.129.124]) by mail.toke.dk (Postfix) with ESMTPS id D5C7E9F6DFC for ; Tue, 21 Mar 2023 14:48:08 +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=BuEE73TS DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679406487; 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=bnzw40W4FEb0L33e1Mp4fLzGvHbT4d6YAsRF5znlBGI=; b=BuEE73TSKrVo4eBBBqN4LzU1oFSVv6xgSy/hwl2zGqxc00Mdr2j+tMvn4tRIrRFmwlp6VN TVK4uOkbb/QtAqn/IliLsvEB+F8TcDWhGQtyHaSk2k7N3z+xauoacy/BMpltssK2LGvYZb 0/a+Jja8Oy5q9aggEqiC01XrYYyuxSY= 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-75-8RMNqm4UOTSgsCfm2n5_JA-1; Tue, 21 Mar 2023 09:48:06 -0400 X-MC-Unique: 8RMNqm4UOTSgsCfm2n5_JA-1 Received: by mail-ed1-f71.google.com with SMTP id i22-20020a05640242d600b004f5962985f4so22340037edc.12 for ; Tue, 21 Mar 2023 06:48:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679406485; 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=bnzw40W4FEb0L33e1Mp4fLzGvHbT4d6YAsRF5znlBGI=; b=HpZhXRp0xwbV6CE81B67fVHB4cEZHyaTBVO90YQAL2wQYa1LhSP3IZ4NmVGsYQlqNE 0y8UlQ/gqXBDIDB/sCNCgqdDZaqLUHXcgOVwsupGkJ8wKL3QnUvgJrCk4R0qcxY1XhgU 25wS8ZxsdF7BINVJ/qx/losfNxg2qbG38me/NAuxQyUKVm8nJh4gPil1sxzPjMSdsr3F oQx/Y/4HiETD3DSFAGpXEqtSTd152hk4vWCaBF8RGliXpBOW4TR+uPe1omuEIs16XveK LXeIo0Ba8+02jEfdrxIokaJPS/YOwOMjwKTYyBF3PGLWYfgOTI4Gd+suyTkq6I7knyJ9 h2MQ== X-Gm-Message-State: AO0yUKVi8Fut14MG2YXuvKqV9m3hc7fOllX6BqZAWn1CuIVtG/IgXY7z +qYoU+LM+bt8yz4+cZJJ1RFaY2Td8Aqp3DiHEBeMDa24DQ9rtI7fy0FaFy/wmgKCJcPsfsJV887 HvWaPSvkq1+5AWKN2vbP4 X-Received: by 2002:a17:906:a219:b0:931:c7fd:10b1 with SMTP id r25-20020a170906a21900b00931c7fd10b1mr3051148ejy.19.1679406485418; Tue, 21 Mar 2023 06:48:05 -0700 (PDT) X-Google-Smtp-Source: AK7set+569YcCQkBJfLUuFvWudGUBTxjUXWfsTiV3jSvd8/LLOnVaaorSzvRy1+EfecXtbKBu0X6qA== X-Received: by 2002:a17:906:a219:b0:931:c7fd:10b1 with SMTP id r25-20020a170906a21900b00931c7fd10b1mr3051122ejy.19.1679406485145; Tue, 21 Mar 2023 06:48:05 -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 l19-20020a170906079300b00932ed432475sm4657809ejc.124.2023.03.21.06.48.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Mar 2023 06:48:04 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <985e1576-7191-9f65-d96f-3f51cf01044b@redhat.com> Date: Tue, 21 Mar 2023 14:48:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Jesper Dangaard Brouer , Stanislav Fomichev References: <167906343576.2706833.17489167761084071890.stgit@firesoul> <167906359575.2706833.545256364239637451.stgit@firesoul> <87bkkm8f6y.fsf@toke.dk> In-Reply-To: <87bkkm8f6y.fsf@toke.dk> 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: BRUG525NHSUFQ4BDWQJTFYCTSL3CZGA5 X-Message-ID-Hash: BRUG525NHSUFQ4BDWQJTFYCTSL3CZGA5 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: DQoNCk9uIDIxLzAzLzIwMjMgMTMuMjQsIFRva2UgSMO4aWxhbmQtSsO4cmdlbnNlbiB3cm90ZToN Cj4gSmVzcGVyIERhbmdhYXJkIEJyb3V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