From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0055.outbound.protection.outlook.com [207.46.100.55]) by dpdk.org (Postfix) with ESMTP id BF2F5B464 for ; Tue, 21 Jun 2016 14:02:54 +0200 (CEST) Received: from BN3PR0301CA0015.namprd03.prod.outlook.com (10.160.180.153) by BY2PR0301MB1621.namprd03.prod.outlook.com (10.163.28.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Tue, 21 Jun 2016 12:02:53 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::130) by BN3PR0301CA0015.outlook.office365.com (2a01:111:e400:4000::25) 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; Tue, 21 Jun 2016 12:02:53 +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 BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (TLS) id 15.1.517.7 via Frontend Transport; Tue, 21 Jun 2016 12:02:52 +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 u5LC2TDL004076; Tue, 21 Jun 2016 05:02:50 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 21 Jun 2016 17:32:33 +0530 Message-ID: <1466510566-9240-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> References: <1454076516-21591-1-git-send-email-david.marchand@6wind.com> <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131109841729513574; (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)(1109001)(1110001)(339900001)(199003)(189002)(6806005)(69596002)(85426001)(19580405001)(104016004)(19580395003)(33646002)(92566002)(36756003)(5003940100001)(68736007)(356003)(8676002)(81166006)(81156014)(11100500001)(7846002)(47776003)(105606002)(106466001)(229853001)(8936002)(586003)(2351001)(48376002)(189998001)(76176999)(97736004)(110136002)(50986999)(50226002)(50466002)(2950100001)(77096005)(4326007)(87936001)(2906002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1621; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:7dcFsZNpMg9ittEk1G1QowOeJzqQi868uGUJHx9I4m7+wfavBlOG0lPG4jMWRPWKHlsCS2J2dvnYhf8pgtLHyBy12YyPsasaBkGfTVZznzM4QQoCzclN/lnWbohGLWlfwICxFuKhDy2+xqnreDYgonNOzxNQkAuWW16EjGM6QlFe9BIJb8VztmYoTgKoJGsvdFhU5QZpBUsL/8H/0lmjbblvyOfcVGRTXW98PBtH30AZ7S3juElD/Xub9bej5WaaVfU6Wgd5PK8vR7ybTHhfO07mAkcFgfdAvx3d2wTceprGeQ7OVMl2vEfajNmIyCNJrLhYFiT2UhHOMy/7V5aLi7oiX45AR6DZwNahHtvnOjkbFIt6k/MJCwyIxU0pLGoY2l7AIKPAtH1WEE8KH1fk1aEN1+U+gXcDhNenE7GdpmFbrqEX+nORYLff8166b4HN17Lv0YzHkXQBd1ZYMjqr65bw/WeNN+H0Gn4qbEUqawl0iqfyACFAyAG40JxLsgB9m3vYsHRFLOS+9BwR2k+yZ3Ec4CdI6B8UpvRI6BilL3Z7lepu/jP3OMFyP8d8C0IV0eyEQHupYPo5yMyu/zV0lA== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: c45ded76-df43-4fac-fc0f-08d399cbf939 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1621; 2:HwXhq/NiSarCrbEEzdcJESXoe0G+QgPC8u5ht/1IiON9MG1TwVcsPV5cmsQdjmRiXUWkl6DxZ4Ti1ODambvXB0yXVDDlNPkBZEqF5uJPjk5Evv39WX1MUxVicJ0Xoit6nSV+7/MiXARdqXDTdPqn4ruj/YTsH7F4Rjoz8Su8prB4L/VkZTV4F2wVuqjIQibV; 3:XMUndhBiH5/dP0h9vv7StnqsaysEdixX+p2rgUZZUChs0RsyNoB6NwLaoXUJvPNgcP8Lr3NovBMCYfYCu2h3MH6hxtPxmpzKfDb0AEb2jjJjEFUyfWcgAwSDl7YStiVeztS3gyCJmyJ12ADE9RsxXp/rxT0EN4+G+1MGq0D9jFmeGoSqQZE9mQrw0FrbRwkRKJyKa2sxElsIakwFQgpp0QFxIxjspdVhWAg9N++49ws= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1621; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1621; 25:QL/4cFyrvF9CRjkbggj0OQbBksBsMhjzIxjXmp6m9vdEp6I4Yd5OWZZ4WPdLX/n8rcfz9+oD4QmQ9EBDM9UuUXppPOk/drYRcLpSTaieqZ2IHfdzZTn8GMUsp4H90LCaZZNwKoHwSc24juNv72U/XvM83xoyLxlwaa1AGXFxlrYItR5noZTIs0LB/l/iUj52/3Zff5+hjZWR3aAtNflVGkVjwEjaQ5SEN/6gUPWPVP7YJhr7zWPKX+HpB+fCn7DAJ3YQvPKBVV9rcmgjl+8QbQOI1uT/PLmtZ2TsUdXNe7H5Fb2apnaUYQz7Q8+qM2wHuoIxw/1YnlgypwlnJfp1S6zq93uqn2frN+AFZugpDFk5WPCi++KYYoGpcii1zLqUIyCpxzgl8BE1rfwc6Wlv4bEPP9L1EAKSbdEVE0E1LpvCS4TSH1FSg+29omFQ5ugv4he5iMnr0Rq3vgLBlsRFF6NubkQuGfIvZLCnn70OBjuHrJmn/JguhL3tsXdEazDbRB0/fdQnzy4HqIC7P2C+95mu1n5PQcZjDkftMOsZM18bsvq1PkHGSXsXkNIHMj56wXzMvI/L77L19LFBqtVVpUzt4WRUSBdo4rQLIS5mFGdOQzjGsNrrJjU0uVNoYLV+y1D2P1sDuv0GB3Vn7hvd97T82UfTPXzgzW6kdMaX2DRLl5vDZawLy0+B6+rRwwX7j6etLwziqrZgh4PbJBQau7Eibq+fLIAJkj1Eg6qzk8DJ20XhH2mb9mHXnZIRXxWi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13017025)(13024025)(13023025)(13015025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB1621; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB1621; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1621; 4:gMgDGF3bWUB8LRuFQuXu7ZpYLn6CQCbcaImvkADWsrnsLWyg8U/PK4mA0qWIGBRgoOGjmy9s6Lub8Zcm5t+EiaJGE+IO6dRpnM0fI/gETUjufUL1SCK2DC4+6ZpUgxAVHrNZOhOr/QVJBUGWOnDAAT+4eGnSGOgWVWoGoWTVSnegXyDBxoKxdEyQ5/hfM0xcAH4ccSsx3saRQXhW83Rw+prsTbaS/bK+XhisVOxHAfIRx26pQWfekVDKXQ7oJ+ZXcGfEkVzoRhg6pdO/UyjZBDbDHrM6BMEdNKgqiTLlhrsARgB9rT1NWrj1wzzzALoJqay/8wGitTisNgGpBoM5efV/4PDy4BmRI8wgIwpC9BMGUPOzrfM8DnRxGp/Ey9QBAp9DZbJqCgFi6IXHAL3rdo0D0oX8ysVw72Y5YkanTHJgJRH0ByHNCCEU4KU5MUL9JNVz6aGV+APBA53PiGoEZhvJu/a09FtVWBOI5FUoHKwcdVrDsZg2fv4e5LuNRcACQ4fIQWvzXSL3l4eEjBpuSQ== X-Forefront-PRVS: 098076C36C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1621; 23:BGFIXg6hnvsQUEr+xtLDxePFUt6ctvmfPgHQrkK?= =?us-ascii?Q?nvvAB93EJHjMODFRy9GLFe+CCygJ/ABCAS5Px2og+wf69VOuLD/5rARGcdJy?= =?us-ascii?Q?CgySL8TDD58of9ZOsql8QR1pYM/2DHV0YmJ0iFbGK79qAVG6DyplUIIhR3T/?= =?us-ascii?Q?3aL3o/p5JaBUx8Kppt2C/5WqjGBB3sFjRP/CJnsCgs1SGckD2Z9QLk/D2621?= =?us-ascii?Q?rKYtqXWY7MjqjdFsb7bt/aPsAlT6DC1yqIE48eplbmo4qiO5iSlvhuTbz+0u?= =?us-ascii?Q?GsoO3Ub7wzptupM9BxdViOjW1Tt3IrXy2a7eT1U4HiFzwf6USJZQPkDIH9ek?= =?us-ascii?Q?O94bzv5MsbQJFRdspkygFX3TZpSZIEGS1b866XtX5gc2xgomjHXemGiD9vYu?= =?us-ascii?Q?PHRb67ZUPMJxNUr98yASNIawoAUBsJfEg4TgBlFG4Hw2dEdxjsfGC54b/9t4?= =?us-ascii?Q?Mi/D4PHjzTXgQ9z2Cqc6qNu43Xw0SlkeEK8oYfWxHyECu7ml8lPC79FmadT9?= =?us-ascii?Q?SYvz7BvMoue0ud50RT4wLMMcShWAQo7u4GI9bQPSfx72TlUfmoLG2lJxj75x?= =?us-ascii?Q?EOZ8Haa4vwb/4j8l/Y3ILCR/F4TAO2DQi93UQtrJkI5WRTfXndE7/xo7WXO3?= =?us-ascii?Q?HeiXdU1/ERiv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w81a3nxn4d/DROl4IpEdE3MPewop3u5oZw=; 24:EuyFby6obvjDaq3qjvI3gSc9xIZQFFXsLJtoDg4jN+McLF7CoBMBMiJ3hnxdSD6Tc7SsWpot3qlU7QaKPsYsGCCB5QB7dzS+jpjTCFsb0To=; 7:DUOYvlIDOknnSgmslQ+xDu4HI+byldUGROn1sB5GW0HIZtaZEFDVXlBwkvCajDLq19wwOxvYjyhRJ66/SQ753VjdmrLoMMiwZSEeAsv3egTSZ88MXyoJ7JjRK7TpKqfqkg441acSzj014xyUIHrojikRsXiaEmd1HNpDvCDyKZMxnLBNZuB20axTZf2jkKFWGVOIThyizG9WaSoKuobxji3aNeZbIl1ChZZXmziMd6rBN6ECcV0N4p43H3taysde SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 12:02:52.7017 (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: BY2PR0301MB1621 Subject: [dpdk-dev] [PATCH v4 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, 21 Jun 2016 12:02:55 -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