From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0054.outbound.protection.outlook.com [65.55.169.54]) by dpdk.org (Postfix) with ESMTP id 00760C33A for ; Wed, 22 Jun 2016 11:06:29 +0200 (CEST) Received: from BY2PR03CA046.namprd03.prod.outlook.com (10.141.249.19) by SN1PR0301MB1632.namprd03.prod.outlook.com (10.162.130.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Wed, 22 Jun 2016 09:06:27 +0000 Received: from BN1AFFO11FD008.protection.gbl (2a01:111:f400:7c10::134) by BY2PR03CA046.outlook.office365.com (2a01:111:e400:2c5d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Wed, 22 Jun 2016 09:06:27 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none 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 BN1AFFO11FD008.mail.protection.outlook.com (10.58.52.68) with Microsoft SMTP Server (TLS) id 15.1.517.7 via Frontend Transport; Wed, 22 Jun 2016 09:06:27 +0000 Received: from Tophie.ap.freescale.net (Tophie.ap.freescale.net [10.232.14.199]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u5M9663d022009; Wed, 22 Jun 2016 02:06:25 -0700 From: Shreyansh Jain To: CC: , Date: Wed, 22 Jun 2016 14:36:23 +0530 Message-ID: <1466586396-22618-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466586396-22618-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1466586396-22618-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131110599876649085; (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)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(8676002)(36756003)(6806005)(5003940100001)(33646002)(2906002)(11100500001)(19580395003)(68736007)(69596002)(50466002)(7846002)(4326007)(8936002)(104016004)(92566002)(85426001)(356003)(48376002)(19580405001)(50226002)(47776003)(110136002)(86362001)(81156014)(97736004)(189998001)(76176999)(2351001)(50986999)(87936001)(229853001)(81166006)(77096005)(2950100001)(105606002)(106466001)(586003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB1632; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD008; 1:K/fWWmCpVM0lWMDjiMGF9pTz8yA1BAQS/t8laAFr8edKWHP8S8mkJGOVq4Gt5xGjHY4PSzKHvWVx+DbHZCmCOrJkZKi6jgkXl/xUdAyKu0bnGVOk3XQmxbiUQLheMMRPacogUyDb6+Mg58OLjnn3Po5flEmT/EnWEONNk8r8uXTZGg8L1n/J3J3ZUx6iJ1bEY1WQgSedYHFi0VKpE1KTstaqnSCOjaojS4Sr5mxf4kRfgDO3DaJCKA06qv91S92syPZLXp+gMk2qt+Gu0SDSDf0xDWe0t7E5zAmLtfMyk+7ELt8tPiDrdP1kclZ5pZOa/RfMq9HqTmCUnlJ6Qs5ZF3T7IFZOK6ZNrRI6mRfwPctU46qvupB1lkjK2PjFFjktGQoLgqeWQm8sN+EDNP+d81RSMlYgxV+wpRNQrX408wGn7vx6FKxil2gA/NEwxpFI/3BfA3VdbRfBZa9b7GOCFiDyUjHOBk3BqmnPeqZSFLfsR2GfwgM8JvTybF6lbMrUcR/vl57WkpakJuAnlcX0JfKG37PPkW5/ReGXutXh9G4RgV+aEFR0ESJaMZ5pT1wV1fkJ+Qpd6BvjMiK5NzCGXw== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: caf4826e-3b2c-49f3-3f1c-08d39a7c7e64 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1632; 2:pSuwYW+P7U2d07rGFrVguhv0CQPUrsGppDF2hoSTWkAFqYNot2/XtYAaWBFZp6gh7umM7sqV/Yo6IkJOQqzIhmTMl6LYQdZziakyE5RXPiUBiAB9bNHo+Bi/Z7eSva83o/ctFaUmTVQyRzL0bFayTmY+e6nt4ULkUNmVG+Yf70H2h3RqnV0LY4X2QWhMhRCT; 3:nBYXcJH6tOR8A3YmxDslx0/78C2JIkXHPE3Wq0kPIHwKjap3QJL+mLRUKo3P5NwyzXFjb89W4Inri9uo7riPySNEYVi+saCnHkOEn8KEhs2/5k9D+HRVzAYhqArtK3ij9g/0pwK1OzCkhPL7Som2Ou+R6MiGObgvInNFPiGgqXEpJXE+fjuXRnDeYR+14mN9dd+4uIF8ftwXwi6NUZovXaeW6GUa6C4gu8vwtOhnbcI=; 25:PXN6EtqY2tt2CHGWtEYSVd/VTTqvEJhN+479DwrKepPO5st4n5XvD9U6S6Ws81CHbZF5h92zbvoDIoeAKALAXt2Sv/iSwNVSW5wSKwaL6WcHLxKZiA5hnTbGL+IyKrqNWgWS4Fr3ApkHZVJkS2z84l1d89g3FV/se44usS7c25DKRAU0s1ji4wIsNuiTt5jgs4ryYgOc38jJeHUonry3Cs1Y2LO2hiaXEPqPsxly888TaLU83xvbFE8sSTxeUNOLjeD4fm99f1cdz8OfIAGbZV6hj8OBbr0Yyxj8xANgkDRkcm0WoxrSyyHEQzqi+/exLMAwTVREEYR/bfnin41W5ANnw2gRiEQuHEafdu3giEBgaXu5JIVi5EyM5h/wIEwv1M6vydd0tRWkEB/e86LWAIWyPUJ8907VXg8ZPy1hq9s= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1632; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13017025)(13023025)(5005006)(13015025)(13024025)(13018025)(8121501046)(3002001)(10201501046)(6055026); SRVR:SN1PR0301MB1632; BCL:0; PCL:0; RULEID:(400006); SRVR:SN1PR0301MB1632; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1632; 4:q/a2PjpsMpYZPZbmbxOtfUmNiP8b5u59kw3OwpY8EgGo/OEVd407FOpKlh0EqsWTZF7qkAMcSQsqihWa+YXKk3mbu+7Ua0IB9eUn8y1Uoch27S8dJWScXXV4flE+b5w2j9Rw6fecdNaELAxs/hhWk14H46vTWL+OInGYIiASDUYwprAZrHb3z8MZnx0QMDxZnrNOz1wyJb48Vm1bLYnxrQ7ud96JRmhzqBksoYFN5ALD27XjRXtCfX4NZX6olwcHwoN5SXA6qs9wWMDamicUKcFdAnLjSdajmo98/kFTySwwjkEQc3DJGDEK8RG1mnLZa9jhuTxjoaov+cGeR/TkG/1Puqg3WN3ILWJt+sEKdFVrBn5QhJ8JwcGn1wfkskXuEEJJ97hr5aTflr9Iw2xfsZdrutiuHwHEOh/lspj5Q4z36ir2U+MtJs5il01LOIuiz7RSfqMLp1wA8R5v/wD9zlyiKMgt8fQiuiCDyfM+4OsU6sF0/RyMoh6gVH2IjEiEI8X171SP44jczAhyWm3pyA== X-Forefront-PRVS: 0981815F2F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1632; 23:QXzz9c75MTgffPek722UG+zJ3l1yXnY9TQxYqHj?= =?us-ascii?Q?Cn+h7+eLd2GQmgvw2YuN6ZmCsQTNG4ipwVe4QU0oVlLEb50WeDD1ZhS88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2/lWefzZSTduNbYBHL1AWd64fGXwBdYNdWBgcnrIIyKXm4weZG83dm0i/1e78+Sz4ri+miMQUQw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2016 09:06:27.4309 (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: SN1PR0301MB1632 Subject: [dpdk-dev] [PATCH v5 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: Wed, 22 Jun 2016 09:06:29 -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 4f22c18..29fba52 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