From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0060.outbound.protection.outlook.com [104.47.41.60]) by dpdk.org (Postfix) with ESMTP id 972EF4CE4 for ; Fri, 16 Sep 2016 06:31:26 +0200 (CEST) Received: from BLUPR0301CA0030.namprd03.prod.outlook.com (10.162.113.168) by MWHPR03MB2448.namprd03.prod.outlook.com (10.169.200.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.619.10; Fri, 16 Sep 2016 04:31:25 +0000 Received: from BL2FFO11FD062.protection.gbl (2a01:111:f400:7c09::174) by BLUPR0301CA0030.outlook.office365.com (2a01:111:e400:5259::40) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.629.8 via Frontend Transport; Fri, 16 Sep 2016 04:31:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD062.mail.protection.outlook.com (10.173.161.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.619.6 via Frontend Transport; Fri, 16 Sep 2016 04:31:24 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8G4Trfi029256; Thu, 15 Sep 2016 21:31:21 -0700 From: Shreyansh Jain To: CC: , David Marchand , , Thomas Monjalon , Shreyansh Jain Date: Fri, 16 Sep 2016 09:59:37 +0530 Message-ID: <1474000200-16705-3-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474000200-16705-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1474000200-16705-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131184738847643120; (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)(305945005)(50466002)(68736007)(47776003)(104016004)(50226002)(8936002)(2906002)(36756003)(5660300001)(77096005)(86362001)(586003)(81156014)(50986999)(8676002)(8666005)(76176999)(7846002)(85426001)(110136003)(87936001)(189998001)(48376002)(97736004)(11100500001)(5003940100001)(81166006)(626004)(19580395003)(19580405001)(33646002)(105606002)(2351001)(106466001)(92566002)(356003)(229853001)(2950100001)(4326007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2448; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD062; 1:GZizJBPcQJL/y31W/1RKXJLIwN1QP5JEmD05vA1KX9DJ3VsUpTf+3WjYxxeKErQs69j+FXGv1nDTU6qn2FtnkZtedoKlXfh0RVCaxNagUeXJY15qMzw9ebwlqQDNaXOBoGRTN6wa8FoYJUvIsXextCLTGH7oXY3WDV3f3awNxOxf/n7UWkaBvl2aQuXwNY06adlCcEdbvpTj4lNOLVAIiAEsM6dtHJ9/RvZd+l6C5l3kYGTi7rpXD/2VUTi2Eoehv204snF8pcMyLu2H+gqyTJ1L+8V5lsSdZ/+uK7YV6gnPPKrt+oVaGavm2UfwAxjB3PnHE6c1W5zILYVtspnmgT2ZHqAxmerZtCMrZ56Y4ANwuKMRM46SmioMwL6TBW8as4k+2Qm/u9woSOE1ssgzH6ziJWjbo1ciylhfpkl4lgoUfvlW8NYl6sEH+oUMNEPLNfFGnVvtzBCleUvfMV30DdVutN6LseJUS7XLN2BnqBq/qVJ4GJddCSq8dKQIFBTskSfBu8Mn+OVmgguvuMV/oUG/NY5IH5PY4ZkCEL5iqO4QoKF1tDQ0cV4SyJ0blHNnZFkEVyTlkkcqMg/2DieNNfqd7Ch3T0gQqjoOSFZcJBqg3DNQwABC93d8KM5vy3BrORTkt7ZYHvKx3uI7EYGK9KYKJFTyZIswfCIYR7I1M4X4nZ8vo3uhiNQtBJrbrvmTOuAVvJyRW9Bzhb6qlLTNtKVJAoaEcJO0ekLznlfcGGg= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d823cb6f-c001-4c84-55f0-08d3ddea516e X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2448; 2:Lnyn5JVaBRJuOPcY6/7jnF28xvbgj6qZCXJmphHhBrzlzZktvXkzv9mY6NSewKsB2xGoumUNYETA8fqJapwq0UvdiIQ9TwLUiELHPw4PmIO5aktwTFcktr+9VPi9O0RtxIJWqqJLFeq5WUA644l9wztNhCVDKsyEHIR8qWFNhEvxoPzbRqWJtaVatAcDoGay; 3:98Xe+EuNxuu1ufITW3E6BYhbN9+075BjD/Oh6Oe+DXtJRGNrogCNrB0+84ZxGor8A6GoSoLRGLr7yzMM0PuugEfus2ecKaxcgANhRpLvIcSZMFXYeKqG3Mn2zTMK04NRmFqQ8U8AHIqBKGisozLe6zU7xWfrDNbm38mG9wu4jHZ0InqZhuxOp08FbK5SjbILzf+BOHIMXvy3yDAGfUB8JVlbNVHGnNt8/zcmPX8UFII= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:MWHPR03MB2448; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2448; 25:8MwcmPkTYW8sOrZ6hzdwKZT/y5yW8IW1X/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blgX8wKdDKWaJYi5/3Msm/KvrsZWCMsXNbusOEm7Isv5qNZ+6Y1t8x7YEOFaVbmOnXWO0zYGMz+MtijOYMWELix4OejlPoYFvxY1k1P0W2sKcoRRxKpzdFqrUsZjWAy6RogzGUQA4+ZxTZGbriDEbr5iG8xBYQWYzTpECvkV45JWIRdVgCfWRKHjBLrR3sCOhom4Ycfg3r9LhtC3TQnur5CBTgtHq0Mars4wxaVJ2DXyHqNNsEQfM9vg2N0mFbe3jfK8EABSW/Zkxyvtt/KV4eDamWmDvf56eSRBPdDix8TWbLm4RsiDnrqxopdKQgXMTwDN0MkOoi8PvKp4Lo5HbK8/igpT0PSLmG4vcSvMzCTTTXJ1quIRxzCe73ubWh7pGCEUEY80WJWRY9F5m0DLfhcqg5VPVYxaKhMS3A96HVcOn3Nu3HAZ37okDLOk5c= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(8121501046)(5005006)(13017025)(13018025)(13023025)(13024025)(10201501046)(3002001)(6055026); SRVR:MWHPR03MB2448; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2448; X-Forefront-PRVS: 0067A8BA2A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2448; 23:CPCnNOdDDWJxqXz3PvANQ8+3eQsHniVPOsxeHocRz?= =?us-ascii?Q?NRwDdMek0w3mDBBGGocskG5mrFEnH4UU+uD9Qk6KtTxiQjYA6cKog2rxVlw9?= =?us-ascii?Q?ry7WE9OfRtyffiBDrXfWm6+2fm2VeBR2ZGJsANxaUxnCqxPl8PEfh8IoN2No?= =?us-ascii?Q?hr8ZF88+tJFY1mLRS7HUyl5B0PHdxDqQ4702W4ecGizgJRxL3WoCgz1HTpCR?= =?us-ascii?Q?3dcUPDz0vDDfIfc4n/VB7ahR3ryNuJysbmPWRLnqZPuyLxOhRlvwBsh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fcJTQHOpB63x573BIBDvGHQKE8OkKHBw/u4XbL?= =?us-ascii?Q?jegSieCckrPbOY=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2448; 6:B90lz5N0ZkSzF4Imw2B7FQJRJ/T5Kmq6Qk+l/1os5XLEzZ5AwT2g3d0PTQMy1lAZC49hV3hOJOBGl3iI1ERK4qZucAMvfs4UZX0mZqZMSqb+yVIaIXAy46uaCk/TnMUYotoF/KQGm6eQDNBDSH41qWzpzU9z2ISWNEL/IyUbEgRD9t81uG3O/pYKqjZ5kmxOx6SegcbtWnHV5mVbEtw+XaRBkkrTTCdcajTuWyimv7xbP19BEx8Dnz89YCdzeiWvd03oLOasb0lpf/7pW314bcbHmJBAtw/JpIvkTguG91c=; 5:11qC0rt6Y8ur/RPsO4bgtKckaSmWof044Q6VCV6p/tlFaGgd+/r8TxA7s6SXFMGHlXc0+paEhdKo/lVGRytjq45jMlbH2yAsoVwYZbSki1qqXWEySp3xdiRKSHj0ZBlPb4gt8JzE7bd9diAXwMRjYsYqXUcpZBbtQNZgHExFJeQ=; 24:xLeWBUuNR46mY0rxYBpQyr2I4vX7qsinSgS1aQOEaPSk8dFT5wC27uYNl7gK8RR73hpkasJvpiEPPNrBHE1yUuOyRvTqtqeZjZ9x4GAo0B8=; 7:NwkRPGLiIQiWpdu9/XVWAZi64vjoM3CKvCvsefa+I0A/gGV31/EEjeV5ZPLh/3xnVPtk5bcTtGHCDVPzp6GD9GYDFT5GgZspmsQFiDfYeWI9ZTxxVETX8qvh1pxJ3lJUpGrqQ+pslWAmAhaPfmQRNl/NvRBx1fk3HLhxWsmYTIh1dvk/2NTKww0YbPfWxRbyuxPWLBcSRffeMC+ce2zECcS1qXdnE8qoIEvxiA54zv8IQXKC4ivuLg9jAfFTdDbN SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2016 04:31:24.5927 (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: MWHPR03MB2448 Subject: [dpdk-dev] [PATCH v10 02/25] 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: Fri, 16 Sep 2016 04:31:27 -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 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 19f7535..ca1aec6 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -237,13 +237,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 d5b81a3..9412983 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