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 DCE5A9E5DC1 for ; Tue, 31 Jan 2023 14:00:55 +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=XPoChSHb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675170054; 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=kVKjWSpLDvuDVRuKElJrADcF9968GW/ss8fqJreCpew=; b=XPoChSHb1276555J8sXzui6+/q/BtV3SBd8XXapdxDqUnkqQmz7nmJskk/e0GTygOpnG0Z gWRkVAX9e5UUs9ake2ot6JCy+WuopyloEVRad8RRd8oLZnEqor8JeFbf/n7Nk+uZ61gx5M 4MDAvUqSBnSsvCIWeWVaQ+VN1r99X10= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-281-NeHXFXnkNhi9hYH4HZEWEA-1; Tue, 31 Jan 2023 08:00:41 -0500 X-MC-Unique: NeHXFXnkNhi9hYH4HZEWEA-1 Received: by mail-ej1-f71.google.com with SMTP id xh12-20020a170906da8c00b007413144e87fso9645308ejb.14 for ; Tue, 31 Jan 2023 05:00:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=kVKjWSpLDvuDVRuKElJrADcF9968GW/ss8fqJreCpew=; b=c7sDAIohs2FHWPJL8pc1uXUcpHXuBGHQQfxwZ8A/BK28olGbvngj/BJWF+6AUkLDhs ZfsSenVg0kq1hruxE0CtbowgGf1NxpRh1YUvFLO+o4KTYO4amOexqa+nS9pZ/FMy5dz0 BbmZS7Mtz9hzrlBq5lMM9+Qk5WLvYl/poE19vw5cOOd7TKIOvgy0P+6vIRLZ3dxs8KB6 fq34fj/fCJNuronA99wsjRJFvBBhWyTuo41hT5MddgkXHeVXiWeR6Yvy31pbSS2FQt5U A7vwA4PZZFuz9KFsj+JTbCXxqOHmWVSV5IoZdt5yl9PcoeF85YPmaCSSn630R7xIqU8W aHoQ== X-Gm-Message-State: AFqh2ko1wKAjKQRkNeTkOP6gijkTp5XODJ5e8CDbwIuE0FLmh2HyaiYL vwzrszyLsBT+zxcBVUNOjcBjG+3UM+2DXsanR8PEdDWHHY2YZLI7RLlFFRvBl1y/t1ThJBmzgsD f8CzPbUBwjuVqLYnpvt/t X-Received: by 2002:a05:6402:ea8:b0:494:fae3:c0df with SMTP id h40-20020a0564020ea800b00494fae3c0dfmr57280469eda.12.1675170035488; Tue, 31 Jan 2023 05:00:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXvjR0KBlMU07/4Dzba2ATiXXKwyxEnlo1bOIaf+RRpi4wGrC/+v9rKvrKEe+/uXtZnBYML+Hg== X-Received: by 2002:a05:6402:ea8:b0:494:fae3:c0df with SMTP id h40-20020a0564020ea800b00494fae3c0dfmr57280438eda.12.1675170035201; Tue, 31 Jan 2023 05:00:35 -0800 (PST) Received: from [192.168.41.200] (83-90-141-187-cable.dk.customer.tdc.net. [83.90.141.187]) by smtp.gmail.com with ESMTPSA id f25-20020a170906139900b0087b3d555d2esm7237432ejc.33.2023.01.31.05.00.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 05:00:34 -0800 (PST) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <839c6cbb-1572-b3a8-57eb-2aa2488101dd@redhat.com> Date: Tue, 31 Jan 2023 14:00:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 To: Stanislav Fomichev , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= References: <167482734243.892262.18210955230092032606.stgit@firesoul> <87cz70krjv.fsf@toke.dk> 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: QJOFKEL4CFGLL4ZZYZ2KFFGIYFSES6VB X-Message-ID-Hash: QJOFKEL4CFGLL4ZZYZ2KFFGIYFSES6VB 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, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, dsahern@gmail.com, willemb@google.com, void@manifault.com, kuba@kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next RFC V1] selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQoNCk9uIDI3LzAxLzIwMjMgMTguMTgsIFN0YW5pc2xhdiBGb21pY2hldiB3cm90ZToNCj4gT24g RnJpLCBKYW4gMjcsIDIwMjMgYXQgNTo1OCBBTSBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4gPHRv a2VAcmVkaGF0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