From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30065.outbound.protection.outlook.com [40.107.3.65]) by dpdk.org (Postfix) with ESMTP id 8B4B67CEB for ; Wed, 26 Sep 2018 10:13:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XnuXEalFZSzgT3jDoFOBUGSx3LSX/o3pZSgIZJI3DX8=; b=GdIWBunlXoRWAdQy9Shopp6ld3DZ2q8iDcdp5Th+BXqfUIAYr9/T2tJdYQRi8ZxkgrV6Xa+9w3Zsikq8NQJGRggOjb/7HQZb6JEH+nlqg/wdMcR1rf2rGjlEPkUMkWqQQfETfnd13ogYDqbc8h4TCUBrr/sp89c347pp0cxObLQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 08:13:07 +0000 To: Thomas Monjalon , hemant.agrawal@nxp.com Cc: dev@dpdk.org References: <20180925192259.12249-1-thomas@monjalon.net> From: Shreyansh Jain Message-ID: Date: Wed, 26 Sep 2018 13:42:37 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180925192259.12249-1-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MA1PR01CA0086.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00::26) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ae8d3ce9-5463-4c1c-4855-08d62387e4e6 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 3:Igx6gRGKWDWjA/Ttw9PxS6lIG+BqukJNu9mdzjSMW1KCcFSo8SrBMY+q2+ZSMjPNjMJVAdR7/ETvl7AiNQOy+6bPl4jN1oBIddbNIarI6w9zrzhNOJttNhqo5+R9bmiOPnXm8VhgClUB2GlA+sc2qtwlWQDWBz8hPZW+TWkP0l4IeFMfsnbZnlLG1gJga2qzKB70+AxpJQs5x86LHDGd2zrPPycNmIutzwDQP+FcBecB7qdUDmzuGV85SKjQjbEh; 25:R4KrI0laT/eGpPu4T2UMsWtsDHEKjOANEBInzJH9/JmCrBeiJ6ieSylNsSg+3/I2C0zl3u4Z7/P1Eus4vmXLo3PsoT039o095QY7AAIS8qUXoVIbvAPCidOl6x7wHIypDCFdnQlTUkj6EorU/z1GbDa/p+lkFviN3GYHSw5ZH9hTk3jdmbixGvrjpAaopxJg9XWF61jUewl1S7LI4905JVACZwrsVvXOMFmAs1A5dl2JLT+AiMDqTkxaXIxtmmoOU5ur6cJUFXqi/xqRKOsynMHtf2fyJGR2XRtkwQ73QYQA9IEjnc0jYP61XW74x345DksaVZhQh4F9aOujwpIYCQ==; 31:C9bdtkgyJuwck1LpaidNJieuxhJAt1kbzl8cWz5RXCqyMoBRtMaOeajQM9H+36bjULMOatP75uq7nFdshz8zU1eMoDAFrAH3b3lqIomZxSWx6qX92eKp8lRQMwYcNuTgt3NryJOW7G7vq1xB3PM6t3Jwsy3vZWXDTMZi0wg38kZnC/AXYEVIoDBh/zAyYdJcer4/Hnct3UyS6ehPpZMxcIzPNZgxijzkV1f943zBT3Q= X-MS-TrafficTypeDiagnostic: AM6PR04MB4679: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 20:0CoCeYez73nqZRiFKi560JiCXlqJ1as0uVvufUVkJG4D0F8L7EHITL655ZKkjOsjLAYsypvMR9SpoW91oankLZefcP6JDyuAKcHjrCDpr4KBI94NIbP7gDJAHYrkmcdQ1lFSlcsyQKYkvsAM2NTDFtl95GV7NE1/kSGUetueeFPgy2Pgfr1Of/c5xbbdFp+mMRhIrXaa1UlFhxP5r6w7ZdaXYfKJj0XaqrP+iEOO9z3PifUsEfP/BlTcuiFkVHUG+y+ItyJiLa29GLB7gta/j8wAtTavxn68CHQZEItJQ7a6cwD/JKbssppLVMdpge44FUPGx2TtqmEsNTHWyHRKnhhM53YVK/HE2S5SlGa6EswTS57ss9z60LuSNCVVQMVTghpnl7JCvfES0MJ78beRbMc3a37QzlLB2GdF7vBCmCyj7oY/QDcmf2BOSLexYnW4dWXaQ3IkASwHN+Z5eXwc7weaDRZ02U+8rPsnl3CZsHEW17bGrXa+7vHMOdxaY6CE; 4:J1NvTlrKd8T5Yth8ToXwmRLzcNxvTlas9U129wkG9/5eZ8WKhmfMe9AxukuFMa82u8UeKSnbQYXA+ricBLfARiLYLrCpUFVRdkIqtg+B1U8VkWHKI6W0eTO0UaWycEbwXu3YFmeVhQTghxEZZiMThLGhMkKjGdy+4ycYYR4xjeckY9SYbTpQ9AUrwkKCc2cfShWhkx0txpiU4IIJuWcqqfDTdem4WkwhEV95JQ7ODPHqqNE281Q4oAmUh6ZVW30CJneNU/zVGmzsw/sBSHhTt4uHK3iIO7tHr9fNOcV0Jk3wSGH0op9sRh0AL03JcdB4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(376002)(346002)(136003)(396003)(39860400002)(366004)(189003)(199004)(446003)(47776003)(44832011)(11346002)(956004)(2616005)(476003)(486006)(106356001)(66066001)(65806001)(65956001)(7736002)(305945005)(6486002)(105586002)(229853002)(36756003)(86362001)(478600001)(16526019)(77096007)(26005)(81166006)(8676002)(186003)(31686004)(25786009)(81156014)(50466002)(31696002)(8936002)(55236004)(230700001)(4326008)(6666003)(6636002)(6246003)(3846002)(6116002)(64126003)(34290500001)(5009440100003)(2906002)(16576012)(97736004)(386003)(316002)(52116002)(2486003)(76176011)(52146003)(23676004)(58126008)(67846002)(5660300001)(68736007)(65826007)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; H:[10.232.14.39]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTZQUjA0TUI0Njc5OzIzOjlUWDlzRzZOZ0ZpV2pkVTRTMi9EdXBnTU8w?= =?utf-8?B?WTM2TG8vWitIL1ppNlZhVWxMUDRzRnQyelhBRjUwRjdNbHFzNjVXYlIvYm1M?= =?utf-8?B?VTNUSElORSsyRENKWWRnbzNNdnduNXRLZDh5ZWFGZlJjeW5TaXRXQnhmcDMv?= =?utf-8?B?YVl1UllLb0VScFlCaFhwUGg1bExyV0FqcVUrWFlkVHhkSWwwQ2k3cXdycFVz?= =?utf-8?B?M2RzcDJJbkMxZzB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RDyEWqe8TGbAl00iaEFZI5LsZH4=; 7:xscy3kEbsdHTadUfxBxbAtO+MbVwBDQq6c4bgG7x7abiwBRGPK9AnhHcj9PbG2yvDlOhFnSYnuHT14lvaZSSjIbnitUTp3wk4XJ0ZV6ykgg5IDhOpR1XzMelZVYDufHy9rSi7st60U2+0nXKyDCkfktn+967iq7JnBhrF4X2HyRvCnJ+ufx+xjaLTQxuns/yXhjs3fkl00IY4er9qR5zV7fkFuEUhjis6lbi9IGNgi27CIET+BY8ehgtgHqscay4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 08:13:07.0795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ae8d3ce9-5463-4c1c-4855-08d62387e4e6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: Re: [dpdk-dev] [PATCH] drivers/bus: fill driver reference after NXP probing 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: Wed, 26 Sep 2018 08:13:10 -0000 On Wednesday 26 September 2018 12:52 AM, Thomas Monjalon wrote: > The probing functions of NXP buses were missing to set > the driver used for successfully probing a device. > > The NXP driver and the generic rte_driver are now set > in the device structures. > > Signed-off-by: Thomas Monjalon > --- A part of this was already being done in the drv->probe(), though it was not complete (dpaa2_dev->driver = dpaa2_drv; was not being done). --->8---net/dpaa2/dpaa2_ethdev.c-- 2008 2009 eth_dev->device = &dpaa2_dev->device; 2010 eth_dev->device->driver = &dpaa2_drv->driver; 2011 --->8--- Thank you! Acked-by: Shreyansh Jain