From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0075.outbound.protection.outlook.com [104.47.38.75]) by dpdk.org (Postfix) with ESMTP id 921F2F957 for ; Tue, 17 Jan 2017 14:19:50 +0100 (CET) Received: from BN3PR0301CA0074.namprd03.prod.outlook.com (10.160.152.170) by CY1PR0301MB0747.namprd03.prod.outlook.com (10.160.159.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Tue, 17 Jan 2017 13:19:49 +0000 Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::166) by BN3PR0301CA0074.outlook.office365.com (2a01:111:e400:401e::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Tue, 17 Jan 2017 13:19:48 +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 BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Tue, 17 Jan 2017 13:19:48 +0000 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v0HDJ8mH021741; Tue, 17 Jan 2017 06:19:45 -0700 From: Hemant Agrawal To: CC: , , , , , , Hemant Agrawal Date: Wed, 18 Jan 2017 00:22:31 +0530 Message-ID: <1484679174-4174-11-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484679174-4174-1-git-send-email-hemant.agrawal@nxp.com> References: <1482988612-6638-1-git-send-email-shreyansh.jain@nxp.com> <1484679174-4174-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131291327888467094; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(7916002)(336005)(39850400002)(39450400003)(39410400002)(39400400002)(39840400002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(305945005)(5003940100001)(97736004)(47776003)(105606002)(6666003)(81166006)(106466001)(6916009)(77096006)(104016004)(626004)(189998001)(110136003)(48376002)(86362001)(356003)(575784001)(2950100002)(5660300001)(8676002)(33646002)(8656002)(2351001)(68736007)(36756003)(92566002)(2906002)(50466002)(50226002)(81156014)(85426001)(76176999)(50986999)(38730400001)(30001)(8936002)(54906002)(4326007)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0747; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:PkYFDfIe0zeBqWUfujjELgcKXcTwfwmdBXIHvFaDsrRbNhHtUcIPBpoHUikb1G0ajkVzE+BUAaN/7TpGNR+Rm8mKYudB2REP3Pc8F85l17wkPt8ZBf3iS4IevrZ8UcEd9tXrtYZD3PLDht9sTiP/LjyA16ats8TTWLLD+i2ZVj3ks33m4mn4Sv5/baSx/dh3+WfTN1tcPXf7Nme92IxXdVCNaT2gPMn06Ec9AFJ0/L4LLnD6c0tUAXXQ3n5zxEfixLl7LaZ7lFFcMePZZAItWwIHeveKEz7FqOI1R/LnrjNwo+LH5iVgmv+xERrpxu66R1/WIPO9Hiun1Uxo3XDfhJF8oJ0eXCyg1sgkbIWw8DouEjCLtczxyoW+ZC3VnNT2orFeCS9yn16TOv1yqwhbFBfKUEmo9Jr0zmUM7qMuk325YtNJq0+Xp3PotbJXfvmd86X28gNuVY6DWBBKKgqdWvQJgd9bxKnLVeOAnsKAx9U9dmohQ0pIsa/sUDNPCy84Q0wlxEyY2JwIaStH3Yc3/5UE7AZGdhjybDNn+jKnctqXPHz76ao+Y/mgSnijb+Y+1oSPois2XwHRlnnyZGKoP7UhtNtHegkEYVoRM25U6ewwcJ4GNtLR0TYtkKa65Acq43gJK+OjWT1sMPZPnk0c3qZIVI4wfCPJogas3oSgN+ADyu07z9UIlV/butY7MAhivSxaH4gk9sTcMSY9W9B2I5zYoZIe/cV4tsjopX8MW6fYHaBQd1xgw1qTEy0pEWAj MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3ffa8ef8-7c03-47c9-433b-08d43edb8356 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0747; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0747; 3:eCy3NtTQ32eFTLNYiwWaBhFbLRbR5qkZrb44OMF2i1QVGXBXgpKXhULDbqe1Gs+H1FG6t/s9DO7R6TvJ9/dbdRZFWoy+6Cuu7O7+Ru+pIp4SQilcbLGFqZFaeUfeT8lJgcli7z0UL1bp3EvG31Rl5uzVbrDSWCEkoxSss8Y0BSpPYlD/eyoisX8CCeteLKtLTDf2DKWKnnQMcu31aF2pTpJqkCzObr81dwPnRtSteeuN48xxpZDElekebZe1nw0zBS7KQb9hd7R9b5c6rnJ6oBjdf8PqnS/nDEoSiTVHHngWT/nXojLKqz4uyTYfHoy0D5/3VmKMvmtS1tu0usWXanuUr1Y024VendOTJYU5xePNoYSjwkeLj2GzOEqUf1Lx X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0747; 25:k36w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BxRgg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(5005006)(8121501046)(13017025)(13023025)(13024025)(13015025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123563025)(20161123556025)(20161123561025)(20161123559025); SRVR:CY1PR0301MB0747; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0747; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0747; 4:JnQkNoMYU9WcotBvnkTh2AfmVaXb6rdA3CEGVOKNSh15iuuulEhHQYOpv91kOg7IaSpCxkmtwQgj8Iae+rEC9QE6W2wgzcypNxSoCq8AY8rqV7ahYMtRUiV5JSS0SINv7M8PnhqU+d0aXNRX0ySFl8KL/XtXv0eweMy5q3VedBCJ5ZkZt4HpySDsUaDqlMubUHA+VdkD+u6zhNbcI2jtrS31LgVgjO4m6EfgyGiVAi1OVjJHhbJ828KQEpi3/SeyAyAMsHqIrWfmpeOBQ+1aVGGptcUmdvQmx1f89Cnpe/gYNbnOMJ4GoHXNlQYOX5fg9gXDbjDpOGEqmbroU2d+APSIdkVGehK7J9bIHOWTpX7Vg0TudvMixg5DC2EG6S6KpxzLXGXZKTvFqpIm0rNpI1C2a7eomaXyFNxen18VrQ89JSh73997zHr6Ws2/McGBV9zWosqy9qiyIKxnf5hCdIfUnAA4FgKJ88OFQiYVTsQs9VlVepndv7p8ObIk+M/AktedtqBj5xB8OjjR5kYZ03Wxqih9xbWy9eQye9rmbxn5BBii7aq6h1oEIfAbmw3eCA0pKq4XAoVIR3Mj7GELWEgqGJ3gXriDAsEIpdIkDVpYcfK4Ro3sAaR6KXX0A9Z8JbWtfkdAkbii4dnnDDOV6yvlPOChYmfi5FYTlGkkk+u5epx9n339nu1sXvkqE342ndE4/lPxsft6/FUsfqpEPlc2TCpCTPd+cCs29WTVJE3tMbVawvJfA7b5y0t6VIwd X-Forefront-PRVS: 01901B3451 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0747; 23:neZEK0UGYm7lsg+i9smaZb+7XPBN+DXntcGh2+I?= =?us-ascii?Q?G1rJ1CmIhfBDhek0Czb0dXE3WtDBq7nrivqW396Cxf8jF4QWyGdPF78y12+Q?= =?us-ascii?Q?nCnb7y/+6qfEmYcZL0aHWJrkngInm9FkYoF57swuv3sIt9DL9iIMmXGnVYtI?= =?us-ascii?Q?SgtJOwgUziTrdX5WnfN9OhGJBs7vqkWxMGFU5KKH0W6ludfskS8Pa8h/J8d/?= =?us-ascii?Q?95aC9Mkyx9lNFoXEJ6DwT8y5raBqUo7uIUsfpMgkaZEdKxBDscziAsJsvCxN?= =?us-ascii?Q?HSxZ2IlfjgvfD/YjH0lXklr8mdOSdaplZhcCaeiWv3/6HXOKyGQEmbZZrBOv?= =?us-ascii?Q?C0zxzaHNENeXpy0dXCAuqpgFKmUekCdK8EN6slW/u+8MgQKyn3ML4WHvlmyN?= =?us-ascii?Q?umVgSp/WzYrA+s10mR8jdFJ5jWo7PR45O+tlfeCKmjuYNWF/yUDr9j6xCC8X?= =?us-ascii?Q?dc88l2TSJfuD2H6do6OS7YBGeSXNvxXirDIT8YuH21WfCiGM7JO450YwTvo4?= =?us-ascii?Q?3RQ9HOwNi2Umc8/yKAoMD5ZlWoYvlq7iK8V6tplIneucML4kMzb0eqEzMbe2?= =?us-ascii?Q?igqdu6Sjvt9BHjatBqMvhM7rAJo1dCiqlTTblxitx7fyNTc9UJKuC1EpgWN1?= =?us-ascii?Q?0h3sh2JhslKFVi5McAd72Ywr2S0GQwGgUvNKA1tY2y3BgOrVuQYgs43gTtzz?= =?us-ascii?Q?jQpfVpuL5phVUGKG0n+j1wp/B5fwlKsQu4Ip+xRerjbljUsoi4aGNbU9ov2B?= =?us-ascii?Q?T4mOo8NDll+hwpSxtAo3FJ7iRhsat2jwLHg7v2QaNERXEfM5+8btCDXYnHqT?= =?us-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Gg/pvekaKiL0PwS+znpyeZX/jer4vuv7WY7w0b7VBUya9Ywcv0Fo9TSM+WCPDJ7tk9NCf3UkP2A6vNGXpwqqql1+woQc0cQNGuVt1QnnGszqFpkqbxY90luc0lVitcfECewznUjh8MkXI3DY/wKHhPWBqfVBjUp5I0UzPhNF8YdtOEhj; 5:CmIuq0kUKOf3o3f+578l875zMz2PNhNQ+V8b9jfMqWtlZSSwe8bm/hcQR9Nc2R3AGc7g+eTUJyl6Dm73weR9eR6t9zlnxOeOU4G+d6iXOtj0zvf9DJvknjnL/XTgJnGIZKaRoSNTpLR/mTr7NnFphlSiV4pKjK67WJLGXussVvujpxHqxHxxRNX167B2uvzM; 24:ZtY5KhRFstN2H2VpF8pX3bFEP/27T5k+vrqclI7NHCXWGDYnKLk9SGHGLpMWiCNk+jwIY0J13T5GhS23r/bZUZWq4LegHSN1ryZx+/dxBSg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0747; 7:2/nn+jR7atE7LhVj4guQcaq88gFL4QP+DAPxzbrP0YzirV7mDZ20zCOIvbdMIFygC0boPnwD2fd1IUDMgmpNqbMiiSWgAZWs/hyWo+QesEJfJHS0MmBnWbG7PSdMBeKHN7HQidm+ipLcO84w++JpFBKqycKgu/kwW5QdsckRK7tos+WuvO0x3wlnEoeuM3/6VzIkbbMW9RGwkQqZ/R8wyNX/QiQbaqKVf0kNpA/P1eEWdc8RJqYgGpE7S6hfJ5ujHbEu4xIpv8yS1oM3Cq7uiBG1hf6IcvQUv1xo4tgkntEVaZjfvjtHQAblJhdRkLsm5n2tA2IVfTIomzBkYms66af8aXSIJl9wab9I4FIk7HyRNkeohHJQo7ObX5w9xgySEYOdgyMe5/gOjTO943Tcuhia19o5iA1VHUngYHCQOpnl0a0ysNx24mulM4s9erETOf+UhCqRLZLkuay37ql/VQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 13:19:48.6595 (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: CY1PR0301MB0747 Subject: [dpdk-dev] [PATCHv4 10/33] eal/vfio: adding vfio utility functions in map file 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: Tue, 17 Jan 2017 13:19:51 -0000 adding extra vfio utility functions to map file. They will be used by other vfio supported buses like fslmc bus for NXP DPAA2 devices Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 +++ lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map index f9ec086..847c6ca 100644 --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map @@ -183,5 +183,8 @@ DPDK_17.02 { rte_bus_probe; rte_bus_scan; rte_pci_match; + vfio_get_container_fd; + vfio_get_group_fd; + vfio_get_group_no; } DPDK_16.11; diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index f0e63c3..ae03028 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -187,5 +187,8 @@ DPDK_17.02 { rte_bus_probe; rte_bus_scan; rte_pci_match; + vfio_get_container_fd; + vfio_get_group_fd; + vfio_get_group_no; } DPDK_16.11; -- 1.9.1