From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0053.outbound.protection.outlook.com [104.47.41.53]) by dpdk.org (Postfix) with ESMTP id F055710A7 for ; Wed, 14 Dec 2016 10:47:12 +0100 (CET) Received: from DM2PR03CA0046.namprd03.prod.outlook.com (10.141.96.45) by BLUPR0301MB1570.namprd03.prod.outlook.com (10.162.214.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Wed, 14 Dec 2016 09:47:10 +0000 Received: from BL2FFO11FD046.protection.gbl (2a01:111:f400:7c09::121) by DM2PR03CA0046.outlook.office365.com (2a01:111:e400:2428::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8 via Frontend Transport; Wed, 14 Dec 2016 09:47:10 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD046.mail.protection.outlook.com (10.173.161.208) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.761.6 via Frontend Transport; Wed, 14 Dec 2016 09:47:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1031; Count:13 Received: from [10.232.14.87] ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBE9l5Hv015290; Wed, 14 Dec 2016 02:47:06 -0700 To: , Jan Blunck References: <1480846288-2517-1-git-send-email-shreyansh.jain@nxp.com> <1481636232-2300-1-git-send-email-shreyansh.jain@nxp.com> <1481636232-2300-13-git-send-email-shreyansh.jain@nxp.com> CC: , , , From: Shreyansh Jain Message-ID: Date: Wed, 14 Dec 2016 15:19:52 +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: <1481636232-2300-13-git-send-email-shreyansh.jain@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131261824307814195; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39850400002)(39860400002)(39840400002)(39380400002)(39400400002)(39410400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(377454003)(199003)(24454002)(305945005)(15395725005)(8676002)(65956001)(8936002)(68736007)(189998001)(64126003)(38730400001)(36756003)(85426001)(65806001)(2950100002)(356003)(47776003)(6666003)(229853002)(54356999)(50986999)(81166006)(626004)(5001770100001)(81156014)(97736004)(77096006)(4001350100001)(65826007)(83506001)(76176999)(69596002)(31686004)(104016004)(230700001)(86362001)(23746002)(50466002)(105606002)(4326007)(5660300001)(92566002)(106466001)(2906002)(31696002)(33646002)(533714002)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB1570; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD046; 1:nvQwNHaYOKyAuimt6F/CAVmLwBLBaxLVFZCZXYWPzxlro4R4nJCzKK9IGenujzd4iMeCHkrZRUWA0FE7BDuNCqioC2JQbNUGhN/vdDgLsKdEJFhnRrzsAfQ+sID/0V4A9fuOCgz/tf2wAslatmfQkDximGou/HwEMSL0cU1fm3l6zbAR9m0EwP/NrNSrsMmeA7sPfUQW87GgStLUBSKvqJfZsXQmHPH4CHhqk6SO8Gg2RXldKhyvdyIkThTw9D/G1+AL+7hPq//hvvNb17YvE9f2doFlRgYCjL5v36R6kWnhaMqxl+V340M7r8Gc4yrsLKr8SI6aMd+MTJSg3BAxORncvKcRHZATDd9OdKmXyd4E0/phE8ucJcqQGrESs/tOh45UnRwCPEiJogP4w1CehoPar92nGJJ4MnorkesrvwMurQRX/U+Y/ir01g8NDd4T0LUJvyQkXe13vx7LCodLNknEgwVaIivASpxzayBBeP8Cwpi1mgykTXXIbq+UoUU+RxJ1vGErAK1XYg6LYH4rll9I0iYdzGIZj5KtPZORXf7e5N0qqMSyBFMRkYgvsRyNUQ/tPFr23Y9Q3JCqS0eCwNKkJ7HpcCoDw1PPdZdx5111QqtW4ZoLBOcwtHqQJxvl+XJZblmcUzw+/6O1k4RjqA== X-MS-Office365-Filtering-Correlation-Id: 8c791795-7bd5-4be3-117d-08d424062ccf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0301MB1570; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1570; 3:nTJL+ilEdO6WbDpuJUHcAdDV9n1HlvDlApRzIN+SJJEzm7vdZhybNU14/BWp96aQHOc94oNrWgBVrvc2zUiPXTWTfUpRN/Jy9msfw8R6VftEKhTEZQv6KUtA3BQnG66fbgcV1V5pO/iElbMv39j/PXYpPo87d6enh/jg7AWtSAh2szOB2jRnjvh0YI9HvReokXn9vRHWoT4NiabfmnKeALtOFrqJAk0ch09Neiu4xm32xGJbWdjoDTdJ8Xc06+AUN6lhdcPCKqLE+I7MKVc6mJd4NdBo5nVN6iL8xxOSOKhAihlQgV2Lologq5ZOMev6hk4ld+vdOVdQ490RSBnADW/DLDm7syDKz4IOxqbebFE= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1570; 25:ZrlWiD/kaE4s4nsissxdTcVCHhjd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rXpVtj/ygU/ZQiQSRz8Ut2/za+/mw0y4I1iJC4dgiR/U97hfO0A26kDAJR1M7yVlK++FCUhFoASlvOv7fWQ1fDvs/XUCKMKuZzbB3kEp2vNdryOSmFsyhYMz9LOuFGABOV2af6iFX1K5VpsuIQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13015025)(13017025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123556025)(20161123561025)(20161123559025)(20161123565025)(20161123563025); SRVR:BLUPR0301MB1570; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR0301MB1570; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1570; 4:rCXccK2JRrUZGKWtOXJNvEiN4PFgdBMO8aNWkbbU4xGT92tpRmO9DiUh+vJFxv13kex+0riXoEKK8dfT7gia/NblV3qDsCoebQO3xEdKn6aluMY9+FJSj3RRHhzRJWk+0ZUxQ6bidznjRI1m/JQvX+o+DcYjSyqj7r9gyxHNwhFT0wKibJQgPl7mo4MuZ4YyDx47OM/wzCc6y++da5TIZxryitDATjqD75MeE4kr5M1lXa7oMwOLGiJERxhsHjiPli/2Jk455bU9XuWg76+CqT9iZI00qQ+N4+AW6jovFiRF29JARSF+I7K+Z1fqUAeTAjudF5SW3ak8HfXdaiLtD5ijSY0W06lcWr9fcdlFT9KD/C/Kjykki/uqHQvPR7312NjDnsfKfFB6ZnQZ4DjaLsO7VEeiWOCj4hhKHZw6+MnKagSPa2J+cX/TIRhUfrMqpfX5fRRg70lQwpW/8oLhQQCarT2E3KNBqSBc45cGFzb8iW7Dl455M/PhGcVz10f2K1a3IBHYOy047sQIm39MLHm3PF9wkzRf7SGDzhfNGHj0neD1gPNBvcWb7B+sgev5d0qZORCQrpgo1fsZngblPeb6U0h2aqbpHW4jU3CjMmleJPnWsQACwsdx9FpFqZS2z14e/asZcQAm1eEgvNCnUSW7qZXFVUtUuhxpBJQUcKKxNZOr94L90cD/szWgxnEwXaaFkyrFzNcIAVUeFJ8dvAwSl1ZGDhfbkmKMFgDg6TB9BQ7O+e8ANdgaaOmAY9ZZ X-Forefront-PRVS: 01565FED4C X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR0301MB1570; 23:QDS6/0BTw+EEzQ3AX6woEPVNp60jHOQ1ZlC?= =?Windows-1252?Q?ZgNFQ9/HvUGqaVx2a6DOfq1Ktat4rRH0kxg9gNpXK+BkSpF9XEez9HT0?= =?Windows-1252?Q?UmuvKyC5aoli2U7OhTm1iDHoGwlLFRzYnM6q5rKcn8wHMnyri+wCQyz7?= =?Windows-1252?Q?ZCPD8gSnX3Zw8vC7XnDWafWcNbJdxVwRfaesZ7B0guZ6T7irZggLBVmK?= =?Windows-1252?Q?rFc4wd1zgCYeoCde+ILIvvQe96JAJxrYiynTssvW6wWGvEmJMNvLnZAp?= =?Windows-1252?Q?ET1TIhUdtP9LF+sYQg9rXXUIGrRjICLDf0jQrhqN12zfCjTB5Lg6UQ8B?= =?Windows-1252?Q?E2T0a9wXng5+7nrh+buAhYYc/lz6NoKXexnDHFkyFZn8pi4D+90yd1wi?= =?Windows-1252?Q?fzDq2Eiw3QMHJ7Efl1SB8NhBDFv14mTUQ4Wa3gzR1LmGrq8tRv1xoU//?= =?Windows-1252?Q?gg5Z6e7dyhS5LlybXhhaNzMX2jWOrN/k5XSnJfgdWFd0wKaIE8i8oEOD?= =?Windows-1252?Q?jNB9T/iZBDEfQqQMTZJumhhKuucz58tP1oyGphh0CZyNAWbH+4x5rj0q?= =?Windows-1252?Q?IdcTzZQyqi5jHrxje+t4dvhl4FSi5+ib6IMpO72UtGrKFIPIycBnEnXt?= =?Windows-1252?Q?wAsEn9dPdEtMd2hYj/m1eOoLyBNHCJE8LRU5DIdTd8TdF/zXmFu+32or?= =?Windows-1252?Q?00wMY+W4hcSJAQwQP6LNTC/laJfSx90tXFCK6HH+0/fNByh/gldaKhhw?= =?Windows-1252?Q?mCtTU6LH7hugo7cmviigCjSk8GTUuVWoEngxNAMOzWHV2aOvEacVkWK6?= =?Windows-1252?Q?6K9pzt0NTTxYlChYd0C4C7V32XPcLQuTasncFG+1T1xs3dCykiExVHyq?= =?Windows-1252?Q?BKsEGL3A3DsOHnF09aFYd33te8v2Zzr2pGPZoLn7VLysDsG4nkfKEoiA?= =?Windows-1252?Q?dxDGjCB9q5czFCv+nuHLvTFL12ihPxCYC3bfR2npKHZvc+yWfjhm2eoL?= =?Windows-1252?Q?KfmoLToKlHUPPnPSpRjcpKD/Qs4gfe2PgZT1NsDoTwUpjtsWe5VYGMC+?= =?Windows-1252?Q?7uTCCXpvNvQlIjd83kSccuhqae2FKMUYjYFNylC4h50DRrd1hCGJUXC8?= =?Windows-1252?Q?Pk+lihGHZGGc8c00fYty+QyD2EdZonfSPR7ciiWtmtlm+CP9LeAfsZjB?= =?Windows-1252?Q?lIw79g3MG4LWEMJY1EUxz8xQZ5KSqh+0SzyIYXOPqS/JqGi95hD5buOe?= =?Windows-1252?Q?Gx60G5loydRME8WlPkVr885RKqm9vkOSv/b77F8G6UyRYXDhj6AnY5+T?= =?Windows-1252?Q?BWf6xGGPBNYjl58W0WXhOj4iq++sXIObIKlRdbaCRiJsdYcCYTmd8GH4?= =?Windows-1252?Q?+Z6G0AQY2NJ5bjOUouk+VzHLmMhKM3FgP8dEmRPQOCElXP4QsUqcCs0z?= =?Windows-1252?Q?/GJCNUaZzUcOsstYGW0HOCD+7SFCzFAnGKT7vDuWCqCGEp076c6+IfRl?= =?Windows-1252?Q?CQklrPnE+pNN5Mi5htZI00SnQBivJDD0pPt4dGiOBJ7gmZURdMSrsyIF?= =?Windows-1252?Q?HzRfTm2VDVj0PJDZUKXW1VwAB1LmUG2Sj+t1AVRJFS05xGyTbx8T+eym?= =?Windows-1252?Q?cVEggkuCDpSJFOBqnRIFw0Fcu64hutfG9ZHT0hrG8sL7aYnigzh4CuR1?= =?Windows-1252?Q?7xwBF8BJQaQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1570; 6:27xedDvJ4Q/zLhrQNnTWPWOyhuHf8yDZ8xefCeF57bsZyUmndS4OTjfL4Cuyt7cdAke0ikpSWh0RFqauB9ggYzVNE/qtpj8HaMXYKxolKBXqt76G7hUJoV5BIXiIZR5yfWF3y7ow/JT2W0q7Rp/fWMxcJdEG3qraV81cP3si5WG1fseJq5wKn6hTiF7LLrHMTUYrGEdNDgLIu2x8M/FDOdTP6imMqhgdrvwVb82Zot6LPWR3v9Li1/Ip1Ll7avpCrRlhExzQVxRbucvgxnPjknM+La1HbMumOWH/3jJcqw69EGMv8nTtS2C2Q1e8cFZwd4huyQkSFeeV4w/zpAmeXwN+88Y/FlQJcRKbmheAdJHKuc9SDKk6Tz994YKAM0KCXzABnw1gGuDVx74t8TyQR+7WeOffImqyCc31S7lkWIo29xNW+s+j/uEjmXEnjlM1; 5:ZU2bvf6sQ1aGEyCY1vm3avb9gkq8F9KcQK/Wyc7yq7quOhprL6+yN5iO+Tt7cnWLYQZ2TpkqoRykFiYCryxPw9wym7pqz6YTABbxmsh5LA+FixtiYoCwxcjzZvE1WVXZB/Dh/rjyRoKKpNKmIchPLhUwqzZ7xHcr1ENhTMiYVXAE8/S4U73gNge196nfrjd3; 24:0xnh+Jqkvqpu52RRrvLihlERli0GS9Ss9dP/HfYrQ4jYgA1uGm/FESZZxIA/jRlkTEHEnAKEh/rQk19fOvXt9RLJCm2J61qCW2lsN9luxjQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB1570; 7:DyypEMNJ0LZxWa0vG5iQPAd8J40nTTv6wkydj/Je+7TmkOrD+wauaTAFjp1bVCy5D/QL9GYAedyF6PBw7Ek/FB+9isHyGj/MNA4RftMO6uP48hvegtdhxz4+tRSDLxI7E/kkghfI9noS81Iz0C4siCQ68PJJV5Yx+fkznlRtD2CYW1XoVCSM1RLC7YVBoLdrsePXdm6APXCBy7/gSIkFQNoMMVHpweJ44uTbY6v3p6tO8yf5NSSL5Dr/hvRzuGgFa1WsbVu+AFqCV4DX7B/0Ajc1G/R//0KxLEjDlfOk6fHLCuQ6ZDqeH/kgjVn18iNp88+KGUh/yTzW+tviYYNsBEfvZMWSw1DcHxWY3g6KnVQFSDa//XXl7g7e9h4VDzfykQ187rvqOVHVOSYVqitqjCCG3xoSKozK9Z8BQRYZusuGxXVBpwM0PfVVajIl5Rb5KbBRfd4I4+zJ3icUywXwZw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 09:47:10.4070 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1570 Subject: Re: [dpdk-dev] [PATCH v2 12/12] drivers: update PMDs to use rte_driver probe and remove 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, 14 Dec 2016 09:47:13 -0000 On Tuesday 13 December 2016 07:07 PM, Shreyansh Jain wrote: > These callbacks now act as first layer of PCI interfaces from the Bus. > Bus probe would enter the PMDs through the rte_driver->probe/remove > callbacks, falling to rte_xxx_driver->probe/remove (Currently, all the > drivers are rte_pci_driver). > > Signed-off-by: Shreyansh Jain > --- > drivers/net/bnx2x/bnx2x_ethdev.c | 8 ++++++++ > drivers/net/bnxt/bnxt_ethdev.c | 4 ++++ > drivers/net/cxgbe/cxgbe_ethdev.c | 4 ++++ > drivers/net/e1000/em_ethdev.c | 4 ++++ > drivers/net/e1000/igb_ethdev.c | 8 ++++++++ > drivers/net/ena/ena_ethdev.c | 4 ++++ > drivers/net/enic/enic_ethdev.c | 4 ++++ > drivers/net/fm10k/fm10k_ethdev.c | 4 ++++ > drivers/net/i40e/i40e_ethdev.c | 4 ++++ > drivers/net/i40e/i40e_ethdev_vf.c | 4 ++++ > drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++++++++ > drivers/net/mlx4/mlx4.c | 4 +++- > drivers/net/mlx5/mlx5.c | 1 + > drivers/net/nfp/nfp_net.c | 4 ++++ > drivers/net/qede/qede_ethdev.c | 8 ++++++++ > drivers/net/szedata2/rte_eth_szedata2.c | 4 ++++ > drivers/net/thunderx/nicvf_ethdev.c | 4 ++++ > drivers/net/virtio/virtio_ethdev.c | 2 ++ > drivers/net/vmxnet3/vmxnet3_ethdev.c | 4 ++++ > 19 files changed, 86 insertions(+), 1 deletion(-) > drivers/crypto/qat/rte_qat_cryptodev.c should also be changed for this. It seems to be only PCI registered PMD. All others are VDEV. I will send a v3 soon to fix this. @Jan, would you be looking in the VDEV part or should I start with that? [1] [1] http://dpdk.org/ml/archives/dev/2016-November/050443.html