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 A665F9FA8E7 for ; Fri, 31 Mar 2023 20:55:19 +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=cSiDBCI9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680288918; 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=KMxLHr1nEJDBRCg1B8L488/y3xeAF5pIZJtw2W0lrWE=; b=cSiDBCI9rUwSHc3PbKAP9IyOcRtbmea2NylfvK1DjeX6U5SWFdUvFEK9VbUFq6T3BRWNvI ioAAl6eNXEJfn1DgISF4U7Qvcy6JBYgbGkYPHV8MQXkSBwGCj+tZxt4Elfq6aGZRi/5a9Z 8vLNNkpbycNSFrWSWiCJP7HYxYkOMrA= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-262-z5kIhVglNmSnvJxlephL-Q-1; Fri, 31 Mar 2023 14:55:16 -0400 X-MC-Unique: z5kIhVglNmSnvJxlephL-Q-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6504B2810C1A; Fri, 31 Mar 2023 18:55:15 +0000 (UTC) Received: from firesoul.localdomain (unknown [10.45.242.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1EA5B2166B33; Fri, 31 Mar 2023 18:55:15 +0000 (UTC) Received: from [10.1.1.1] (localhost [IPv6:::1]) by firesoul.localdomain (Postfix) with ESMTP id 357AB30736C72; Fri, 31 Mar 2023 20:55:14 +0200 (CEST) From: Jesper Dangaard Brouer To: bpf@vger.kernel.org, Stanislav Fomichev , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= Date: Fri, 31 Mar 2023 20:55:14 +0200 Message-ID: <168028891417.4030852.6359930131140625813.stgit@firesoul> In-Reply-To: <168028882260.4030852.1100965689789226162.stgit@firesoul> References: <168028882260.4030852.1100965689789226162.stgit@firesoul> User-Agent: StGit/1.4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Message-ID-Hash: GUEQNCOWNGCC6RGTX4K6U6O6H5DDP2BK X-Message-ID-Hash: GUEQNCOWNGCC6RGTX4K6U6O6H5DDP2BK X-MailFrom: brouer@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: Jesper Dangaard Brouer , 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 X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] [PATCH bpf V5 3/5] veth: bpf_xdp_metadata_rx_hash add xdp rss hash type List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-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