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 B95B59FD268 for ; Wed, 12 Apr 2023 13:17:01 +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=Z8iOYF6u DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681298219; 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=ehvr1d/jbxZ+YWSEUG0+v0Njo7GXylIVh8YAQAeYlBM=; b=Z8iOYF6ux0/289oZ9EJytz1QZQudQdhIjyht4zgZ8IuylCkufBX0Hu8BARbMAtEgU4irm4 dwk/qluDe5NqBc8wbbEWaQd57iI1wbmbKSsp6ngarvKPByyoJTi5J62aZe5C82cH3jiyub dDnGAXZQZ7iF8JUvZGWMqRcPW0Dj8U4= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-639-JK54alOPMqGEvj-N0pwS5A-1; Wed, 12 Apr 2023 07:16:57 -0400 X-MC-Unique: JK54alOPMqGEvj-N0pwS5A-1 Received: by mail-ed1-f69.google.com with SMTP id g11-20020a50d0cb000000b005050653f253so620732edf.13 for ; Wed, 12 Apr 2023 04:16:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681298216; x=1683890216; 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=ehvr1d/jbxZ+YWSEUG0+v0Njo7GXylIVh8YAQAeYlBM=; b=wxb9qXunbPWitGU//sXhkkCy6elA7BhScr4zBls1ZD+JPcl0jnaDtVydwD4pyPRYdA eTwKjTTNEpEiGqiQvAz5SrMnPF+95TLrEhODNzZZ5EO36GA7OhGIFwvNmH6aQMsRYAMq VGdt8gB1WqfD0mpQOJTOpLBbeikSQegzb99IdjpxsHw704296cGAkhk3f2L6bsj6ofoF CGwRjgDJI0EHMOFE/RYavSjPLi1fB/+/u2siBis/tZ0rIFpFfwDH8IjLeOYzSlvkkstD otPhS0KN1Q8Uyz2ld7QgtuEEdyA49452/9OYeV1Kyr9H2ELJql2XMOHu9hY/canHR8Dr RLTw== X-Gm-Message-State: AAQBX9ej9s80KH+lGs9Wapgv1/tiujD8cIETGsR10hSsZ+LAlvx+yaPl 4/2q1qmvmdEOwCAd7Imrm9FodUPeiUz5dtRWjHekmxYTcAqc3p7b8Sbjqhy35xVFlXzFS6EpE0A PzZZ8f6pb1/c9HqDEyAZa X-Received: by 2002:a17:906:fae0:b0:931:624b:680c with SMTP id lu32-20020a170906fae000b00931624b680cmr5523422ejb.29.1681298215783; Wed, 12 Apr 2023 04:16:55 -0700 (PDT) X-Google-Smtp-Source: AKy350aU/WJ/sIwojTfk8adw2TCi9w7hbQ5lTxFZjvt+7P+pwVRe6sbMuWkO8uddJ/I5SF7pwr+ocA== X-Received: by 2002:a17:906:fae0:b0:931:624b:680c with SMTP id lu32-20020a170906fae000b00931624b680cmr5523398ejb.29.1681298215440; Wed, 12 Apr 2023 04:16:55 -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 hz16-20020a1709072cf000b0094e09ceafc9sm1978330ejc.44.2023.04.12.04.16.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 04:16:54 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <474201b2-d98c-f3ab-aed9-b008bb188d0b@redhat.com> Date: Wed, 12 Apr 2023 13:16:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Simon Horman References: <168098183268.96582.7852359418481981062.stgit@firesoul> <168098189148.96582.2939096178283411428.stgit@firesoul> 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: CXZSHPE7DHGQYMQ74P55VDC5FOQUAV4Q X-Message-ID-Hash: CXZSHPE7DHGQYMQ74P55VDC5FOQUAV4Q 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, Stanislav Fomichev , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vu?= =?UTF-8?Q?sen?= , 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, tariqt@nvidia.com, saeedm@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf V7 3/7] 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: DQoNC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