From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BD23EA04DD; Wed, 28 Oct 2020 15:09:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE44CCCB9; Wed, 28 Oct 2020 15:05:02 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5F4EFCB27 for ; Wed, 28 Oct 2020 15:04:47 +0100 (CET) IronPort-SDR: 3AsIPvbpia4TB0Q7mMb2opdVW05iQn/2zSCUlWolBu/T9ERviG70ku709gi5yIM/VITuCLHQ1m CBND3tI6pMFA== X-IronPort-AV: E=McAfee;i="6000,8403,9787"; a="168360160" X-IronPort-AV: E=Sophos;i="5.77,426,1596524400"; d="scan'208";a="168360160" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2020 07:04:42 -0700 IronPort-SDR: Zv8aNwCnAWr6Z/WkgN/7zbMaesiJi61W9s6F5y19knP1C0vsUrRt/J/l+/nQRoX9Aie15vZg+M +orZ9AR28CaQ== X-IronPort-AV: E=Sophos;i="5.77,426,1596524400"; d="scan'208";a="536241772" Received: from klaatz-mobl1.ger.corp.intel.com (HELO [10.213.226.180]) ([10.213.226.180]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2020 07:04:40 -0700 To: Bruce Richardson , dev@dpdk.org References: <20201028124534.913207-1-bruce.richardson@intel.com> From: Kevin Laatz Message-ID: <9a820eb8-c8dd-2643-51b7-420505c24e7e@intel.com> Date: Wed, 28 Oct 2020 14:04:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201028124534.913207-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH] raw/ioat: fix work-queue config size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 28/10/2020 12:45, Bruce Richardson wrote: > According to latest DSA spec[1], the work-queue config register size > should be based off a value read from the WQ capabilities register. > Update driver to read this value and base the start of each WQ config > off that value. > > Fixes: ff06fa2cf3ba ("raw/ioat: probe idxd PCI") > > Signed-off-by: Bruce Richardson > > [1] https://software.intel.com/content/www/us/en/develop/download/intel-data-streaming-accelerator-preliminary-architecture-specification.html > --- > drivers/raw/ioat/idxd_pci.c | 19 +++++++++++++------ > drivers/raw/ioat/ioat_private.h | 4 +++- > drivers/raw/ioat/ioat_spec.h | 5 +---- > 3 files changed, 17 insertions(+), 11 deletions(-) > Tested-by: Kevin Laatz