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 552089FC42E for ; Sat, 8 Apr 2023 21:25:09 +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=NmfUaZ5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680981908; 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=NmfUaZ5AmawoPLRQEL0b0cXV9D/cojzh+e+mT6BnfvPB6J2sRaZNOerbU9+Vz1d6UBJzv7 4Pn5PdGC+xc9GHh/N+0gX1djtB+3dZgx0WkzgdRFIQlK/HDY1GYWgIGF1ZaFDuQTuGJm8Q 1GmpYiq0BWAcf/DBw0VAGcz9BgHBU48= 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-657-qKQ_Wpd7MmG4Nk8i7aLaig-1; Sat, 08 Apr 2023 15:25:03 -0400 X-MC-Unique: qKQ_Wpd7MmG4Nk8i7aLaig-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DC81029AA2E7; Sat, 8 Apr 2023 19:25:02 +0000 (UTC) Received: from firesoul.localdomain (unknown [10.45.242.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 912CE492C14; Sat, 8 Apr 2023 19:25:02 +0000 (UTC) Received: from [10.1.1.1] (localhost [IPv6:::1]) by firesoul.localdomain (Postfix) with ESMTP id A6044307372E8; Sat, 8 Apr 2023 21:25:01 +0200 (CEST) From: Jesper Dangaard Brouer To: bpf@vger.kernel.org, Stanislav Fomichev , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= Date: Sat, 08 Apr 2023 21:25:01 +0200 Message-ID: <168098190163.96582.14141656128558792381.stgit@firesoul> In-Reply-To: <168098183268.96582.7852359418481981062.stgit@firesoul> References: <168098183268.96582.7852359418481981062.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.9 Message-ID-Hash: YGZCKOUGDYHLZNRH7VDOUC4I6JHL3HN3 X-Message-ID-Hash: YGZCKOUGDYHLZNRH7VDOUC4I6JHL3HN3 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, saeedm@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] [PATCH bpf V7 5/7] 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-Post: List-Subscribe: List-Unsubscribe: VXBkYXRlIEFQSSBmb3IgYnBmX3hkcF9tZXRhZGF0YV9yeF9oYXNoKCkgd2l0aCBhcmcgZm9yIHhk cCByc3MgaGFzaCB0eXBlLg0KDQpUaGUgdmV0aCBkcml2ZXIgY3VycmVudGx5IG9ubHkgc3VwcG9y dCBYRFAtaGludHMgYmFzZWQgb24gU0tCIGNvZGUgcGF0aC4NClRoZSBTS0IgaGF2ZSBsb3N0IGlu Zm9ybWF0aW9uIGFib3V0IHRoZSBSU1MgaGFzaCB0eXBlLCBieSBjb21wcmVzc2luZw0KdGhlIGlu Zm9ybWF0aW9uIGRvd24gdG8gYSBzaW5nbGUgYml0ZmllbGQgc2tiLT5sNF9oYXNoLCB0aGF0IG9u bHkga25vd3MNCmlmIHRoaXMgd2FzIGEgTDQgaGFzaCB2YWx1ZS4NCg0KSW4gcHJlcGFyYXRpb24g Zm9yIHZldGgsIHRoZSB4ZHBfcnNzX2hhc2hfdHlwZSBoYXZlIGFuIEw0IGluZGljYXRpb24NCmJp dCB0aGF0IGFsbG93IHVzIHRvIHJldHVybiBhIG1lYW5pbmdmdWwgTDQgaW5kaWNhdGlvbiB3aGVu IHdvcmtpbmcNCndpdGggU0tCIGJhc2VkIHBhY2tldHMuDQoNCkZpeGVzOiAzMDY1MzFmMDI0OWYg KCJ2ZXRoOiBTdXBwb3J0IFJYIFhEUCBtZXRhZGF0YSIpDQpTaWduZWQtb2ZmLWJ5OiBKZXNwZXIg RGFuZ2FhcmQgQnJvdWVyIDxicm91ZXJAcmVkaGF0LmNvbT4NCkFja2VkLWJ5OiBUb2tlIEjDuGls YW5kLUrDuHJnZW5zZW4gPHRva2VAcmVkaGF0LmNvbT4NCkFja2VkLWJ5OiBTdGFuaXNsYXYgRm9t aWNoZXYgPHNkZkBnb29nbGUuY29tPg0KLS0tDQogZHJpdmVycy9uZXQvdmV0aC5jIHwgICAgNyAr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