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 D0270A124AC for ; Fri, 23 Jun 2023 12:24:25 +0200 (CEST) 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=FI8VeF76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687515864; 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=lMqGdUEQSvr6augTCZP2DW4zK3VdpXi2du9+8sZEAvU=; b=FI8VeF76yTaAHI2Hliezji0dbxnFFCF0aXDkTep3agkLWO7w9uHKJd4/phFipqjsOAcm8w aoBQKYZpddrzeHQLkqLqqd/+6/yb63BV7deLgmYXgmnkUWxk5cPCmFWZM+lZWy4biYpDd1 dKKEucZ2QOh+O/uf+dpluzflOq4VJFU= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-13-yFqurhgrPO-REE9b3_JifQ-1; Fri, 23 Jun 2023 06:24:22 -0400 X-MC-Unique: yFqurhgrPO-REE9b3_JifQ-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-4f858280d89so358036e87.2 for ; Fri, 23 Jun 2023 03:24:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687515861; x=1690107861; 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=lMqGdUEQSvr6augTCZP2DW4zK3VdpXi2du9+8sZEAvU=; b=O6LUgZx1sBMShYwmjhsUthrUXxSIS5THA/wBDsZUXhWaltri1CIod4wlEkeH80P+Vv WcFuAudu2LUOkdQ28RNZpHW6enKyIwO39yBUIGVIijzlOdbs/lQnG9BDJ9mHyF/1H3NP E77F8ugO7DJXtjRr5RLh/7ZrBIsiRHH6aNUBixbVkaCTM2s5B4CfFfQC4XnQ1CH/yqIx 9W4ct0EpAPx/xYD/3NpBuyFyEtANhyNtKJHWJ7bFkjMTSnB1RdX/55j+7vMT0jXXeMVX cIImrE3pVpuGuyzG0ozBrYZYQxvUxLqd2+JluIMK9AEMfxAqvHtmpDS0fFHOwz6s4t47 5omQ== X-Gm-Message-State: AC+VfDx9/XLCvhakmnwhw5pJQ3c69fNfdV9c1FgrsyTLfxeYAb+j+7E+ xmkiHPry3LFL9JM9FTEpupRd8TbrYK1JxzdSNWUIO+nrHJS3rvR6s3/tgPfXIx6z5uNwqwOy2wC KJX5gyqZuPSZMtlCiHGq3 X-Received: by 2002:a05:6512:522:b0:4f8:71bf:a259 with SMTP id o2-20020a056512052200b004f871bfa259mr8927053lfc.67.1687515861180; Fri, 23 Jun 2023 03:24:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6brWFmYCLLecmzWb3m20jfo709OVopCEMLWppkXzINAFB4wTuTdklaoLSZ2XR7zLHDf1pLRg== X-Received: by 2002:a05:6512:522:b0:4f8:71bf:a259 with SMTP id o2-20020a056512052200b004f871bfa259mr8927035lfc.67.1687515860859; Fri, 23 Jun 2023 03:24:20 -0700 (PDT) Received: from [192.168.42.222] (194-45-78-10.static.kviknet.net. [194.45.78.10]) by smtp.gmail.com with ESMTPSA id f24-20020a7bc8d8000000b003f907bdeef3sm1917945wml.26.2023.06.23.03.24.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 03:24:20 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Fri, 23 Jun 2023 12:24:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: Stanislav Fomichev References: <20230621170244.1283336-1-sdf@google.com> <20230621170244.1283336-4-sdf@google.com> <57b9fc14-c02e-f0e5-148d-a549ebab6cf6@brouer.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: PPWQ2TCO2EN5OKBZBBL67EXSB3IFB5YU X-Message-ID-Hash: PPWQ2TCO2EN5OKBZBBL67EXSB3IFB5YU 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, =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , "Karlsson, Magnus" , "xdp-hints@xdp-project.net" X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [RFC bpf-next v2 03/11] xsk: Support XDP_TX_METADATA_LEN List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQoNCk9uIDIyLzA2LzIwMjMgMTkuNTUsIFN0YW5pc2xhdiBGb21pY2hldiB3cm90ZToNCj4gT24g VGh1LCBKdW4gMjIsIDIwMjMgYXQgMjoxMeKAr0FNIEplc3BlciBELiBCcm91ZXIgPG5ldGRldkBi cm91ZXIuY29tPiB3cm90ZToNCj4+DQo+Pg0KPj4gVGhpcyBuZWVkcyB0by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