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.133.124]) by mail.toke.dk (Postfix) with ESMTPS id D07A29FA773 for ; Fri, 31 Mar 2023 13:49:24 +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=fGiKG0dP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680263363; 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=zD7Fcr7w9U80vT79GcOoW/MaviXOYk1Az8mLggNbZ00=; b=fGiKG0dPOyOrR1tCX1A397dA3fivvnTOnbDfFq33C6cRzYVOnIsEkyYm4I3Tk6f4In8lAN cXQ+M3zhly6JKCORezR2GHNsZMKyBhBeUo5/ZQxvK40PjhgVtx7vjquTqBjAPDjsphBSA5 05w+vzaNt6C4HLtIdXjVUYq7yfHVaO4= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-36-0wyinz7EMJiM9rTc_yoVVg-1; Fri, 31 Mar 2023 07:49:19 -0400 X-MC-Unique: 0wyinz7EMJiM9rTc_yoVVg-1 Received: by mail-lj1-f199.google.com with SMTP id u27-20020a2eb81b000000b002a246d17917so4937076ljo.18 for ; Fri, 31 Mar 2023 04:49:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680263358; 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=zD7Fcr7w9U80vT79GcOoW/MaviXOYk1Az8mLggNbZ00=; b=hs9MgKLkOa3vjR7+GrUOggtrb7HWn+LFmNuxKwzCvzrtDh7e1zIUlW5p7UWNXIc9SS D5Ts4piOAizRUbej+MnjjkcwHa/H+EEjxpvInjwHOadIq9pFra98sUmUf5+4xRxBKHjE kYlBMidSBXJj1XB9kwkuA0npqjnZOIdoIN3ucllbpP4ZX3mPZ3nnbhRfrxiAApZ842GR qQH354w7593nosMx3XaP4RIT0z4aNb01Xal8gE9yhEbLm+zbq7V3ap0+kQzG2xgd0o8k vNUbzJysjBCgBg4QSb+m41FA9/A2vBIVs8asj/U/lh6hv8V1s9XjgQRyjtH8C3+qPv7r NCbg== X-Gm-Message-State: AAQBX9fMX3vl1NLKw2660/DI8VRFq9lGFsHbcas31QHw3HxGlj4vAzfn Ehl5VNF/IILINQwAogJbukuYbTEuDRrXFvx1h/x4aCBZ/zUlqM/Cprct+rL6mqyLIc/RadsIXBU vD9Pg/zWWOqYFrl+nScsT X-Received: by 2002:a19:550b:0:b0:4e9:c627:195d with SMTP id n11-20020a19550b000000b004e9c627195dmr7334175lfe.57.1680263358576; Fri, 31 Mar 2023 04:49:18 -0700 (PDT) X-Google-Smtp-Source: AKy350YXUZu270+8qjZ4z0+edJ3P9KJHYqAy5QUXqjX7+ncQ8rXhZDHeTQST65e/JzidOlbbZmKR2Q== X-Received: by 2002:a19:550b:0:b0:4e9:c627:195d with SMTP id n11-20020a19550b000000b004e9c627195dmr7334151lfe.57.1680263358254; Fri, 31 Mar 2023 04:49:18 -0700 (PDT) Received: from [192.168.42.100] (83-90-141-187-cable.dk.customer.tdc.net. [83.90.141.187]) by smtp.gmail.com with ESMTPSA id f4-20020a19ae04000000b004db3e2d3efesm346623lfc.204.2023.03.31.04.49.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Mar 2023 04:49:16 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <39b58460-6322-2c07-990a-864dc210ba0a@redhat.com> Date: Fri, 31 Mar 2023 13:49:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Stanislav Fomichev , Jesper Dangaard Brouer References: <168019602958.3557870.9960387532660882277.stgit@firesoul> <168019606574.3557870.15629824904085210321.stgit@firesoul> <04256caf-aa28-7e0a-59b1-ecf2b237c96f@redhat.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: TPBZRSSFULNESCLD67HACEEUKY6INTW2 X-Message-ID-Hash: TPBZRSSFULNESCLD67HACEEUKY6INTW2 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, linux-kernel@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, intel-wired-lan@lists.osuosl.org, pabeni@redhat.com, jesse.brandeburg@intel.com, kuba@kernel.org, edumazet@google.com, john.fastabend@gmail.com, hawk@kernel.org, davem@davemloft.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf RFC-V3 1/5] xdp: rss hash types representation List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQpPbiAzMC8wMy8yMDIzIDIxLjA4LCBKZXNwZXIgRGFuZ2FhcmQgQnJvdWVyIHdyb3RlOg0KPiAN Cj4gT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