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 47EF19FA3F4 for ; Thu, 30 Mar 2023 20:56: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=I0o1SOcO DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680202584; 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=I0okzHNuuHJ7nFnN8RcKBErkj+TCd+hop8cnDkGfnQ8=; b=I0o1SOcOUr79XUU+Iy9R09ElXqumR8SQZterBSJc14Krn7IFdy1vDCuCKCIpEEsMELOD0Y EpypO4BphiA+NyF5hsmBv6PHEHH7TcKfDJ45aoJAvZleCBiY59hLCZEZJtH6kn9nId78Mg Dr3ne2J7DduiLb9lyi41pwA5huzH7xU= 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-259-PwFTNvi7NpSKcuRR7mL63g-1; Thu, 30 Mar 2023 14:56:22 -0400 X-MC-Unique: PwFTNvi7NpSKcuRR7mL63g-1 Received: by mail-lf1-f70.google.com with SMTP id d23-20020a193857000000b004e9d2af9e57so7794084lfj.23 for ; Thu, 30 Mar 2023 11:56:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680202581; 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=I0okzHNuuHJ7nFnN8RcKBErkj+TCd+hop8cnDkGfnQ8=; b=ONIsJCSHCHwVUaVn9rPiFToGArk70jEMaZ+drwbDO/x36idpb+P29eCS45Ty5Kvk/2 bEdLiMZme5DtP7btOxy3cEDUCX7P6CfVhz6j8jN5jsWUixMzRbJuD0woGtiWpl20u5is 1S8K3yPL9VtKQTzdvMUG+Hf6hb4bt5zcaKD4J5rD5n2D69tEKf718w2uup72aCjg/t52 +B+E0K8rxGXR1h0ONQFB0mfQxrgUuMMJNk1eCXNVSFYMlgaZtIAxRb56sFpBoliTFBZq lRZuIeCWtHjSkpKH5Ugcu7LRAHrnbbGGnV/i809Unof5ivrTM+XiwnpSvk7cG1wAqGat Hntg== X-Gm-Message-State: AAQBX9d/JckMndmjr1N9LG+lTPFzohCpi/U37d76P83kHqs9L9OR/Y1F TCeEPCFKVvtvm4SBsS1Yu94N7TPiGnTbj2CUllWD/pqirp7uJCjtRBg/cuKj0p7i4plY+/ZV/nX pFy3K7UiXH1jO4ZtAYNYl X-Received: by 2002:a05:6512:250:b0:4e9:ccff:daa6 with SMTP id b16-20020a056512025000b004e9ccffdaa6mr7178096lfo.30.1680202581353; Thu, 30 Mar 2023 11:56:21 -0700 (PDT) X-Google-Smtp-Source: AKy350Zqt3JN5UFdxjITpltBXX6C9yIP1DjUue3LM+nCC5N3ax4dDfLfhxQFL/UiF4ELYpZEKGrQtg== X-Received: by 2002:a05:6512:250:b0:4e9:ccff:daa6 with SMTP id b16-20020a056512025000b004e9ccffdaa6mr7178073lfo.30.1680202581033; Thu, 30 Mar 2023 11:56:21 -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 u1-20020a056512040100b004dc53353d15sm48564lfk.281.2023.03.30.11.56.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 11:56:20 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <04256caf-aa28-7e0a-59b1-ecf2b237c96f@redhat.com> Date: Thu, 30 Mar 2023 20:56:19 +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 References: <168019602958.3557870.9960387532660882277.stgit@firesoul> <168019606574.3557870.15629824904085210321.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: OF27JU43VQZRXYNYNTPZKP3UFAZ6UVAS X-Message-ID-Hash: OF27JU43VQZRXYNYNTPZKP3UFAZ6UVAS 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: DQpPbiAzMC8wMy8yMDIzIDIwLjM1LCBTdGFuaXNsYXYgRm9taWNoZXYgd3JvdGU6DQo+IE9uIDAz LzMwLCBKZXNwZXIgRGFuZ2FhcmQgQnJvdW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