From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0051.outbound.protection.outlook.com [104.47.37.51]) by dpdk.org (Postfix) with ESMTP id 9D0F63989 for ; Tue, 12 Jul 2016 08:01:14 +0200 (CEST) Received: from BY2PR03CA067.namprd03.prod.outlook.com (10.141.249.40) by BY2PR0301MB1990.namprd03.prod.outlook.com (10.163.196.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Tue, 12 Jul 2016 06:01:13 +0000 Received: from BL2FFO11OLC006.protection.gbl (2a01:111:f400:7c09::113) by BY2PR03CA067.outlook.office365.com (2a01:111:e400:2c5d::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Tue, 12 Jul 2016 06:01:13 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; 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 BL2FFO11OLC006.mail.protection.outlook.com (10.173.160.95) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Tue, 12 Jul 2016 06:01:12 +0000 Received: from Tophie.ap.freescale.net (Tophie.ap.freescale.net [10.232.14.199]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u6C60qWc006202; Mon, 11 Jul 2016 23:01:10 -0700 From: Shreyansh Jain To: CC: , , Date: Tue, 12 Jul 2016 11:31:09 +0530 Message-ID: <1468303282-2806-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468303282-2806-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1468303282-2806-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131127768725226073; (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)(229853001)(47776003)(50466002)(2351001)(85426001)(87936001)(106466001)(33646002)(6806005)(48376002)(50226002)(68736007)(104016004)(5003940100001)(36756003)(8936002)(586003)(8676002)(81156014)(81166006)(2950100001)(356003)(77096005)(7846002)(305945005)(11100500001)(2906002)(19580395003)(19580405001)(4326007)(86362001)(50986999)(189998001)(97736004)(76176999)(110136002)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1990; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC006; 1:2RDEDPNx8nuDKZT/6604F5rwQ4VB2655jM/quR9qdu2T1nIKPkTXKiQ0bqeklH2l9mTMp4ZQs5AkdH1gn4Toz+N4Oit8gaMbo4oqjmoKytxEC0p3P28TUlGPIEaGP9VXiSaP/9/X0YmXmlbAFRbHrQLt9CQlsOSeL13fndQl34v+ggdyuMt2RTRXeiyFjN8H09KWjtnOfJ7dVJA1Fu+DUX3gz6NizZwu3P05lwaI8gnfmS1NQ5LiaA7pk7opVqRA45pB2jcjlFYaiSNEW4qvwv+nD7QunScS0EoMgZqcASZB46wmavVMHChrQFDCTgdQ5FbAA4lm23ll7fpLdyKMOS99v+3ivdy+mpRdONfzFWFXq10EbWasv4BkD5QNOx24G51NHDjAw2LkJS70vo9L+DPmZT5rfgVU07zu1HvYkZVjOFyeEwZQnBZSoCYhLde7R+gFdFtcZt3K5U+ve3btF5uem6QRbxgHoARZhO601Lgst7i/fyr7t5nYgwOMD01BOLEaLgetLCbodNqeGWmmY9EHvPu+MSBv/sb71hztY1tqq+x7yk1J+D8/WhwgVU/kaatR2NwjmvIjlkBlTvxCILDDWTF+VIDCWasmugZ9AO5yUYcu8KC9o7A0CxjKwRCX MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 8d12d835-b6f9-4a47-20fd-08d3aa19ed83 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1990; 2:WyrIc/c8oS8JUQpwXQyy35ezSAKe6GncPMd+jJqykiQzism1hDfJHctXGXzcZd99AfsNyyygtm5bf8IbW8BOow/MSZs/Wl5ZxYNzYo+sgbyhU6uEJCcoJo6AR+TmyIa4NHQ7TJXmnMyg2Tgy4oH9SjNXVFznED56LViBQJsHTl2S/TZBJzkF1daUtThOcg/s; 3:7JdB8cDaCfqgF+HLPcULvluqVFTcNUdQpd4N8oY8cZUcLmxD/eUJu0bsDLGeT+U/AHsGjolIMJbwPnp1j57bVgYuTXQQxCpf9mwNf263ye2ecISk7JYseQGgM2tV1wuhTDJVDxnE/qibCNeFuzf3aJW+StZvEhyqWzoxv4lK17zQqEduDArtXlm2t4YiOqw7DW8vJ68cvEBjXd3PGLIdRnfNICTm9gAmHJhp/ft9SF0=; 25:bw8HVuz8zlPEDoQUrE3dkRYS3FNRFoiM15v3h10BhYUsDfXHDxNUAHrcthvWkhLuogfycfdil1+xiX3gaFk9WVTox/uDIHqryXoovFBREZNZyL/DFAfwa/EoUgh0nz9Fu801nWRDtwNtGUlk5RSXHcTSeSz+0s/zcvPQODhNorMxoUeokKg0epuVqe+FQlkcB22iDttADsmoPS1V+eBioi6XLlAO21GJUKoyFR8zUeYhl2eFLFVWyNDbtwgBjbgyl4XEU9kN4pfu+N9lX/4Rn6I12H6X4gZeVFpVz15xRvJcsdjAALWT0hkoRIX0YBYaZUVRZENGltalaTM0y4ynWzyuB9ADqdMGsYLjuuNe9ZmLj9mIEgVsjQf3PWnEgs2c6GA9i7r6F6EgFzKPngPFecLx05Nf+OsZiTmRosGxxvQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1990; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1990; 31:N9ZofkYO2GDzz7IAX05Nf7WDW3eMN8LdCxONqKylNdUtX2YhNzn0mXc1ZkPzhpBo4qE+tr8GxXjuq+xqmChbhWjqletGMD8SLqzi4CwElWKdUy64YFJNfFM7qGyAipd6oUparvt1fpnqKryqUsoMldRDX6zxB7bpO9pHLeeVIX0qmByfdDqvuhOG7k/ZJCZwGqp/BKL/+ZwaDXb1XTMJUw==; 4:ysPXPlWn6sjm2RDCoRnMqgFS/+l+HaayQVDcpwxkMNqqEDw06jdaOpSdm6FkZNLIr+Slhgji5vG7KPj2M+imujEKQAtv3gSeMvf97wpeBo4cLnSvi7kG4b1DcQzau+OvaXYCOOBQd7wnxPdGWhXatssezIg7agf8WZ2eAsIWd8aKlcrgbR6J/CfV8bt4yF+xl+op0i2+JXpOu2J2XC75fpVOwF0FSMLSGZYFbSTDUdnySRhIt7TG9M07iaYdyEo5y4qwSIuoshBG3g6e6VcR2h1SgPcLFc2MPfaNoPjDX5C86tyO0FVpXskNZpxzsDl0oZgh2SFf/qE3PvyyOR1PI/vg2oUeinx7fXrJGzrN1RZfmEAYtVkYwhCr999n4+38e7XZkYQMcW9o/N4egSeC2pmMHgymgs+uCY3wITZkpE+pVdngb7erEP5LWHpTWfNntKnyU+2D0ZwrWZ8djUxqJFNoaEQh2E5kHbyNUCCaAADqrTb3IPhgZCn/5PdlBHMXmMQzCr1OmYO1yyiNrW7a5Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13017025)(13018025)(13024025)(13023025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB1990; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB1990; X-Forefront-PRVS: 0001227049 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1990; 23:VFaz7f7kgpfWOt91BvRaBfsNE33Y7INvYiWYbmz?= =?us-ascii?Q?H7hCu14Cw5HlUBnZor/xONgrN2/UrgTuXj9yV+2NorHNC39D+UfMyG94ffiv?= =?us-ascii?Q?h5WRVkNkCGFPNQUnRVCrFCc3LxNKJ1Qkhe98dSQuDA6a9TxEqCemZYq0ivRe?= =?us-ascii?Q?CthIcIna0WLfJ3j0BPlQ4fyqY202sqNlxbpYa0wICdBVdXmBcVEzDA9dkT2+?= =?us-ascii?Q?aEicVG9rtbyghZlsODYPm2nMEHm3H/91WlLnIOw0/K+i7ZFH57DN9wXcz++u?= =?us-ascii?Q?H+gNfxgK07CQBSr6L8/nBWXthyW1xT0xS5+Re8ILsqCxYxxQ0drx8oT06P8e?= =?us-ascii?Q?2MkZibzNLkU93kRkww1Hm7xpXIkG0KSf3S76oyP90f/C9KoG9lLHT4BXGeJo?= =?us-ascii?Q?KzC7ySU4D6Zov7zlyDIcyfpZN1QriYxBi0sPoNKeRAMsw1s+WysC7bi/3lfJ?= =?us-ascii?Q?d5bdQa5Jw3T4d3eETuQXnk1XZis2XEGcOa50B5ftTvDw7gSgQ961yHhw/L9t?= =?us-ascii?Q?vkyEc37SY2mMXLV+lsvO47T1JFOO+IV1Y77H0b/iXPI3TIrNQo02PAMRQSDy?= =?us-ascii?Q?ff5klXdtGb1uviX8u/WIDVkxDBjCRg4L0pq3NY7sk9PDIj4rIjsD8Dc/f3qb?= =?us-ascii?Q?faPlg4UhFtL1ksqZRgctou289H+tlbHeZNn6M2/ngjeZdIdyBWFf6vbbrOdz?= =?us-ascii?Q?Xs1oc00jbTW7EjX2KjW20ZTh5bbGvvKhkdLTJz2MWR+JUtHkz1mmJ9N7GFh4?= =?us-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k=; 7:5YAM5+eeAnZIMjqDY9cievR64I24NuY+xm5xLzaZdaIwCPYNYC5ecTnvVPVEmHmd0EmoCHkK0dqzShyvEO3zjnDqCj6f+NrePGQo1t3EfUupRVjt5HIxprGknZstklkDJ7K3DZ9lO7hkTVtfLpKpMR098i4EwTqjKB+WvnzjyO2n8boJ3TyQzNyMDKSHr7gbh4YNI6NRwJmP8cLDYSafKHKlWKOWFGy1Lcj9TNJtYfez1IT0lYv4lJsiiN6Ky4Yb SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2016 06:01:12.3510 (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: BY2PR0301MB1990 Subject: [dpdk-dev] [PATCH v6 04/17] 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, 12 Jul 2016 06:01:15 -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 857dc3e..06a68f6 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -259,13 +259,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 3fb2188..fe9c704 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