From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0044.outbound.protection.outlook.com [104.47.36.44]) by dpdk.org (Postfix) with ESMTP id 19D506CBE for ; Tue, 20 Sep 2016 14:42:07 +0200 (CEST) Received: from BN6PR03CA0057.namprd03.prod.outlook.com (10.173.137.19) by CY4PR03MB2439.namprd03.prod.outlook.com (10.168.163.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.619.10; Tue, 20 Sep 2016 12:42:05 +0000 Received: from BL2FFO11FD021.protection.gbl (2a01:111:f400:7c09::120) by BN6PR03CA0057.outlook.office365.com (2603:10b6:404:4c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8 via Frontend Transport; Tue, 20 Sep 2016 12:42:05 +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 BL2FFO11FD021.mail.protection.outlook.com (10.173.161.100) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Tue, 20 Sep 2016 12:42:05 +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 u8KCexsT006559; Tue, 20 Sep 2016 05:42:02 -0700 From: Shreyansh Jain To: CC: , David Marchand , , Thomas Monjalon , Shreyansh Jain Date: Tue, 20 Sep 2016 18:11:13 +0530 Message-ID: <1474375296-26078-2-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474375296-26078-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1474375296-26078-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131188489253328150; (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)(199003)(189002)(105606002)(110136003)(11100500001)(50466002)(2351001)(5003940100001)(189998001)(229853001)(81166006)(81156014)(48376002)(8676002)(106466001)(36756003)(92566002)(50226002)(47776003)(586003)(33646002)(97736004)(19580395003)(19580405001)(8936002)(86362001)(50986999)(4326007)(8666005)(2950100001)(356003)(305945005)(76176999)(7846002)(87936001)(77096005)(68736007)(2906002)(5660300001)(626004)(85426001)(104016004)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2439; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD021; 1:Citi+tfB00S4d15A5mPhsqZdjVsivlXkwJpcQB8KvpyjFyGW7+6pXAjDM8wtWdH7tT0n3z1qZXzj2MO0Sq3VeihgcIv1+RKciXKdDFEFwBhf9UVuDrn7lXvnhUyY1/khrhYSADZCxIj5b26WFsmgsKihkittttMtu8ET1UK7aTY8XyfGCbWwpoPtjsjn0JGqH2mfCn50zowUAhitWsCFR/qIN/CeXOukLe/gGfyJ9R8uJhvr+iLQwFE4fThD235+nwLTu+4StGjP5GBViuoSxN39Whrrrk1FAoOOcS7LesKfwi5I+QHJnAvVwGKZBuH2g7+Zhy7jsQ7EIZLei/JcCtkEPRNkNu5Z9G8CdhTvW0CXRQRXC6geW3qBWs4jiPgqz1wu9UJ2GlXFqJyT1dj9mHK0oWnNfyTFgEM92EZ3LySYshQjW1sacETiOCSG4RqgpgRrge7oRD0KNUbA9ni8t0XMNea1CTgjlR0CDVr7wCL85FkSCg/niXlVhDaK2Un1BI5iZHuZb9Q3JNPjQY9W8qW9ch6qbuLQD7cLKmC7Pt+v/pgwY52QEN8m/kD/8tl8CcZmwFnAXRUrj+Nhp1gPacfxvTnkmprCPimIF21PN+4XWId8T+dM6YfyTa80hGNCzk5qylRk2XAE9HKKNhIcJyYckGgWnlIMSalRUD02kO5jAboIofh9RRkk+UqcQpue3ta4bcsZfagcSKge3Uh3JVsno1RzmFXBdH1pOB80HvY= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3f7bae24-f519-43fb-33b5-08d3e1538705 X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2439; 2:hVd9K4WrivItkiNarzF7hWqVTB8o1MVrcjp97QJZRlFYTETtZbEMqpho+vhQHQef8MgqH0UTzIuoh4XKIvmevOToTYpwDbDAihbB57we+/IVZljoQOyyko4dG+OxymlyiIM5GWTSmRgVVW2RCYe2Ma52N/E6dsk14+6lP9UpVCt554bAozEXO7bK+OOfCI3Q; 3:j9UiW0U+ywf//c60La1KeMDueAyq+zSqRjjTZesW7ykRGsP7kpNZJp9y4N0PRbV56TJcKrvK5TaNUngE2xLloFZGOY8ScbiWcGdpgZThOIx2025o2KaP3Ut191FIqrAHP/BvBBZJS3Qpa+wObvO2GfL4FgJbjaTqSjQnC2kqt6wbgm10ftLr/r13e6KuQTROoJfVDHD5Hs2TOrC6g6fA2IHvRcbI941fzmOPlTIdNCo= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2439; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2439; 25:w2ZdAxeLD4jyfLxB72uq88m6S/ThGpO3VMwR3cIcy5LHvIx9G6KKNmxhlbGrCe/0Ymafl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qph4W+IsEZgewiN0799Ruj95IN01hB1Ph0tClE9m2NY0DpzD7K51EEict+oFmAgDTdmPFmro+YLTJBc39XjbjXPtBaUQY/moan/3R6KJ8TQKjh44V+peYPoyfBwMLvzl9t+W94w+pfkFP007eGTVAgHTIIhlMHtr14hUR3HpkAGbkOufpKcwhHT+fRQPEmk8/x2s0m6MuNfb6qNJOken1IWqdxXpDYJ+HOQwJjtMVKatrS2cQ2SWu3XDKbm2y4uZE7fGzkFv3FF+ki38ONSM5stwoLA5jkFs40dM16uKq3vGS88/whA+eWcvlwUeYqeIm0kvZLaitom25ePml+mBF+wDTWNXHdkt3LVTQF6VDJyG6w6SfOkcuoGfZCRtbEiA88Z9EUlI5XCBQhyBImPLZFwRgcudPtkNx5smegSm/Xm6Jut8= 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)(13018025)(13023025)(13024025)(13017025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:CY4PR03MB2439; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2439; X-Forefront-PRVS: 0071BFA85B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2439; 23:EaDwR07wnw3VyjOvlLRONP1YLVGyj51iECsXC8SED?= =?us-ascii?Q?oxweo8BvwZxT8N+/aUiuYdETtxg8ymLXa/jW5oJRHHv9Cht4gpOVSJVs+2sd?= =?us-ascii?Q?97st0rv84/3N9zfCcinf3i8X96l3R6wm/VSoyLFv12tm0aHEY5KOBJLLbNWR?= =?us-ascii?Q?diXWl/5BeOEsW1tnELjW2epT2i7+VGCMevwd8OHqLLph8GFX2OcN6dzQjeQj?= =?us-ascii?Q?6QrUa9Cb5WSxaO2cSQEmm1dsyFboN5FAHPT99gNhDOHd0R5hQAokGYp8SlHy?= =?us-ascii?Q?sdOCmDWRIUcmeCRpe85zPskbAJ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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: CY4PR03MB2439 Subject: [dpdk-dev] [PATCH v11 01/24] 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: Tue, 20 Sep 2016 12:42:07 -0000 From: David Marchand 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 Reviewed-by: Jan Viktorin --- 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