From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50074.outbound.protection.outlook.com [40.107.5.74]) by dpdk.org (Postfix) with ESMTP id 501231B399 for ; Fri, 28 Sep 2018 14:28:01 +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=fiiOte7J5SJ2D72EFyIpQyO6Lo7LEfiTSYGnbXcssKo=; b=YPVse4/BxjR3pD6Eseigiq4oXrBJjlBC/Rax8D8TrUnunjG3Bfa9mPBAV+rGIig+n/mKoD9zK2JYlVb0eTv3/UHi3z9D9tJtR2Z8x+KzojWSM3n2rawJJ+B2NT+y9xVQ1OHi9Pkin8/QtHBKdBaLvZT4xwHq5YHqpVkNT5sr7j4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by VI1PR04MB4687.eurprd04.prod.outlook.com (2603:10a6:803:71::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.25; Fri, 28 Sep 2018 12:27:59 +0000 To: Thomas Monjalon Cc: dev@dpdk.org, hemant.agrawal@nxp.com References: <20180925192259.12249-1-thomas@monjalon.net> <2039580.JQpZYNxiQt@xps> From: Shreyansh Jain Message-ID: Date: Fri, 28 Sep 2018 17:57:34 +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: <2039580.JQpZYNxiQt@xps> 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: BM1PR0101CA0051.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::13) To VI1PR04MB4687.eurprd04.prod.outlook.com (2603:10a6:803:71::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 31be3687-cc57-4597-35a1-08d6253dd425 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4687; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4687; 3:bFW0TeEk079TKzuK3CPhOTwnXVX0/kQ7yJllw7P9nTD8YErbzE5pIxMS8fNYYXPDdsO7BrXrjx9BH4ZajvF+y2kZIq4HfYiHaoF9u9cMe9oMA/7nNfi/KANizEJxnpX9m2gyGfozndp9nCimgaMi+jecZQBZ1SVqz6ANvb5BM983xwwjA+gk2OBYOfREnqoBgdLFCtHnRO8xU/dBVQplsRuiP3C+nEO8n4Qrq8LOo+7K0d1d0ix6ibhEJyuQtz54; 25:4DaPQKGjvU8gSvuARtLRpYda8/7QW/dTH/6Jgz8sDtvcNdRTE4TrPfb1k/4rOeDOFCPtJ+dmfdNe/mM3VO9EJgDzjrz6CuahwnsKrfxrgsHb6N26ejPeFoPDVzX4z9wC6yvhieYzMAftvIhtBu3Blz3unMVGVr7eId2zEfYDuJXwla6/R1aRYtb0pQlA9eKBKFcOpskdCXJNuwUdM+xUqjUEpmydxsCOK+kLksybhVR9ddUu8O2Twn08W56uzBgVt0hjDfk6e6GjitHEjfJTJX/AS+pXdyUfxJs7ZjGrUD/id6Ar2zL0uYleIgJfHNSlDodd//1laZ4XnwmbURDM2g==; 31:T59jeXdmsOfYN2sWZ9/EDN8Mbp0+52b448qwwyQTkVccz/s/2EcFlLut8SyjN7VQPvHdTycNQDFCjbN2sbQAtL1O9I9OUzdUCw39etYIYh6QabFdjN0AWnOu8n5HtdB/fo31R3XC2lqcw+8ItU5SAIZBOV4FW1Liay3qAM0FlIuOqvqtrxPwBZmnK/niE1zbqpvKmyk/Ds9GOcLh2g4vxFF+7IQSNJRu4WJhsGKi5vk= X-MS-TrafficTypeDiagnostic: VI1PR04MB4687: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4687; 20:9jg8mIUfpdeOFqe+IteT6NrCAaolW7iJBv0RXFpGmOkKx6gjJ2kSWaM8pjtrFu4gQMLzs63pTUTi6jaxBesZjJUZJTwWuAMsLFUPycL79mwok+eVZNsYxZ0Nuu3CXVd1wYj35LUplj1rUq5cWR6YXUVGEfa95BShMELT61GoI124mtMToAAhhqp9tjaW2s/2L4HM+QPmwwaTWL+A7/SDUXZgXs8FPZ1KgRivFyVVwsvxyBkTzWc3PQOmHOmg/LulZAqFeiq58B2LJm5bUzC2bremwhQY8pkWj6sKqJ8QSZBGouWCMKleyXjCRI0pNcp8HFXp5yEL0fS4x4rHxe+3se+GYR6gvgtFA1cz5tJskfM0dP98c/etgqcs34o9rACSAWvs0lwACgEs0jGpaxgGY2UwzHsMxgO/o2HEzGF4Obyp73K3uxOsma3SJAPajz8TRJFt2ilhzUDYdqeTP0xxvmJjTM3FJe/C2qq+tiLz5YzhPCxrVTCVvgZS3MmDwU42; 4:iKbaD8QShJnuVJcWPK0OYIX4FGJ825Q/f4LuwvVbkt5JjWAo1OhkfGI1JQgWiS4XTj/qybkI3gtTxSSC6fnWbmC7MsyqEpuez5V/zzznMvU+E/QMWCbQys1NIS/nEO7blvSrA9QPUsjObl/MWhHnTB03QyrUuTcJ9DCizpiD3S1ODQrDA/4IilCOYFTu0wfsy8TkXGtxi4o5NTyDVnuwqKIWd72saWOb3A6ziOKDIcqkF2pkrm9OHhNHJtcwM+D5ri9Ad8H/AZk89CohjsJW2Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051); SRVR:VI1PR04MB4687; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4687; X-Forefront-PRVS: 0809C12563 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(366004)(376002)(346002)(39860400002)(136003)(199004)(189003)(2616005)(53936002)(34290500001)(486006)(86362001)(446003)(44832011)(476003)(956004)(6246003)(77096007)(16526019)(36756003)(68736007)(2906002)(11346002)(97736004)(31696002)(8936002)(23676004)(52146003)(52116002)(25786009)(65806001)(8676002)(66066001)(47776003)(65956001)(5009440100003)(2486003)(230700001)(3846002)(6486002)(76176011)(58126008)(64126003)(6666003)(316002)(6116002)(229853002)(16576012)(478600001)(50466002)(4326008)(106356001)(65826007)(67846002)(31686004)(5660300001)(81156014)(7736002)(105586002)(81166006)(305945005)(6916009)(386003)(26005)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4687; H:[10.232.14.39]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA0TUI0Njg3OzIzOmF5MGZYM0ZZM2JiTFA5dnIzd1Uxa2NCdUtQ?= =?utf-8?B?NXNpRmdXM1I3alE3Y1VXOUJrNDhibndjVUdWcEVoaHR4YkJzdkFNV1lIa0c1?= =?utf-8?B?c2g4bEs5Z0YxY0Vadk5SVERvOGFxeGg1dExDcjZiY3ZDdXBlWE1NZ0hmOVh1?= =?utf-8?B?d1NSN21mY0ZpamZzYUVSTGNuMmlmWVUwSk5HWXZuUHBOUUJ2QWc4ME9jS0F1?= =?utf-8?B?a01hcThQQkVuYU1XNGYxK0RJa3hTdDN0ODJsYTFCK21mVGtUWWlEMEV4YnNG?= =?utf-8?B?bXlqNn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LDYWj1oiAcHr7qqnADZhvyFXI2JFmzhAyR2j9V/xQaN1AH289PI2lSE/mz9MuB2YpXRC7EVgUVAn3LCluc2rI9ScS3uuBJvBZaZUBI1wJXlK4104rMa0cVETxncw4gDXi7LpGwa9KlvZew3Pm9Mg1FKDG91NHXJ7q/DX2ClShLa92piGiEnQ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2018 12:27:59.4601 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 31be3687-cc57-4597-35a1-08d6253dd425 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4687 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: Fri, 28 Sep 2018 12:28:01 -0000 On Thursday 27 September 2018 06:10 PM, Thomas Monjalon wrote: > 26/09/2018 10:12, Shreyansh Jain: >> 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--- > > I guess we could remove the driver assignment in NXP drivers, > after this patch applied. > Sent. I have kept fixes reference to your patch.