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 A695DA0C50; Fri, 16 Jul 2021 16:25:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CE2D4067B; Fri, 16 Jul 2021 16:25:53 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 0EB0340151; Fri, 16 Jul 2021 16:25:51 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10046"; a="210726304" X-IronPort-AV: E=Sophos;i="5.84,245,1620716400"; d="scan'208";a="210726304" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2021 07:25:50 -0700 X-IronPort-AV: E=Sophos;i="5.84,245,1620716400"; d="scan'208";a="413989300" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.26.216]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 16 Jul 2021 07:25:49 -0700 Date: Fri, 16 Jul 2021 15:25:46 +0100 From: Bruce Richardson To: Kevin Laatz Cc: dev@dpdk.org, stable@dpdk.org, konstantin.ananyev@intel.com Message-ID: References: <20210716132155.1498858-1-kevin.laatz@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210716132155.1498858-1-kevin.laatz@intel.com> Subject: Re: [dpdk-dev] [PATCH] raw/ioat: fix config script queue size calculation 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 Sender: "dev" On Fri, Jul 16, 2021 at 01:21:55PM +0000, Kevin Laatz wrote: > The queue size calculation is currently based on "max_tokens" rather than > "max_work_queues_size". This is resulting in the queue size being > incorrectly configured when using the script to configure devices bound to > the IDXD kernel driver. > This patch fixes this miscalculation so devices are configured with > appropriate queue size. > > Fixes: 01863b9d2354 ("raw/ioat: include example configuration script") > Cc: stable@dpdk.org > > Reported-by: Konstantin Ananyev > Signed-off-by: Kevin Laatz Acked-by: Bruce Richardson