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 5EA689F2D31 for ; Tue, 7 Mar 2023 20:32:14 +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=L/bIUNZH DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678217533; 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=AIuniFfEXi61jmMfGHDfmaGpyYk61RiVautVdGF/TR4=; b=L/bIUNZH9+4pdCh1QFgQvgZeFukwAQY137QNIcTlSr0GvRb+/sL8Q7IQ7zDCtXN8VSrlLY iQPPt2af3osb3YGk/wOGYMIhgVBepMkO1GLIYQ6t6uHr19nPGwcoPqyZmeTnEa6Zh/BoR9 o2r9l8i+c1Yr39KKCJoWvZd9u4pkyWk= 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-335-pP_yJ4qmNHKUK5N9PELGyw-1; Tue, 07 Mar 2023 14:32:12 -0500 X-MC-Unique: pP_yJ4qmNHKUK5N9PELGyw-1 Received: by mail-ed1-f71.google.com with SMTP id c1-20020a0564021f8100b004acbe232c03so20087403edc.9 for ; Tue, 07 Mar 2023 11:32:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678217531; 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=AIuniFfEXi61jmMfGHDfmaGpyYk61RiVautVdGF/TR4=; b=HH4OrHmyvIgYMc5NGk0PJ5Yh8mGQHxTOSlRSHAYOUdWEz9Eer4AlOXV6KDZBqfHscx EG9Jc0Tvo4MuYtHh6bwZ/EjlGU1n/Qt55dJnmfZQC1wKB+tGH+v5tAs9h8TiK4xSYwSd B5xGY2+YQOkTDdd/6ltAU7i+qoEsF8v502u8ZfHeZsyxq1/yJXHq2JXZMlsiv/5QFfP6 byYbEAsSW0H+WII0bEKj4jWUiM6rlChpiSv3vDzfKv1e+NZu0Y84tQMYrDDnw0lmQXbC nrQo3hRu+X/pgWBMNCokrvad4KoGCfTooyA+XO7J20YdSQeMt5k5d1Gg0z/TV3/Pp3ES ymSQ== X-Gm-Message-State: AO0yUKU/g2ofNlkA4Nf9NMU9IDkhlT5gsemE3wCQ8W7KVtxNQWwesq1z gEBcarUbMhBe97qosP+PRVKTmT+qnHQBdzXlhAdc+SaHM95hSPZCkWawzWAMJMyVtdIt1DRn8ZI 8bHV8vpxm5Ta5UAOvwG6D X-Received: by 2002:a17:906:7c4a:b0:8b2:abcc:8d9e with SMTP id g10-20020a1709067c4a00b008b2abcc8d9emr15284191ejp.26.1678217530913; Tue, 07 Mar 2023 11:32:10 -0800 (PST) X-Google-Smtp-Source: AK7set9dPfo2qJVTTxxYUvZrsQNn2ml+kuqlUiduVx85VS0PNgUMBG+NiXqcbqi7NA4mG32jsyjYbw== X-Received: by 2002:a17:906:7c4a:b0:8b2:abcc:8d9e with SMTP id g10-20020a1709067c4a00b008b2abcc8d9emr15284173ejp.26.1678217530576; Tue, 07 Mar 2023 11:32:10 -0800 (PST) Received: from [192.168.42.100] (nat-cgn9-185-107-15-52.static.kviknet.net. [185.107.15.52]) by smtp.gmail.com with ESMTPSA id qw15-20020a170906fcaf00b008d57e796dcbsm6458977ejb.25.2023.03.07.11.32.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Mar 2023 11:32:09 -0800 (PST) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Tue, 7 Mar 2023 20:32:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Magnus Karlsson , Stanislav Fomichev References: <874jrcklvf.fsf@toke.dk> <878rgjjipq.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: QV6PIEY3HGVGGZ4EKZKGTJRP3YHE4TB3 X-Message-ID-Hash: QV6PIEY3HGVGGZ4EKZKGTJRP3YHE4TB3 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, =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , lsf-pc@lists.linux-foundation.org, bpf@vger.kernel.org, "xdp-hints@xdp-project.net" X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [LSF/MM/BPF TOPIC] XDP metadata for TX List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQpPbiAwMy8wMy8yMDIzIDA4LjQyLCBNYWdudXMgS2FybHNzb24gd3JvdGU6DQo+IE9uIE1vbiwg MjcgRmViIDIwMjMgYXQgMjE6MTYsIFN0YW5pc2xhdiBGb21pY2hldiA8c2RmQGdvb2dsZS5jb20+ IHdyb3RlOg0KPj4gT24gTW9uLCBGZWIgMjcsIDIwMjMgYXQgNjoxNyBBTSBUb2tlIEjDuGlsYW5k LUrDuHJnZW5zZW4gPHRva2VAa2VybmVsLm9yZz4gd3JvdGU6DQo+Pj4gU3RhbmlzbGF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