From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0046.outbound.protection.outlook.com [104.47.36.46]) by dpdk.org (Postfix) with ESMTP id 572747CB8 for ; Mon, 10 Jul 2017 13:43:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OEeZW7HXCVKgx56d4OU6+iI9s2Zdh8E0OuZAUp51dyA=; b=HSTVEK3cfqarAoAksBzl2r7V5ajgNVsDZY0VPgW9h0WmbyGdCU2KCt8ycONg/UhNU+dbnjxpvfOEapHFPoPTofOW2ZPogkUyMtB+YQ9jTCTOjDSNilxS9DCXxkvUlUjT7G10K0x1nnYoKYTsbvNxuQDMe1vMvPo/h9VxfSkcLMc= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Mon, 10 Jul 2017 11:43:44 +0000 From: Santosh Shukla To: thomas@monjalon.net, dev@dpdk.org Cc: bruce.richardson@intel.com, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, stephen@networkplumber.org, maxime.coquelin@redhat.com, olivier.matz@6wind.com, Santosh Shukla Date: Mon, 10 Jul 2017 11:42:25 +0000 Message-Id: <20170710114235.18970-3-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> References: <20170608110513.22548-1-santosh.shukla@caviumnetworks.com> <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.144.150) To MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5effe212-555d-4cb6-3b53-08d4c788ed9d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3101; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3101; 3:/G59c+XG7qu8RqsJhuNKYRI09nRkfgdUU4nda1OFylXLwBSWwNv7I65sMO0iLv8kRwk0dArBp5OF4zeBfpikti55BLWsZqj9L/806uYU5iDtylH1T/XRxAQy964IC4EEnWkLfnoWUFs6jBFiceHg223CVFwrA8+OQ6v1yxJij2aUBqIIi8vv5BBs7qs6Onao+A5KTsBxKwVZMmfgRMZRLiTOr1dETqBobHOhxTxsHFz9mnuZSIBGHogbcTfo76MNYRka5MPEmfIjsd7DjNrhHeVonkEVDHIXyOo87UlYMZQlcBpHz4TrgiZHBJXNg5xMOzTGPaLl/SKTUsqYpAWlksSa2fh+gBAa7tGryeIJ+MYXOlBZJpmsMbwt8muH8c6AaLzNrsTyyYcA0TVJ7sWiTP/NzWwUpLbOLOEZ3cguG/auLYK0xvto48GFicFfBZJ8xbj1Gdg2c2xIKulivjZuTS71u5IPj095Y9gUOnGeqqTOAMVlM+y0qojjqBwVEMltWRK/b5pJYeNMzq3FAFkUOcwLX41xxQ7HiJojzG9Yr5eY96hZ9KZWF+DU1rrvIXmezJesCgC4hQ3Lec69wHnvfmCQzmtnPRV3gad4qwQ1RsTnGiQAP/xYrTj+i1VxgQt/7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qjMu00j0s7v7OBvHm6c9uVxx9KObnhTtlLLhK1oUvgh55BHeCEdCn8cQxypqejhMHUBAvzuwQC7IadpbGQVlNAiDq6N0XcYzr8MK7dQPsIeCm1E6UyEO3YGrZnadncJglA8nFMKWx4rNJjTC3rl/8Bgd5tonCqX3bx63vGJtTF1AQjqPHLqm6quc9a731nMCFuIQ/aMpkK7bGEznJUavIzrWm1TrJDMCck+Ap3VyeU4RTUURQOELRQ8KVbcpRAUCUknuk1cmuS+gUWD+rrONnAByZP/pb06oFMfI2B647fUr/1sEm6R7CQoFiDBTkorYNjSKFAM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(6041248)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3101; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3101; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 4:BuMHlw4HPpSMm7qTvOt6XaX5NCY3/9R90EgneF62yL?= =?us-ascii?Q?LXBlfFGk8WruYnTmj8hHqC+B4cxlsBKVE/Ks91+D0q0yI2yWc9359oUPxexl?= =?us-ascii?Q?BUqIJC7NXBHXB9Cak2A8WwpEvp8chOUSEkBJqw6/r31NaAJTPdmsqjjOUKcp?= =?us-ascii?Q?qIKr8moSRf8Iyc8/7TcxgpyNHt4goEiYfc8UKCFLZwY7+GyuFiUy4i/n8XdG?= =?us-ascii?Q?OjfHzI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dJ79IEicpDRZrY?= =?us-ascii?Q?SzSSuutJs466/2qSrdexfHKWYQdv7genJaurQB+b0KtgGjhymlI2z7S9SfOM?= =?us-ascii?Q?koIxKdSi3tpmKMdUVg88pi5JLqIPXKB0r1?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39410400002)(39840400002)(39400400002)(39850400002)(39450400003)(50466002)(5660300001)(7416002)(6116002)(50986999)(76176999)(50226002)(1076002)(48376002)(3846002)(305945005)(25786009)(6506006)(575784001)(189998001)(6486002)(7736002)(8676002)(4326008)(81166006)(2906002)(2950100002)(8656002)(42882006)(6666003)(36756003)(110136004)(42186005)(53936002)(38730400002)(33646002)(66066001)(478600001)(47776003)(7350300001)(5003940100001)(6512007)(72206003)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3101; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 23:4aPpW+5UnMvo2MYEb1lZ6UYhouS3K8xicezPpZGRP?= =?us-ascii?Q?w87rPsVaCydqpjLFgwcSsgsltECjGmFo/hroq+f8rjZgSFDZ2QT/bL/d42R/?= =?us-ascii?Q?6tWUrPyL84Afok01iAqSOcsj7sjEl6SvQi5HbCy4N3jyFDgdHOQ88oXixrrM?= =?us-ascii?Q?nVLV8QntcHtaUdykwu8kCjuUdeZht1zzW+Gb5s4XdNZTnxVJLhYMAotQd/Mh?= =?us-ascii?Q?eCIpnC0PaMU7kzEfNdyatCAPxZ1ccfZJSecm0pN4iPw2P949WhuLChVkrZ78?= =?us-ascii?Q?VW7dqKzsZ9CA9+JXLdg56wosVmmSpiOnOLESWnp06Osqbloc63ihuR/1IdWp?= =?us-ascii?Q?EMm0FIBUSU5JhisPHi6tsLhOjkXG9S53aWIU12ip7PbLTzIusIdvPrRIY023?= =?us-ascii?Q?16wJZCu/j9R5aZcQ2qsNK//LD8/x+OJmdTWZUMR2/M93dzuXpPgDZf2WP0q8?= =?us-ascii?Q?fkBSMOUJY3kkogoVxOj9B8rqcu2yEzyD+QSxebW0e0pOru2rKBkEKcbkAPoV?= =?us-ascii?Q?d+WaiB7Y+DsQ1+AkXDB0fG6nOb/7v7vnMzmAiR8OQ73E1PtxYZAvDnqrCPcP?= =?us-ascii?Q?pODja3fR5CsITZdrafVfXslq/q4PJRlH//FX6WUwuMTTgkhWiHImz48eZBCB?= =?us-ascii?Q?aXg4Aq6aQPpDd1p7TtBUnSlZXcspBLUCi0Nr0ph6JSE1jraLGhJ+PwrelPRT?= =?us-ascii?Q?L8r9ZbTjVB3Ho0ToyJFL2ufhG9pctsjdNFPQUdN5RJRGsuWjhX2h3VJK3h1t?= =?us-ascii?Q?1PkASarcY0edcpiBMRl/bpe6iYrR9UNoFu0dbobouCtIVWWoP6XSghTlhIHU?= =?us-ascii?Q?hY//yXqYNzI79aVdQYHwh5huo5v5ZGJibXkEdgFx/9BFW9wGJSIOCzHM7LeF?= =?us-ascii?Q?yZWloyWQvPnSiI1GSSj1AvDdRRWX8rhJTOl2+t2pB4THX/nD1CDlvYq74sfQ?= =?us-ascii?Q?PtgTp+lzXVDj9sQzAfk2GwKH4e4hJ9eM/81K1AIVasfieFDd98Po2PRm1U7p?= =?us-ascii?Q?By7PMew5YLIyPL8OTB8phXt+MtqzfO34CtB2TdBLR59Xx2iicEeXOBMdr1YP?= =?us-ascii?Q?1cxUaJei78j2mVGb2JwoZ8AlKaUROK8t4UiEgjKDHdZgqktSGdKskaBTg73P?= =?us-ascii?Q?bsgFKFlZhiOtfDUAfF1BdhZgDVQ40upRMLK7ggNbO6PVwArMQvO+SjOavEkY?= =?us-ascii?Q?tzTiFx0ajmUQP0=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 6:xP438wD/WtXuwi43PoM99Pq6BUAzvC5iscSf3x4t2d?= =?us-ascii?Q?czzrLLCWFR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QVRd5hkZhBQDBymzW/kgu9HX+BJu1c47sKlDyVym0T8wXx8dG39LunaD//6V/1DmVAqDlP6gaDaKWuHDsJCU3FjNgE60hWNDVti+chDG3F0Df5ELnLGSw/3Oi+kStNZhv1CsO0qrhpaWojbIXCmbQQ4e3QwWoCQ9U/8POeyL72PoYXBLsyRXCna3Kpo4qds9OTh3oq0aJh4lAwrp9gBddW8GBAvMkgLsRMX/oDIyP99IYWz89rQFZ8aMM8j1ULmBMzqKJhUtlLB6sfn8QDp3CWz0zBpi4OpzTgt4B9v4sW1E02as6h946oJE2+f5BujXEPOrzAulLR/Y0PEcgr34S4wpbUNF2UWNxIQ1G7ouBsKQm2mNSfwU08LW0pn++TfQzxGOcNr/x4KMfWeX92FIhkCARz7C55EOTjP1vLXYChsX5URfLo/fM10i290ECs+RJ/pZqyeaLoFceZSLijFs3TgK0ATPW5bG+lKaitczoF1PmANjcd21FzKgKm3pUrPUk+79k5ssnA6smqCpgizp1hVBumAqW0QHxnr4JdAejHN0aRppfzzqo07NDTMDfGLf4jz36hnJKfDQSYheFg+g= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 11:43:44.4014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3101 Subject: [dpdk-dev] [PATCH v2 02/12] eal/pci: export match function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 11:43:50 -0000 Export rte_pci_match() function as it needed in the followup patch. Signed-off-by: Santosh Shukla --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_pci.c | 10 +--------- lib/librte_eal/common/include/rte_pci.h | 15 +++++++++++++++ lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map index 381f895cd..8d43df0bb 100644 --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map @@ -200,6 +200,7 @@ DPDK_17.08 { rte_bus_find; rte_bus_find_by_device; rte_bus_find_by_name; + rte_pci_match; } DPDK_17.05; diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index 76bbcc853..8b6ecebd6 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -128,16 +128,8 @@ pci_unmap_resource(void *requested_addr, size_t size) /* * Match the PCI Driver and Device using the ID Table - * - * @param pci_drv - * PCI driver from which ID table would be extracted - * @param pci_dev - * PCI device to match against the driver - * @return - * 1 for successful match - * 0 for unsuccessful match */ -static int +int rte_pci_match(const struct rte_pci_driver *pci_drv, const struct rte_pci_device *pci_dev) { diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index ac79040dd..4a485674e 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -368,6 +368,21 @@ int rte_pci_scan(void); int rte_pci_probe(void); +/* + * Match the PCI Driver and Device using the ID Table + * + * @param pci_drv + * PCI driver from which ID table would be extracted + * @param pci_dev + * PCI device to match against the driver + * @return + * 1 for successful match + * 0 for unsuccessful match + */ +int +rte_pci_match(const struct rte_pci_driver *pci_drv, + const struct rte_pci_device *pci_dev); + /** * Map the PCI device resources in user space virtual memory address * diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index 0f9e009b6..c91dd44c4 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -205,6 +205,7 @@ DPDK_17.08 { rte_bus_find; rte_bus_find_by_device; rte_bus_find_by_name; + rte_pci_match; } DPDK_17.05; -- 2.13.0