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 AF0869DFA10 for ; Wed, 18 Jan 2023 15:28:41 +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=el2UBSgi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674052119; 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=zvohO/cAGi/GlRju0XPQ5MY7w85GbbV+IBrhlRqRyqg=; b=el2UBSgitT3dcct6yjx/EBzLUgY+X7WW6jBFLuFQyiAbxWjS3G3puyM1i8NMf/CYLRegx5 602m3s9Twzsxz6jzz5On1mrJt3t1oP0dQOHKjTshl3oj9oC3z7bTMOg86pS3EpgMAtuwn1 LSfubpYeudg1FdP20QxFd2hsurYBa64= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-213-b0jIysiNNAq74W_FWbqCDw-1; Wed, 18 Jan 2023 09:28:38 -0500 X-MC-Unique: b0jIysiNNAq74W_FWbqCDw-1 Received: by mail-ed1-f72.google.com with SMTP id y2-20020a056402440200b0049e4d71f5dcso1447540eda.5 for ; Wed, 18 Jan 2023 06:28:38 -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=zvohO/cAGi/GlRju0XPQ5MY7w85GbbV+IBrhlRqRyqg=; b=wqlyHlptuwsYIRAmFVg5fS7gYYtBmF1vYnB0lHF9+2RQOyM2zA0efVn/tMlHcFPdXh 0mDByL+WlWVboysxoZ8OvustOZvXsEy/eQPqeKEW6+3ZAVg5zqSwkeE6mZlIT2LgCUlJ BkzTYiyms01Y7IUdP/5Sy9+ERGB/o+TAP5NpEOhSGqDCGbgEtnuTGOIEnn0pjBPVCoED kTa9VRXgI+O6C5+qgNj598LxxO0kb7ik9K67/i5kglBJsl13uTjFEAjGZjjkjKZMCZ51 3QAni2S1ODQqqjfsF4DrVAz1HfnRTaKzqixd1z8c8ku9MtgiLG//y5O2GboBUPZ+0coe 9EYQ== X-Gm-Message-State: AFqh2kqFq/oZMNeFLE85EcNhu6bNE08zgXDiMv672WYIHXqsSuVUvbPW wodITTUeZSu/qzSFXSnUlkQxyEROmU+JYoOUd4V1iOq5Pr6rXt4qzTiSFhEHWdSUXeGsgj/EchC +3BzB5MqL3CNkMiAf+2yM X-Received: by 2002:a50:eac3:0:b0:499:b48b:2c3 with SMTP id u3-20020a50eac3000000b00499b48b02c3mr7114343edp.25.1674052117484; Wed, 18 Jan 2023 06:28:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFLUJf8MuNit9FWrOTugYppUKXSNpuc7vMhIE+hzF9fX7e4lG5pAmiPAioshiQjMW+qb/yJg== X-Received: by 2002:a50:eac3:0:b0:499:b48b:2c3 with SMTP id u3-20020a50eac3000000b00499b48b02c3mr7114277edp.25.1674052117041; Wed, 18 Jan 2023 06:28:37 -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 la19-20020a170907781300b007aee7ca1199sm14857759ejc.10.2023.01.18.06.28.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 06:28:36 -0800 (PST) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <27e552c4-e1cf-40d3-305c-e4a57ab87bcf@redhat.com> Date: Wed, 18 Jan 2023 15:28:34 +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 , Jesper Dangaard Brouer References: <20230112003230.3779451-1-sdf@google.com> <20230112003230.3779451-2-sdf@google.com> 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: F52BVO63NN36VNXMCD5YTW4GKCOKBF4N X-Message-ID-Hash: F52BVO63NN36VNXMCD5YTW4GKCOKBF4N 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, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, David Ahern , Jakub Kicinski , Willem de Bruijn , Anatoly Burakov , Alexander Lobakin , Magnus Karlsson , Maryam Tahhan , xdp-hints@xdp-project.net, netdev@vger.kernel.org, David Vernet , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= X-Mailman-Version: 3.3.7 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v7 01/17] bpf: Document XDP RX metadata List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQpPbiAxNy8wMS8yMDIzIDIxLjMzLCBTdGFuaXNsYXYgRm9taWNoZXYgd3JvdGU6DQo+IE9uIE1v biwgSmFuIDE2LCAyMDIzIGF0IDU6MDkgQU0gSmVzcGVyIERhbmdhYXJkIEJyb3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