From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0054.outbound.protection.outlook.com [104.47.41.54]) by dpdk.org (Postfix) with ESMTP id 76F625A08 for ; Fri, 26 Aug 2016 15:57:37 +0200 (CEST) Received: from BN3PR0301CA0048.namprd03.prod.outlook.com (10.160.152.144) by BY2PR03MB1880.namprd03.prod.outlook.com (10.164.114.20) with Microsoft SMTP Server (TLS) id 15.1.497.12; Fri, 26 Aug 2016 13:57:32 +0000 Received: from BN1AFFO11FD053.protection.gbl (2a01:111:f400:7c10::133) by BN3PR0301CA0048.outlook.office365.com (2a01:111:e400:401e::16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Fri, 26 Aug 2016 13:57:31 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD053.mail.protection.outlook.com (10.58.53.68) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Fri, 26 Aug 2016 13:57:31 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7QDvHpd023630; Fri, 26 Aug 2016 06:57:29 -0700 From: Shreyansh Jain To: CC: , , , , Shreyansh Jain Date: Fri, 26 Aug 2016 19:26:40 +0530 Message-ID: <1472219823-29486-3-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131166934520290929; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(104016004)(77096005)(8936002)(4326007)(105606002)(229853001)(33646002)(2906002)(92566002)(11100500001)(50226002)(586003)(76176999)(5660300001)(68736007)(50986999)(97736004)(47776003)(8676002)(2950100001)(19580395003)(36756003)(189998001)(2351001)(86362001)(356003)(85426001)(48376002)(81156014)(106466001)(305945005)(110136002)(81166006)(19580405001)(5003940100001)(626004)(7846002)(8666005)(50466002)(87936001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB1880; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD053; 1:y4Qc3tDNnp610XQGoZa/IyJ5JUkkqspDXkTUQKs+1y9qFbrlHBOT8iRmD4s/MUeU+JsXSmR2onq9c4my/cWKyaGKx4P87FbZZySMnpcLMs1IGm+YKj0z0zxUj7N/I10FMJ3KQfEArDUB5gFRYStJB6uHK8yCbLevZBjOeDgBQzdWTSc45z/RsE/LFXUcx/1vaP3NYMkN31l6aKivNvOr9ihnzhtn5sHXDC8w74Jd79VV7J8arjVDzTTLzeMcojl6B2QqJXcTBEThYsQgdcgBwB/4iy01jkEUoNPAEi7z9Mxp1kSu/65/pJnRADk61X5KFK69SUMLG1V6EQPxbs3qXqCzxE7r+kk6qdYhDC9UmFVLdkWaoq1oK/phCDtTubBZgLAZ6/U/RnTXlbz1UQUa8aIIEgiDgC/ewR3/sIcTRghYYeFlhm7XRSADr49ZFgAYEqzzBy+zipgZAvPyS8UcLb60WIfzr1J3Q9zjlnI4Ena1SvpUqt61D963hEY6Jp/TP7+Ls6ByIA5DYAY0oHsdn66lXHPnXN5oePWleapRhsxlRmRqH0F6YB7TeMafYyd85enFQcoI0yxmuKzt1oi8CJa1LwNfsI1btA5lYnkNpSGDNJ+6Bsqrg5xJrn/NKSJgsLDg3W8x7QjmS9j0WMB5sNgib+xxoRuvQvS1C7ClLtCF/aQ4VHrs0WuKqQL1B13g57mpG8oavETR97ZVMI4jhfa9L9RIBAYznJvnRdOm2T8= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3f750ab1-6424-4bb2-1bb7-08d3cdb8ecce X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1880; 2:iOXH71rgTJTcyundPv1gPzlhV91UmjRQvsl7rT5xM+g9ytmqxqWLEm1GAznZxLfDvtT274SUANCX7ANRCI/pDQHDoZt2qQhG7RJjGx+uhS59Tx8qV3WC6pHq+Bxp5/amonEyuujNpO4ncNZeqHjthufpGwKzyvds6IvXTVqsCR6YlCoDI9tuAafgRis6SUEu; 3:4/HPuUOKALMiwq6ZLGIG/R9JuulysruZXEYDBPQ8u8q7wsNKVwIILGtjvbElwP5cGsoMkWxacYTVpyFg/S/LKpRnxy0BUr2qgZh0tmk++1KxlIaIuNM5h9Rc3w0P26pXbNB1Ns1aueosiPkKQVeDP7MzSt3f9O9k4CAiPuZNAyT4zf2kQmrIcqEuYDp/YDiRz4CYevLHIP0gBVtNMSeNsfbDkC0qiC3Azd/A1EcHbzQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB1880; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1880; 25:LRHaGmMcAyCCDLZjXZ2YhdaVKssRr1dy4iikSSAOgl2WOxgdl8mSDXcbV0pr02Pe2k7x3IvfMm9TaJ7ufc7d7HAfZI7e1nbq0o8INPp2CHtME5fEut6SrQO6nW8gW6bEA4llLfXEfNQLf2aAkRSZGX398fZI5zGOE2Tvchib2z5Rc0yNXH9c8JStTv53tDDzzb5mHzYZFga7UusWQ5/nRFSlpAyX2vtoQ+Lr0byTdEyXDCBciw+EWOxG1rkL/oi//Ubs+Ru+HsftPIaLRVuKnWk80746w2PJnbXyGRPpbk8QyOp7SUbZfORSZes1sI6kGeQbGSucARBsBADi72Ixe42+4mCLUDX9ukLgx5Mv22cDFW0aa33GlmD5OwI20wabixQBo+2iCqS0mLkKx8BYmMm5Gl3pspz276pd1anSCbjESGqP3aPCOaLKzwKC3BcSDVagtyiCFzUgJSYwHd6oj+d5+jgjolFZvaCscsT8FMhJ+41BBpF2/QH3ko6liSL+WPmL8SdzkWPfmrefyVEb9+3dJUhNq0dJYxNq17SEck1SJviBuDsgZvlwW9FPCJpCfwg2eWBLvQBwENGse0oBwPDhI3BnlyP/aHndcu6bL92gLoicN2O9aDGZU7ksAa3xJb9qBmrGbFxgX5BhuRgfOUxVHQouW+ETbYHVBJyWomrGDZC79fmD1v2CKiiMFr9X0M49r5QTtbNVIgu79bZXFInM+XWEPEkTZppRd6QitLR/f1I/C9OQ+hUu1XoVzoz+ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13023025)(13024025)(13018025)(13017025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BY2PR03MB1880; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB1880; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1880; 4:jaVoww2qYqEvyFBR9/zar/4MyldB5enmGsj8Vlqye50lV47OXEYsUi4qHvpZKCaZRZvcAJNJUHJi1Ujn6xBDmHQ3QNCDgoBtJI+lqWmCADSCZR4iMrFLDguPrheHsSkNUejfTxx5i5vIn/cXeQjVmcJc/UoHe1wtH1Y01ldCTdaxkeSNJre7cP9s8OFRxdwOCraj39O6XAO5uxOjl3nFfAtjIprgMYWyy035BjO7poigYGBNi9wwmVjWmKveNnvt97HIURUUOFogTeOZMF21tKnRjOVVifT0vYQLDRPukVzTd7UlGetxedp2V+VoX+OtnKSfa1YNjWGnKS1XYnk7MM51hkEjcEKnKZamh/iGQaNDMM2lk2aHk0Y431DMuG83Xr95kTfLEjKPgvRfJI+AbT9JgRRfVKh0kUnkWcUBLCdqw/+nr21B+6grWw/Dyfn2yA8BdpByDCgfDbJbm/eI82csR+NZojOrU8sowm6rbvYcGXj6Ry8UXzQaFVmb+ovJZzSerDNpY0YwuF3bw4I/VJV7rkbSuKMiCwAbWRSLKaA= X-Forefront-PRVS: 00462943DE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB1880; 23:n3uI9Or5agFo42rj5eTGL+TImOlKFWa52CHNRE1QM?= =?us-ascii?Q?I1e+5ThFBDMCElb4hVHY5emXSRlEBDPdwTdk8CzZPDes1l+9G4KKL5H3ndeT?= =?us-ascii?Q?sozSaZT97RgFyXiHwRIfyAgFC7Rg5tuYtriZr2sc7jfOaYA2wH9U9kHInsJt?= =?us-ascii?Q?0KhVPPCtxqlZdlO11XeZ/+tI27xsyjoIYHcJqANAm5Kpz7KeEFZGm1ow819j?= =?us-ascii?Q?qCMQMO9rocztmh9Ti1h9xXK4tggJqp2evIQMyaOH6JTBkOVUAgFtyx9ZH6Hg?= =?us-ascii?Q?fi6cx+0kMvtW2VBQx7IIEA4hx7T84fNEt2nW2HW3ZPX6u+283ltxzb2kqTDa?= =?us-ascii?Q?vyd/R7LzxNr4IYBIkyy1mkDBARJu5FCMT0s5MVziiyExEYXafhSEv48M/P97?= =?us-ascii?Q?Rj/9u89nMr+fnrCTMAB8GTUJT29d9lb6zcbC7vZo3qBeUAaYexHnlF3RDbyP?= =?us-ascii?Q?J1Vz4fnysG6dXK76SpapWX+nN2NQjo3GXzcUE2YkthV8z2kHhvxF5nZkkwzo?= =?us-ascii?Q?stTWLcEpYjXarfHYefTljz3MeGk1YdNI18+Bqyy6vKDEMi08FRi/g8hdWVHc?= =?us-ascii?Q?hJasLz2umVrvWGjuSQQOGQFaHNgKxk8/X3vlP1BnPHatfVj0/9WPm0qZiJpz?= =?us-ascii?Q?HKaWoCTIc0WfQ1A4A2dAjvDJ2D809TrJaSeEnL00XF+WJUbCysC6fL3sJ2V3?= =?us-ascii?Q?RT2fUlscXMl7eNhiqxeuIYbLRbuaz8WvcJtNzG8mhI3ljBW71eOVilvxU07P?= =?us-ascii?Q?r9GSlmleXcQQkPDMwoAev1h7PNTpEkYZIlJU1AegOkESdD42TEkn++MtCAy9?= =?us-ascii?Q?jILdVq2O1l2pF5tYtsCufkUWt9zsfau1O84OpwidZBcQQKr37DYHz4poT+R+?= =?us-ascii?Q?HUetl99tNlI7Op1Ib8DQtvihcbeR7R1fsRvpFQ8ghny1MvYHICM6rIatphX3?= =?us-ascii?Q?Wv2nJn8WVJ5fvSrukgXpzbMGM+/WiojxLvwArn+FAxd2c2UnQsfOyuHFqsK4?= =?us-ascii?Q?4ERei5dtPn0ssvz370VjKm6tV55JGQDu1Wd8hofDvhdc8P6d4tTk2gnEWkud?= =?us-ascii?Q?SFEB04ysexwDjL3sNEhtJzJBlsQZ2iKVu+0V4NjBaCOPrXQqOGioFo723Lqc?= =?us-ascii?Q?xBhEEt0Frn+pJ5n88/j0pgAZLbkCODAnSdW9deKNFtCMTcwb4naH5jiWPkwE?= =?us-ascii?Q?QJrPm/ZcUo6/3EReetyQePEvdvehR+dcKax?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1880; 5:CdShFD4tdPdvVi0ohCo6TJzykibEDYIgPl9uIpNLBJtgqIGYSJwAGurjjfyozvZkV/OsyiJRLUoyTHbkM3kZ8KgrQXU8ko7ekorx8kL3PbmmtDd+XujTVAaAE/i+NBq2ZTgfjUhi2BPrsMEU7yjy2Xom2zPwD37+cIkkUG1xP4w=; 24:LhPx/gy0ELnw8ak1vT2CQwJacy6zneA3sx/R6ZhoAtpUsaUh0CWaMsxQD3Fw3S/x7Dq14GXW3lNlknrjvg/MqZ4hHDNfUFRrLwVFwB+u1So=; 7:VOLEOlfqKZBFdtTyRcbDw06ey6fd4J1lJrw3pgrWjEF0LMNVMM4Pt6rlWeBhskEvQnq2JE3/NMOpp0lUe6bs071dr1hEDhT/4jbQtq7uDSH3zZjNXb3ZF9/qoH/EwI4Tq2UTQ6TuD4GeHpPt66c7jtKyRqk3UqQJzrLZbh+nubIdetHbNPC2cg0ukGpFyJtt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2016 13:57:31.8262 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB1880 Subject: [dpdk-dev] [PATCH v8 02/25] eal: remove duplicate function declaration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 13:57:38 -0000 rte_eal_dev_init is declared in both eal_private.h and rte_dev.h since its introduction. This function has been exported in ABI, so remove it from eal_private.h Fixes: e57f20e05177 ("eal: make vdev init path generic for both virtual and pci devices") Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_eal/common/eal_private.h | 7 ------- lib/librte_eal/linuxapp/eal/eal.c | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h index 19f7535..ca1aec6 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -237,13 +237,6 @@ int rte_eal_intr_init(void); int rte_eal_alarm_init(void); /** - * This function initialises any virtual devices - * - * This function is private to the EAL. - */ -int rte_eal_dev_init(void); - -/** * Function is to check if the kernel module(like, vfio, vfio_iommu_type1, * etc.) loaded. * diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index d5b81a3..9412983 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -70,6 +70,7 @@ #include #include #include +#include #include #include #include -- 2.7.4