From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0044.outbound.protection.outlook.com [104.47.33.44]) by dpdk.org (Postfix) with ESMTP id 04CFC199B3 for ; Mon, 18 Sep 2017 16:37:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=092sv+F0sHMaOzE7hcj9zWT9HUieululyNPPx2Wm9IU=; b=IRmC3igLg9toUn+qI4iZaT2u8bdhoC2ecjGhcEsRYK+TWBPgyEzov3O7iiiPcchAa9/uNFatbw9NgGOVCBxCVflLDgjGfkbmHXBX89gkqeafmxWG85lYxmOSakWL/TNk6lbrWFX6mL1Be5QR9K1BpjznwRhkI1oD0+NezHxQil4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.105] (103.76.56.167) by MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Mon, 18 Sep 2017 14:36:58 +0000 To: dev@dpdk.org References: <20170818125127.22346-1-shreyansh.jain@nxp.com> <20170825101954.28124-1-shreyansh.jain@nxp.com> From: santosh Message-ID: <5f76958e-3813-a593-b800-acc4e11b92c8@caviumnetworks.com> Date: Mon, 18 Sep 2017 20:06:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [103.76.56.167] X-ClientProxiedBy: HK2PR02CA0172.apcprd02.prod.outlook.com (10.171.30.32) To MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d8a56039-0f65-462c-9b17-08d4fea2b838 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3101; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3101; 3:L5rFDONkWFznqt05I0B8TT8jhau6vQdX6rQ0fGtYlv6nh7sg23Ps3E1NhUa7r0k6Nj7FRFVMJUzDZ1daOKo5y15TuFADxgmqhgASqrBZPtIxhvLyyiiA4ure+rYcSws0L6q8+UyiGrRznbSXd3nkgpT+JTRAZCYvvYPwJVeDrSOexCpkSAZptBAmH6cLZDpwInNq0d6s/9IsP9OWIuIaSXGpHj9qG295ggPJ1LoH8M42bddW4iBu9wFJY8Ysn5nm; 25:sz1k7OZmElbpzjbW0BpjtvMl5bctkzYEUR0eRh6b5Z/SPGcLjcns/LDBJgUQdCY5HY75IO0MEKb6UVAIXBCBxdaYYGv8AbcdOmP5gMv15j4l6ZcUqHqg2SkHHNHu+K2TlbDacCe4owg9V16FMue9YoDKj5T6YYSYaqStHHOrqjUSKnGCnYkfNxClqpfqp7VgLSiRLWevzTOI4JtMJaJRpetiA4GGUkXGb3/cm9vceNvsUIA3Jlpisuv4Gf9V9c2wUXoZZSpgI0cNCZ6fzJ+BGoWwzrzslnHPKDdvSZpb/Kso70Z90WOWcTsTLL7ujkoe3lO11LI9beDQICkscXNZ5A==; 31:pY+xPIngZ/7GRO/hwqRa45/iEDEP8uNKtTfb2fjl7PHRMkRw1OIilmxwpdCgPkBM9JNJqcgX2W8w1OUop7D3Zu0roiVQmG2BS+aibkvh6iRe7eDkYgfaLxNYcU49pUTUgaFq7KjhzUVWNkglD4Nfm0+1CqoEctoHfx2uXreqrpJ1EgI9GlFw9GI3XDYnfG4bP7LxVAZAzmT7yCxiZO/rdL6bVMEzxUR8PxWIbBFCvzw= X-MS-TrafficTypeDiagnostic: MWHPR07MB3101: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3101; 20:otA2sAXov0j+hxne9e30Pfxhidw/dy9ZH6/KrUY8p7T/A83a9d6qPXCwIfAD7EkKOIY22pWSfTo/YSd9ICNt/VXgybxgus7R9GGDxeerhHYBZ14MliYaoXcHAPKlqqWOMdne+sywWp/gDsoTnNl48ybnib0z/wFBWT6AcyNQyBUddky+SWAVpu7SJiOaFq6rPaoxR3J/GfbmHT2XS8QplB2FYLyFkeps41riJ8w4Ivk4/IDEx9JFKYcCz5yBqwFmzOmax4igkqVSW6xGSnsq0HeCw3GB881dTeGA/r9B8fH9zUdLx/JmBPiykMekpKLXPNrmeCu4xhBqB5e8rgb6rvIwqobz9LGYt6I+Zuz7ewEEtRInNR8SveH3x9bJvE/DvA2HZM5Mwb/ZODk3F7cOIzSlzLZM+nW4K+aLmQmSyz3zhRgIaUWUcwr6HXFjbZ0Bru0052Iv2HAr8mp7OZUZmmuWTjuwYAbEg5FFE9lOxkJ01yMFsMch0YuYqYMfVafd3ZnhpdOSRZx7/wSO10fCupjjz+9M6HrShxfxrXE7dHa4Morlqwx0lQqFPVttKca1cXLU50NqpNV6C6RwelTlQbGYhOtnoYFnd3UGkl2JiW4=; 4:TeyKMRXRhz7y7h7Qo6Mb9k9WDNoiH+eIRbDxdKvPxQvlbM7MkX6xQ1a/b6aIcFYe0cNGv4r1ndcc5FjB9QjyUkyaht6gOQxGZvfa4sEHIXEOMvX30SLdRTgHIfE1qTeIG1LTuMOfZQWZUQDrL+l7f469OPejUwwFlHArQMHl6w2+pyXyxdVq/y6X/3894nAMzc7glexkeKDOkIkjJaLC90DrHPioTkKkbui62KWszbTBYxlZGb3976bYxTXhF9GDsFkrq6aezlEyS5XnPyBTFMqy1EKPO0ymE4XawlaHKtI= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3101; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3101; X-Forefront-PRVS: 04347F8039 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6049001)(346002)(376002)(189002)(199003)(377454003)(54534003)(24454002)(230700001)(3846002)(5660300001)(31696002)(6116002)(65806001)(77096006)(90366009)(81156014)(316002)(6486002)(2361001)(65956001)(66066001)(36756003)(2906002)(53546010)(2351001)(25786009)(6666003)(31686004)(117156002)(68736007)(8676002)(47776003)(189998001)(86152003)(33646002)(65826007)(50986999)(76176999)(54356999)(7736002)(110136004)(53376002)(2950100002)(53936002)(966005)(229853002)(6916009)(42882006)(101416001)(478600001)(6246003)(64126003)(72206003)(16576012)(97736004)(305945005)(58126008)(106356001)(8936002)(83506001)(6306002)(81166006)(105586002)(50466002)(16526017)(23676002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3101; H:[192.168.0.105]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjA3TUIzMTAxOzIzOlhPcmFDUHFqSnFwSkFvNWxsMHFQYUJBaFF0?= =?utf-8?B?Y0JEcktkcThjNGZDLzBjZWRRdW1vSzBWQXBSU2RUclB1R0NyQ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pR1H/hp+wbYsEoZJXtLvegChjhdBWkUrrtSviEG+B2elTzS17gz7OLouwOaUkzdt5OsdBL64vd3JWxMOr+yeZA9kFHA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2017 14:36:58.6831 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3101 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, 18 Sep 2017 14:37:01 -0000 On Monday 11 September 2017 07:36 PM, Ferruh Yigit wrote: > 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 Reviewed-by: Santosh Shukla