From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 88D193230 for ; Mon, 11 Sep 2017 16:06:20 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2017 07:06:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,378,1500966000"; d="scan'208";a="899119848" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2017 07:06:13 -0700 To: Shreyansh Jain , dev@dpdk.org Cc: hemant.agrawal@nxp.com, thomas@monjalon.net References: <20170818125127.22346-1-shreyansh.jain@nxp.com> <20170825101954.28124-1-shreyansh.jain@nxp.com> From: Ferruh Yigit Message-ID: Date: Mon, 11 Sep 2017 15:06:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170825101954.28124-1-shreyansh.jain@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 0/6] NXP DPAA2: Refactor bus scan/probe code 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: , X-List-Received-Date: Mon, 11 Sep 2017 14:06:21 -0000 On 8/25/2017 11:19 AM, Shreyansh Jain wrote: > Change Log: > ~~~~~~~~~~~ > v2: > - Minor updates for logging (removed some logs and changed others > to make it cleaner when application starts) > > Brief: > ~~~~~~ > > -- v1 is at [3] -- > > In [1], during the IOVA Mapping patch set [2] discussion, it was > observed that DPAA2 scan was actually doing work meant for probing. > > This patchset demarcates the roles of FSLMC bus scan and probe > functions much more clearly than before: > > 1. scan now only add devices into a list > unlike previously, scan doesn't initialize the devices using the VFIO > operations. Now, scan would only add the devices onto a local device > list after marking their type and filling in device name. > > 2. probe would now perform VFIO operations > in dpaa2, for the device added in list, an initialization needs > to be done so as to enable the devices - before actually API calls > can be served. Probe function now initializes the devices as well > as links then to the Eth/Crypto drivers. > > 3. Refactoring some VFIO code > This patch improves the overall code contained within DPAA2 bus > for DPAA2 VFIO layer. > > [1] http://dpdk.org/ml/archives/dev/2017-July/071270.html > [2] http://dpdk.org/ml/archives/dev/2017-July/070833.html > [3] http://dpdk.org/ml/archives/dev/2017-August/073011.html > > Shreyansh Jain (6): > bus/fslmc: support only single group and container > bus/fslmc: introduce new device type enumerator > crypto/dpaa2_sec: update driver type field > net/dpaa2: update driver type field > drivers: refactor DPAA2 object definition > bus/fslmc: refactor scan and probe functions Series Reviewed-by: Ferruh Yigit I guess this set needs to go in to the main tree, because of both - as far as I get IOVA patchset breaks dpaa2, so this should go in before that patchset - This patchset has both crypto and net patches, hard to get by sub-trees