From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0057.outbound.protection.outlook.com [157.56.110.57]) by dpdk.org (Postfix) with ESMTP id 64030C70A for ; Thu, 16 Jun 2016 16:06:48 +0200 (CEST) Received: from BY2PR03CA006.namprd03.prod.outlook.com (10.255.93.23) by BY2PR0301MB1622.namprd03.prod.outlook.com (10.163.28.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.517.8; Thu, 16 Jun 2016 14:06:47 +0000 Received: from BL2FFO11FD026.protection.gbl (10.255.93.4) by BY2PR03CA006.outlook.office365.com (10.255.93.23) with Microsoft SMTP Server (TLS) id 15.1.492.11 via Frontend Transport; Thu, 16 Jun 2016 14:06:46 +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 BL2FFO11FD026.mail.protection.outlook.com (10.173.161.105) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Thu, 16 Jun 2016 14:06:45 +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 u5GE6Xo5026530; Thu, 16 Jun 2016 07:06:43 -0700 From: Shreyansh Jain To: CC: , , David Marchand Date: Thu, 16 Jun 2016 19:36:38 +0530 Message-ID: <1466086011-11920-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466086011-11920-1-git-send-email-shreyansh.jain@nxp.com> References: <1454076516-21591-1-git-send-email-david.marchand@6wind.com> <1466086011-11920-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131105596060241105; (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)(81156014)(81166006)(48376002)(2950100001)(356003)(104016004)(5008740100001)(110136002)(189998001)(33646002)(19580405001)(19580395003)(8936002)(2351001)(229853001)(50466002)(77096005)(97736004)(106466001)(5003940100001)(105606002)(92566002)(586003)(69596002)(87936001)(4326007)(2906002)(85426001)(36756003)(68736007)(76176999)(50986999)(6806005)(86362001)(50226002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1622; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD026; 1:vHJlmQR0BiwhdNBZsX/jG/mi7kTVB/wf7SDOXu3omgsMgv330CmsQGAdTYaynuXDZYTE9zO/tSP4VmgTp2D2jncI9vqLQulPWb4c5EdK9z+Z/LaPcAe4Wr+5oCls+ZiiX3Lg9b+2/+RBIEiM/9ovvw4NX13asEROj7DFEVkWE1x4D7QNB8jDNYjAlMl832CoMMNRdKxmBpJWEVwySwZHZFdiBLDix9J1khULCXxfjcunqLztt0TlbFzcvF3KyN5Lzf+YuIjhb41t5Sg56V8FnrupscBBVhl1Z1QBoO7/WFcQNNOANVfsE/7q883ZU+IOucy15tgCi1k6dPW+/X8QtfbSpREqZ1iQZYhm5Thx88E+lE24ou+WmhjWsFmKhWru1JeBtJrfCvMKa8UQ8scbSw6FUrV0VNBOpIVa5m5EA6bmxnDxT5kvzdkSoilieL0uEijd8wuc6WBXQkrCh9bdZvG4s4NhFG1pfmnaUD5P9liSIRa5fqwblngA4wvU78c2c4e+VW0E92HAmA/rC70R6qbMdxmbhbZNiCTw2IMymk3STRdPlFo4OgReojbH5I4wUTqF+cgLwIzRwwLsG4aXig== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: f6256433-d17f-4d17-2b70-08d395ef73b1 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1622; 2:mXZHpUEWyz6n1rYuFM3zA39M/5qiQGfvkd0wZQNllgI0CO3Ls33UILn/0hEjxfOpemD40XykVDw/PbwV3DsLeKCxWSrMTjeqphsUqX0IJo57ur8ApEY0mj3t7LLH9q5x9SgcxIBaLrQr0M1wR1UuqR+50ELMxLJni746w8QIFYDXXHNU4RS8Kuy5HOI/aalh; 3:UEM7NxET7GYR4otwcxfS1gyASoWKXb1t0a2dFEsGUQS/MuJcP6DZ6U5acc/XaAJGIT+Szl0xoNJVr7jvE5hyyyZ1tTzkf/27vH9/9XDf9kU53n6MGOiggswe0smn+/TtZxckiJumyZju05wvpohC4lHLobx3srkvegdebiS3Wt0I7YzBkQqOZgLJMeSqUKDfKJnpIsI8FWHoIu13Fk0XW+TZ3cXmOzGmfghBtVnJ4M8= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1622; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1622; 25:8JYxkX0SWDEgoI7aUHZJcnEuToGsmVlNaAk0dLvYnoYO57dHr0hhIsfuHxloyO9ljyJCNebebzUwIDphzxRT44VLlds94/FvFtDqeiKd9Ro9l1tnZ7bWhCrXiWA2Hj4jRFidniqZSTa0hrPA3dkeAYiOpMMBdNx9jMB0jWU7dcriV3WiTfM/Q3dfb5uIDfMUYJi0WWdA/itaPwu8ujHTVfxut0X+p1rdS2szbGvlAsKN1TQzjm201Y+OxynzeUrHWdMTQt/ZccNkmVxt7WjMPVRoHWWHEBXS+LaJScM8SPOu1s8tdRHUN2wlg7X01x5YfVSX6sbv4x0fzIY+P+W/g1QiYS86ByE5Vazfq408G/YMUTWQ4gZqQL6oPf/o5n60OoXZ1CjBJ7hBft7xrCIxa4NFxuD/h0PBPi9Nb0ypDuBEQL9tJxsmK5dkIgoLq9KZ4nRVCglpvapuZRMiXX1E08PVsI2FG933sGT4WkgOnUGzZ4BkRhV63783A2/aCL6zx7kekKyLDKXJuhlfWlXQZl4dmZLtB0Irziy8Xi7jKdWv85tI+76nRkQX2leg4zNdCM3dopBKNBbFuZejNquvFOH/vVmd2OV7OCLjVDCvOt8Ikr753fC2uj6KeMdQEsJeJSPjOvOfOI3DlzARmGzAM1UtYrnGCrMgPmaQBoJw+0TeQq9HNx/goILAWO2sGRKEku7j1RNAGaK/1KAvdrMNlTxwBnyyL6/NsLXvou3OkHo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13023025)(13017025)(13024025)(13015025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BY2PR0301MB1622; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB1622; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1622; 4:UjnH/jKvVwutZ0THd22UAywqJsDmJ1x3y9Ipn6aLFv3Q2pia6GFtbxOaXojyKGju/5/NfmMChUOHr+wcbQ5JTkzoZUUotABlZYEWfYAbtM+OCi3WstxDRMzM1ftPMUFVJIxpbdaquYVq1D/Ufoa0LwXRvZ67LvcVzuJlVsgGejEp5PlvaRAfgea42xXelX2TLK5Cw3pmu0jwVLNNPPMX+316ySv59FhvaAgPkq8BSizT62aAD/o7Id736FfirL2HIwdhyDEvm+b3EalUBfHpmkjsHw0wUaMZO0QoIG+LEBfwQJLoy6yqmYybAx9ENtP0727BtAnF1HegHxnevvaXdBlA78LzuB5hulTnZzqaXSegvz1E1R6WdjtNoYewhJct4cGDdxdbaLoIxR4YiMA9RTZMPibMEw9EWG1mwOAw/PJpwyVZHT05qUUu01348wL2nbEmTj7ceQtxSE+RBaxlAVp5Oh8jYOlmhlweeXU7PPo= X-Forefront-PRVS: 09752BC779 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1622; 23:QbpdE6q6MXaokvTPIWKdhqBbDgXY6+4xaxGiz5x?= =?us-ascii?Q?oRxmN4afVyO9EdfrQ3LUDUAkmT2hklkHd4vHUkEtq+TpwlGyeO0hb5y/TQhI?= =?us-ascii?Q?648+kiB4vdM6MNMPKbHob9MKiRSC800l2R7hi+VhqMwAqWqx0xznb+TXvOYg?= =?us-ascii?Q?hq5Yp+KGQOW8H0CANdm21A8BnptL57tyWzMQPcZoEp8KWeWI7o14Y61UGZC+?= =?us-ascii?Q?w0ca+rZ6i0KmVY5tnROa16LXHBoXKgtxXg3rwKFJaCvkEAj2iRzklnb2peLd?= =?us-ascii?Q?462OXqtPQ+CRQelu6dV+G26zJ85uBjHeXx31tA9T0iSDbZquZjyEIDXCcn3J?= =?us-ascii?Q?/Ev0cAx9Ipxey6hxgCaYZ6w4H0wUF8tgqwfa2qLoqr4yPGlDx1UTJVAr2Y9Q?= =?us-ascii?Q?EV7fU41Azdbxsb+/Ro87sv9sToKvh6jKlUZdVp/eiRKgq4HECsslDbseA5ff?= =?us-ascii?Q?1KYXetJ4mJapwDqzHGoYVUowqPa6VULyMgS1MNyNghsKR3/pmLUiGSt10Geq?= =?us-ascii?Q?Lqgd9l97k81Pa6hMqNtKsZyxAEatU+4nmNBSB59hQZzRkD1DW42ul8qpR4cD?= =?us-ascii?Q?EH7TCfpmXjuwdfspcDaFzH3a1uXFKL+xnCoz9Jpvi0iIVC23RR9T3Q8swKDx?= =?us-ascii?Q?yWz/AObt2jN2cm1bShix1ZuBG6idNdCMQ9OqZIyvKFXvnvTFqej+xXVybz6f?= =?us-ascii?Q?VE/otL5exOndBvJMtdQivLY3T+9XV/ESVY69QPn2YwX5fl/FqdJ9f/XubmdQ?= =?us-ascii?Q?KioMkE74v2su7tl6KxU3K27sYKv64+eoj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zCKsT4FBT09iyqhVD7dmh9+Y3xD7MXwAZ/6AanytM8noquNNaqa6DSEMdmTXfy2Lt3vS8aMIvTlOXSmn3TuIOOIpWrMk+334Sxcjd1HuKWZ8AiQREHzqfy6UhBpy178N78COoqbNsBND8cWnyjKIB9SMMdW+XZi+NymgO95O7FtFw+GW6gpEcEE5b+Z6oZvZKetg5y1XOOnLAXzvSw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2016 14:06:45.7745 (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: BY2PR0301MB1622 Subject: [dpdk-dev] [PATCH v3 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: Thu, 16 Jun 2016 14:06:49 -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 --- 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 bba8fea..5ec3d4e 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