From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 60F464339F; Thu, 23 Nov 2023 00:43:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E54B8402BD; Thu, 23 Nov 2023 00:43:14 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id AE2FA40262 for ; Thu, 23 Nov 2023 00:43:13 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 93D6F3200A49; Wed, 22 Nov 2023 18:43:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 22 Nov 2023 18:43:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1700696590; x=1700782990; bh=Dhnclaats7wUoCVz78UT0a21KY9aQL6MQSJ ev7/APTA=; b=M+UlgL8ME1zyGgqvJ/XM4F48Uo+iUmvdsqsI2rSkc0gddPo6h/2 AxyOB+OBq+conkWaVguW/6c8+egAZvqeHCBMJPAJ0CMyG4sXmtYOB06stKD6l7iM VuAJpvHH3uUouUWf3yAF+zflYhD7r4CRQJ9XEXT9IOYjbHga7xN3SylJio3IatI8 y1OUVrYF5YVLeqA08biejvpXAe75+n0wns0pfcdkAopo/uyQd6VtgPzulcRvA3Re LgOZqNCxjwQbmqPGdtFOtuK2HlW4TmqX1NYwmJuWuYU03xYeu5jGbeq+JeVQeuHh Bsi5Sk4SK6xz7CSqbHjFtBtS/UXAwaMjKLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700696590; x=1700782990; bh=Dhnclaats7wUoCVz78UT0a21KY9aQL6MQSJ ev7/APTA=; b=UOfuj+GlrFPz+BqJ+zi4IXsIC05A8qxHj6VyRstj9sIVlh90UaC HM0iwYQ8bxWa1SsZFHnYoZ4C3PTLz6f3KdMbPEoqg2mJLeLFcElXNv5BA+EQAM6u gtr2tCnuC4V5UUOKDbSW4H8FYPI61jtfUnIKKoFSjvMC0WB6F1EtXQVqXgIY6j+5 ZibtuSFII3fWkj9cJtNeffKVWD/Oj64vX6ovIfKQJMsbiJ8iYQJXsSy73lOGZgso m5vooY8EBpzn1LgJ48TpXPbFRt6zL1sXKt9asJWDobhAtG3s6TYy2rqq6ElIAJRS tkjii8LqBtgmAc459jWGpMgPMxBxNT5Tsbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehvddgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Nov 2023 18:43:09 -0500 (EST) From: Thomas Monjalon To: Robin Jarry Cc: dev@dpdk.org Subject: Re: [PATCH v2 1/3] usertools/rss: add driver abstractions Date: Thu, 23 Nov 2023 00:43:07 +0100 Message-ID: <7676760.LvFx2qVVIh@thomas> In-Reply-To: <20231120162256.74399-4-rjarry@redhat.com> References: <20231023080710.240402-3-rjarry@redhat.com> <20231120162256.74399-4-rjarry@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 20/11/2023 17:22, Robin Jarry: > The default RETA size is not the same for all drivers. In some drivers > (mlx5), the RETA size may also be dependent on the number of RX queues. > > Introduce a new DriverInfo abstraction for known keys. Define a simple > API to expose the RSS key and RETA size (based on the number of RX > queues). > > Use that abstraction for all three known keys. > > Signed-off-by: Robin Jarry Series applied with drivers sorted alphabetically.