From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0089.outbound.protection.outlook.com [104.47.37.89]) by dpdk.org (Postfix) with ESMTP id 593238DAD for ; Wed, 7 Sep 2016 16:09:43 +0200 (CEST) Received: from DM2PR03CA0046.namprd03.prod.outlook.com (10.141.96.45) by CY1PR0301MB2011.namprd03.prod.outlook.com (10.164.2.17) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Wed, 7 Sep 2016 14:09:42 +0000 Received: from BY2FFO11FD040.protection.gbl (2a01:111:f400:7c0c::105) by DM2PR03CA0046.outlook.office365.com (2a01:111:e400:2428::45) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Wed, 7 Sep 2016 14:09:42 +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 BY2FFO11FD040.mail.protection.outlook.com (10.1.14.225) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Wed, 7 Sep 2016 14:09:41 +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 u87E8BCl013556; Wed, 7 Sep 2016 07:09:39 -0700 From: Shreyansh Jain To: CC: , Shreyansh Jain , "David Marchand" Date: Wed, 7 Sep 2016 19:37:54 +0530 Message-ID: <1473257297-7221-3-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131177309818981590; (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)(1110001)(1109001)(339900001)(199003)(189002)(47776003)(19580405001)(2906002)(189998001)(50226002)(105606002)(106466001)(19580395003)(4326007)(586003)(68736007)(50986999)(76176999)(229853001)(36756003)(2351001)(110136002)(48376002)(104016004)(305945005)(97736004)(11100500001)(33646002)(5003940100001)(50466002)(86362001)(77096005)(92566002)(2950100001)(8936002)(87936001)(8676002)(81156014)(81166006)(8666005)(356003)(85426001)(5660300001)(7846002)(626004)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB2011; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD040; 1:Zv58WZLfnDgNnK1+ljr0xdtQaD8KsT8MvBdaNM67ioQj2GT9Tn5HUGXYhEjBp+SocMtp3niFSgYihC7JxiajOVAIiDuXRKkTAEckA3YhuZEMcJ6T1DLyQWGhQsGjC1JJHdXcoz6K5wGbiFDDnmSl0RkiMnDTjCraT79QbakZbld//lfEnXnOxuwchwN0wT3RD6kmZOSnzJrxM+EP6g1DbyvCC0K42Ufq9mIzLjd+XManuaLE7LaodyPv128rpzEX1Rsdo98gXOXOH94feaRw/aoggLrSIRUB4y7WFmH1CtWdVxHS9jnMAj1q4gHMhdvVhkn6ZJBrBiAkdiEEhRKmo+3ddMhvoI5+qy6eHM+1Za0B+Thcvg97zVCgawDCzcCRF5n6bkIgbB2YKvGtt8Y6HhBkhAH3X1C4C53d9gPRMGKHvVCPV8n+YcpZIa5NJZQjC1xjqUR065vKy7ajSt3icmlljdPtfGFIkTdlZSw04d3xIM98xHhAlu2CD0JdKAFsZYiO2fKtlDdxAZcUZz/fvVCga7kMPT5sedoJNXOCMZBF9zdDDsHVEk1hcFnGKUUN7JyUYppfGYip2o9laVQw2JtQfLdI81uW+CsaH13WgIE6KT6m6OXPFTIsSITCZmB4 MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 93a7e240-dd65-48d5-a06d-08d3d7289cbb X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB2011; 2:lj8NdMqffYodeoz8P2+bhlquYwv7X9cNMHdJ5+Tob0Ao02C4ikDYVXtwyjuxb5feVfPq3OSmjndh08LDryQ6cXVT7kjfqVGxXP34FwuJ3gCHbxvau0cVsX0Em1cjL0s+1UwY2r3tCAS3WLbVeI8E83fV3DGvw3RByrPIFY9T8q3ZCRrr3aor4NjYb6lh6PCe; 3:ufrVGuPOfVqZhSM/uNyDZvPPG223lWuNi7VDzPdLOXKF+ymj8hXuJp3wg/N8BnsgT+s0Ewbdi97bNPIQmsNwZRDF/WXZ/gWaJVIGxTa8+7MGPtUAvO7CARJClaC+3U2EEO6PReQHKcCMfM75hnJ4+FfQHdoQTB4WC0KeY5VNV2iCHdlOeY5h3TsHPuFBvNPlcPtkXv9oZObn3W/WrGf715R57u+DJlk2JLbgLKYp8Yg=; 25:1uaHoEkwY9rRZkWgGFP10i8dpb98tPaiHNBdtzhp1mWyRroMUzl+sSc6diaCKSagkwfhk/Q7zNFCPwcMOl2WnyJlkUZhzSqydElxTqR5IFZzV36rYetrPAC0VPg+fC85JIwRSEQPSXN/CnOjm5RQbsqCD1IKB7+RaPR/QdOHgQoQLuP1LXzgIm4ylm70DZnpCOm0+kov0RCT7xgRtA6Flbyjx2T2OinMkqff262Kd9mFAX29/kNvbGRs+7ya8HpASuPb6YrcRnDYH7t3sNT+V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-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(13015025)(13023025)(13024025)(13018025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB2011; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB2011; X-Forefront-PRVS: 0058ABBBC7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB2011; 23:1KhpzmqG6pj5VJw09tOfyKUCTEUjsYod7F84rf0?= =?us-ascii?Q?OXyDttl72m0St+kOC0np/3n662ty2kDIF7t50y+JO5XyCwitvbu9MjkWx1MG?= =?us-ascii?Q?lkEYWX3Pfv3gAGiueITolTNA/iv0pMQ/mfy6xhdJjHdfofE35xd4Qg8GysZj?= =?us-ascii?Q?JGnM8Z1U+e/KRUc/OaAErdliLXQqaBP/vxxhFETRmkROxi5wBGL4FDODq2Gr?= =?us-ascii?Q?Iz0CghodFKFPa69gpgIwkh2h5ckZLjh70xpdvJ0ElWI7eTEYuo3mR+5HzVRE?= =?us-ascii?Q?sEwDP8ISnvGGRp8c6dnj8ZLyCj4+gX20w4b4deVZlf4dORvmR40HYCdYwjij?= =?us-ascii?Q?oeck2A3Fh9kX1X71PcOuX+wp5vjctGp8P1bN3xV/53c+9XjjM/yAun1y5QoT?= =?us-ascii?Q?UsIRcaem4WeRl7k8Hm/BoiaDbYsYqWHUiF2LS7xt9LOzS944jX960kWE5P2M?= =?us-ascii?Q?DvregIyPUdv5gJe6Wbycp0/1TgYIijwUZ9UJTnKHHZnCemO6NxKIVwWavJqS?= =?us-ascii?Q?5cP6lsu1jbQKk93gz7H6AiqURK8QGRHT7xKQj8+n+BdwCYm0NTTVXzrSXq+z?= =?us-ascii?Q?pSdg3MF7mEQBn4sKMNDO5QovpHO54fduoRSClpGwM7XypTt4yY2nqv6plqkA?= =?us-ascii?Q?qhWLooHPDm0s8z+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5GRyaAhwK5b26UEaQ6H2UJ01jk/ZY2bgITsxxz+UVPNnbSHLuMKoIZMMs97+kvReHH6qB+72/J15IfvIykchMFGQLINx/qJ0I5r8Csc2TE=; 24:pchOxUUNRTFE+ZEpeXpQbgh0DXKdTptfPFHA8mjlkSCEkZk20qgOTCBrvjbVXSES/ZFY4GPZ3y/Z3/PP0E0uIAHpinmIBrZvnn/vL9WQK50=; 7:EqWGMt/3P9IK0CEQVv9V9XIv+I57s+aHF/aLilOJh95n5g9EdHxwl3oJZt5rihCY1v6m63RTG5rr2dg3ABqSV3BTLDFOU9sCrXzk6ogV4xAbc7pCyQhpvBJp8OmJLZhzfuQXYZnmEobHMtn39tl0OYiCleSQsL7w6HS2SmY0seHWTuf9UjhAcGikPdXk+kv44P/cZUo910HtwX40bbuWoyauOTTnX37T/eNraCgg9IKDgzkNvOYP2FNNRZS7Sdpm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2016 14:09:41.5705 (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: CY1PR0301MB2011 Subject: [dpdk-dev] [PATCH v9 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: Wed, 07 Sep 2016 14:09:43 -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 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