From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0047.outbound.protection.outlook.com [104.47.40.47]) by dpdk.org (Postfix) with ESMTP id E311E58DF for ; Mon, 1 Aug 2016 12:45:03 +0200 (CEST) Received: from BLUPR0301CA0008.namprd03.prod.outlook.com (10.162.113.146) by CY1PR0301MB0699.namprd03.prod.outlook.com (10.160.159.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Mon, 1 Aug 2016 10:45:00 +0000 Received: from BN1AFFO11FD010.protection.gbl (2a01:111:f400:7c10::102) by BLUPR0301CA0008.outlook.office365.com (2a01:111:e400:5259::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15 via Frontend Transport; Mon, 1 Aug 2016 10:45:00 +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 BN1AFFO11FD010.mail.protection.outlook.com (10.58.52.70) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.549.5 via Frontend Transport; Mon, 1 Aug 2016 10:45:00 +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 u71Aibjk018422; Mon, 1 Aug 2016 03:44:58 -0700 From: Shreyansh Jain To: CC: , , David Marchand Date: Mon, 1 Aug 2016 16:15:19 +0530 Message-ID: <1470048332-27318-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470048332-27318-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1470048332-27318-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131145219009809890; (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)(8936002)(50226002)(81166006)(85426001)(104016004)(77096005)(11100500001)(2950100001)(87936001)(105606002)(81156014)(8676002)(19580395003)(106466001)(2906002)(86362001)(19580405001)(48376002)(97736004)(5003940100001)(4326007)(110136002)(229853001)(68736007)(36756003)(92566002)(7846002)(356003)(50986999)(76176999)(586003)(50466002)(47776003)(33646002)(305945005)(2351001)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0699; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD010; 1:l60yKFUPYlsEsSjRr4D7ei2yVjF36lKIXw7K4RT2VN3yd2SOPsAoMwqeIMDSWCT7LFEtmNzgE77cUACorvVsQJNYgjn/FzEKTWSfTNItCf+IZUCb93KhTFUsVDAmdpOT17zP8QUMrYw6OG98l9ckKIghAxevIsZVVrZ7exHStLKA8/6C+UraCSE+3dhIY7YUrvN2FqP/98CP0LzZqfd6RLutuDndyyqb5mS12dXtkhEKZDug8V9WGQ0ojiLyPAODpHqtRQFEJE8zg1PLueDVmXTSWftQjMuqzRNvTmFcsy/jXOs6tW8k2dATha/41DWeIeugtZoODc6H0mAAD97g+7f+7N2dnBcW9Zx76Od3PLxWYMy+lSPe+jzR6Y0zq6snHh9CpVVoaeO6jx/ZJE8vegJi3nvoYkmp2xBWiGwOquzvM0c3q0jE9ANU59bJr9pcwEIkeaqB2Mgw2tRkiSniTACvBVYD4E8pPc1kqbc4U0R+59GbpIckDW6Tii1wLr+lz7OZIKiolZjLzYS9IImvPrlo0ZtveVZVkbfCFMuBzt2+gmKmttQc8vEsA7yrL6FsL9WJ9V5L76HjG3i+t8UMyWtybYalc4/sYMRkLp7ZkVX6arJ8MjTA0/+EoqBX1v3u MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 32c0a06f-68f6-443b-0de2-08d3b9f8e389 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0699; 2:S4Ya76pajJvPbV3mtuHrmrfCoxvobqRcMfhNrqaGmn3bc+PmeGbiY7JCkos4hQ6WAkGUyEsgiTn8EOCB8S5DYH/eMjjIozfw3zkCkbv1siFPwfvP1Ba5LvcjfYyo8KX2avJZEcgBZ5nDHb7dUL9G/eLamo8i4PTatVlbqM1/WQYMQbWJAWVP0zYf/Ddtg/MG; 3:SfXUhodqHEIu0c6BlxpfIYz9DuaPePb6fNAxQEf3qZ0J4jyLyd5H1eFAUn88dRT9CMzarYeV3H+wVZbYFb8fD5TsafV6K/Z4bdFaeIdneyutVaR37AOgka2Bvk2n3twchHmfuc+RRWv/zEuqUHRAEo3tdG1iFo0jYWG07yMHg8bsBAR5vm68WWCZD4goXwgUM6XFRQiGc+qiML01KsIPNJl5pr7i1CRnAL0ZZ527otU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0699; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0699; 25:gEIxOcpwWpcx2dmknB6r5IWtYqUuzG4bReLNqQnWvk/aisUsqY81k2B3BjZsEytGTGIpz37qHVSXs6rbqez0fWpD36s+JEIgL5G96DoaQ1aGQs4s8VNjsKDDIvXq61+Pcmr+CeS3jAWG2scKsBHzY3Hp1EbKQ/mc2tDUzUVsY7iwhDnSccIg/BmkkqNT1XWr/uzyB1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mcdl4JAEAX7FH97dX9f1w4psQs1+9+ceLA1mRfXS9c70yfz9wqQyfTfknSUbd4ZQ5AFPK/vdANtRps+VZqtjyeKW4gSUkDDsbGOCNmvAu3E7NVQVxraEPb2lQ0oo+RbwdyyU77Mm5GYIpCXJ0qzkUCznLwRK98mbJ0P2cjnbnAQItoKJk1nodPozLcOFHqsrVFpFPJjkAWgy/FLhb0+PnDFasqf4Qa+n6qnwdEXJh+HSCRBFtdgFnoEsqtn1pkGspiUP1bQOiOVxLClkzGh50tw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(5005006)(13017025)(8121501046)(13018025)(13015025)(13024025)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB0699; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0699; X-Forefront-PRVS: 0021920B5A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0699; 23:n4R0Tn0rsFYcK0aGwW1tC+2jg6svw4/CyfxkWCv?= =?us-ascii?Q?2m+Tz1nCYvToAaIkQDbCxAK6+gxzcOz+0Koh1oMewKGMhubWTi/cwZTVVR+V?= =?us-ascii?Q?azG5OVXkQnTh81wzY8ywe6BapFDITpQIOBlEAXScnsJ2ffr8dJ8QCOyep6w3?= =?us-ascii?Q?mwzJCcIjnUnDZra/owWsf+G6CkMpLN7EcvqzIqiTwex6lpbVhgUzaQZcvvIC?= =?us-ascii?Q?uevO3BAoqH2rjwv59BgBiyFO8dYIZzyF0UA3pMAoK1c6dkH1GS57TTdmtNsV?= =?us-ascii?Q?1VstLC/tGlDVdrpns3OSWxAEPltVYvKzQojJJ58MXvfZVyzVp6HlcBfahmWO?= =?us-ascii?Q?aNeGXNiFJykGXzi6F6hRF+pdssWMWTySs7w3yJqy2YMcIB2D4hd54QnH4x+3?= =?us-ascii?Q?Z0zPKoj7587lQvYn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mmvyYCUFyMWSpgcrbpM6epdnfArl7r/2fITWLmt4T4rHgoxfvfy9oVxlOItfNM8GUwxpKLYChy5iOswzkL83ILu+Bpofzod54JDG3XDl6mkmD0=; 5:DNPydTEZrd2uAe9N2RcrXQmckAUWPr6whi1e/axzB7x0E8hLCMIULgyfy1FlL5KtHf6zOYtAmZI/T71XFeoIOA1jSynbKPB3sREsB1cYjvpMk2KfHz4mOLZd4WWK0w032+L3nwx8aFSZo+bUPS9TQD2pqy8/Rc6H7D2c1KUS6RE=; 24:6xLh9oeAFSqIJk9vn966b29uIu0WO+52/X6I7nSJLc78h3RDEmXkyhzrXKq27kSxzeRmVjFHqgLyd15p7bKS80yU4ux5FORIgoeRn1JySrM=; 7:az5PGpYqxxT2ConqEfXFgb85Pgucycd1Npx4FoqyCpO22qTp/LlWKhc9H9C5/PbdkC2pKF3n5yxKLS5PkwzPwLuSTVLOhNwybZTdNMDSDFsHWCN6Cv9dvBqASXJaVLrdBtnEcbQVpd5myJe9glTJE5BxnMtkLgJ9JuCSpmE/wI7a6r6ehKr04VPI//iYRfGzFOBuhrZXvfs958Fh+TJsirYA+58libskmJjBp6zewpgodrGV9Jy+OpNVuq+K0B/C SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2016 10:45:00.7937 (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: CY1PR0301MB0699 Subject: [dpdk-dev] [PATCH v7 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: Mon, 01 Aug 2016 10:45:04 -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