Message ID | 20170112190718.6728-16-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 55EA6601E5 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 12 Jan 2017 19:09:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4709928712 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 12 Jan 2017 19:09:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B5FC28713; Thu, 12 Jan 2017 19:09:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, URIBL_BLACK autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93536286DB for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 12 Jan 2017 19:09:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751150AbdALTIj (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Thu, 12 Jan 2017 14:08:39 -0500 Received: from mail-co1nam03on0062.outbound.protection.outlook.com ([104.47.40.62]:43072 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750922AbdALTIK (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Thu, 12 Jan 2017 14:08:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TnR3riMN6CGBcABjTGuxd7CiPzqyXBXo6FZ0Yohyl8E=; b=JhhfGcJ1g3Q2RgDuNcTfGve6hymW4RxRFBRasn5rZPrZIZbbA0knekUY8VkRuWWOERjt9dcvdbUKtJkngV+F1K1xnO8gkmTO+7Z3o2U0eWqWuUI3FCsyOGbLzDRvuDqHQGgjxBFSXB65VmWI4tQHIuONE+09dr5A9nS4oKwcbA4= Received: from BN1PR02CA0013.namprd02.prod.outlook.com (10.141.56.13) by DM2PR02MB1418.namprd02.prod.outlook.com (10.161.143.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Thu, 12 Jan 2017 19:08:07 +0000 Received: from BY2FFO11FD023.protection.gbl (2a01:111:f400:7c0c::122) by BN1PR02CA0013.outlook.office365.com (2a01:111:e400:2a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Thu, 12 Jan 2017 19:08:06 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BY2FFO11FD023.mail.protection.outlook.com (10.1.15.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Thu, 12 Jan 2017 19:08:05 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id D1.7B.01420.5F1D7785; Thu, 12 Jan 2017 10:59:01 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Thu, 12 Jan 2017 11:07:58 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-cc-5877d1f55512 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 9D.DF.09762.E04D7785; Thu, 12 Jan 2017 11:07:58 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, Bart Van Assche <bart.vanassche@sandisk.com> Subject: [PATCH v2 15/26] IB/mlx5: Inline ib_dma_map_*() functions Date: Thu, 12 Jan 2017 11:07:07 -0800 Message-ID: <20170112190718.6728-16-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170112190718.6728-1-bart.vanassche@sandisk.com> References: <20170112190718.6728-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsXCddJ5ke7Xi+URBpOPCVu8PP+B1aJ58Xo2 i8u75rBZPDvUy+LA4rF/7hp2j/f7rrJ5fN4kF8AcxWWTkpqTWZZapG+XwJWx/tYrloIz3BUP miawNDBe5uxi5OSQEDCROHfkMXsXIxeHkMBSJonr6y6zgCSEBLYxSpx9kgJTNONuLwtE0UZG iSWH3oMVsQkYSXx7PxPMFhFQk9j0ahHYJGaBxYwS7aeXMYMkhAWcJN51n2IFsVkEVCXWnzsI FucVsJd4v34tG8QGeYldbRfBajiB4t/+X2KEuMJOYteB/2CbJQS+sUh0znnNBtEsKHFy5hOw zcwCEhIHX7xghmhQlzi5ZD7TBEahWUjKZiEpW8DItIpRLDczpzg3PbXA0ESvODEvJbM4Wy85 P3cTIySkC3cwvr7tfYhRgINRiYd3h01ZhBBrYllxZe4hRgkOZiUR3lnnyyOEeFMSK6tSi/Lj i0pzUosPMUpzsCiJ816M/hgmJJCeWJKanZpakFoEk2Xi4JRqYMw3FLedPq/yEmPavsiVgb4n ntj4Tbj1iGVz7vspGnUT2mMrey7stbKu/n2IKzSoXeSi4bHEv7fvflp+mL3iWJMXt8DDz9m3 tqismp7L42O1NrtistSzi1cv3a0ytLhgeGtJ6e3bUuIuK4+WKkT177JgCL6Sd977U7Sow/7N U0LnzD2a+MzJVE6JpTgj0VCLuag4EQAn5PjsZQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAJMWRmVeSWpSXmKPExsXCtZGTTZfvSnmEwYYpJhYHf7YxWrw8/4HV onnxejaLy7vmsFk8O9TL4sDqsX/uGnaP9/uusnlMW3OeyePzJrkAligum5TUnMyy1CJ9uwSu jPW3XrEUnOGueNA0gaWB8TJnFyMnh4SAicSMu70sILaQwHpGiV83TUFsNgEjiW/vZ4LFRQTU JDa9WsQOYjMLLGSUmPhLCsQWFnCSeNd9ihXEZhFQlVh/7iAziM0rYC9x6ucGJoj58hK72i6C 1XACxb/9v8QIsctOYteB/ywTGLkXMDKsYhTLzcwpzk3PLDA00itOzEvJLM7WS87P3cQICYOo HYzXJ5ofYmTi4JRqYDRlcwvLYvm5p8mO5dG08n37jG98fXK2aAlrgMT7+DOrp2oK9TKsru23 +53nZsGzMzY/6q392qAwfWX7LzH6sx90cjYa35w0eZ2zRo5UqPsX9o7bcaenSEpOcihc+az9 rOLmOZEzVO928tTen2L1Z/Lfvid7WhXZ1YuePlRNSrl9O1RmwscHtUosxRmJhlrMRcWJADAN 7LOzAQAA MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39840400002)(39450400003)(39410400002)(39850400002)(2980300002)(438002)(199003)(189002)(8936002)(50986999)(1076002)(47776003)(8676002)(36756003)(76176999)(92566002)(33646002)(54906002)(2906002)(106466001)(107886002)(189998001)(68736007)(81166006)(81156014)(97736004)(626004)(48376002)(6916009)(110136003)(2270400002)(6666003)(2950100002)(50466002)(5660300001)(69596002)(4326007)(77096006)(86362001)(356003)(38730400001)(4001430100002)(50226002)(5003940100001)(305945005)(50929005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1418; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD023; 1:gZM/MB6iGAnJwAW3140l+BIRkcXt0c2Y1TfnPQUEOLwyNpM54DOgTD48RDXbzviQzs3gUNaPQy0JZ3Q5RRqTrW2sB/KLoPJSprn6zSsN0rRzttCwtzNbENWWQNLn2oA5yN2vI4wb8oTvMeh8TJJ+Tteqk7J2sQIg/nLI3LNx3KZZn/mQgfZLbdeY+kwarw0dHZby3+TAtrgJI9CCbHkR9Dj0Bl/saL5r1itRAHJrHeqHnp/LHV3MN2Aq2+/67Cc6sve6RhOkzcJqFmGTPoR8a/zk5BhZ9xdzl/18GZozftm5zIztSToFGmL/rFXAhZO6i7XAnYjQKX3IQNOzamkL6rDYHoyAVdaYMLZiiglqy7F9iG5mQxbv/dshcnBiKHmympYWbMEEux0CIfosT9twIBz6rVk1oaQdBtUWfHzcu+Peo0aPIFfx0dEbpO6G1/Lf4eWpINp12xE2C3z5Yzucgf2EF7sR/iWVWndE2eA4w+wmNG52Xw4PtcyE0ye/n0nG X-MS-Office365-Filtering-Correlation-Id: e5ab14d9-75ad-4eab-2ecf-08d43b1e56f4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001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u+mM4Js6qAIHO7pTIetMfG5armTccatb0IPLsRx21Q4m X-Microsoft-Antispam-PRVS: <DM2PR02MB14188F6BDE18FBB8642941E781790@DM2PR02MB1418.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(235219596079481); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(2002001)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148); SRVR:DM2PR02MB1418; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1418; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1418; 4:jDpl3FwYeuGa6EzIjrlX//bOedt25Lttpc2ulyvB5QZq/fFYvfHvX5mHtZl+Q66Iu6XxTMqTtEvM00IGLRVglnlUuYSoknZgpv0FtUunvwim1NJ6fSazzRZZs4YM8KPwMxQLBb6xRlD0CZE2Fw5vki8tXk9wDFpzAWPnwy+2idRdJSof+jONLr2GlZVCLdIXZtTzM85lnS6QF4GcJpHHQukbpfQDydK9PISq9hxDua+F1z4EmMRzI3lBDckjmxf15SJ0IkdEh41o45FC9RnpeTxCYx6DV8VsyC9qOQylenT5vrgVbMjPV9I3rKocnhOs/+7WzcOzQTEkV0CCbRCWND/W/GYVAiwToOjiBNEw1pxZT0wr/vYf4rjMkhvQNvFOuP0mNanEmVg8LHWoJ6zYQZnWkyb0OBx9x+TgAYU+ld2J2fsEwpMXznX9NohKe3bEO3M9wOL1rTkBXVbnwZ7LEf/zmFMuSZ/phkSmrPsY1YBVpOz+Vxzn/BoF2eSX+cGmVGRnDg0reBm8thrnAaDorWgqq0l0UmKGLrJjT2TzB9aJCWxb/wTD1l0TXWSIFy4E1qoeC97MqTdJtt8WTsjpUOEjUQ2+u+dCgW1HRrJ/5ZPOO/qAzQSekC1DBKyvFzq2jpDAwl2Yzb1rju/aIdbMtpYj+yEMWxSg7BmP3D/wPbTt7bQyVfO7Uzju8TXBsmkvscaAdeHvPlZgXdCC/tIIM0nGww/OkGXPZP+QcYYNh78= X-Forefront-PRVS: 018577E36E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1418; 23:05/2+WzEf9ia+MVLXUaGSxurtiy/g2CQMDuGJnJ+h?= =?us-ascii?Q?UD88cAvOkGQL1rpcDRFiH9g6Pao0wqEhjca7Tc6os2w3uoabfnjQnLVLKSuA?= =?us-ascii?Q?aZrWzeJ7V6j4LEopZvHAXCo2YPD5CTuhy0j9StM0KovjqFO/6Z1tp79A7Xo6?= =?us-ascii?Q?QoJ/PvVBEa3ojfclwJbavBjIYadOvp+tDZw59mIAbjm1O2ugQTnKVnNczowr?= =?us-ascii?Q?5tdwR/KjurmCeq4LRQc1Kw+YbBHyQIbwvnQLoCJjlvZaAQiNv7VOvn8040mm?= =?us-ascii?Q?hvoWmx7GDWhQA0JqoGeyyksCbCogiZsAG9qgoNqueuVbyYFDFmUSY8SI+96Z?= =?us-ascii?Q?XHxn2joTy9hN3iDeNsKBx65UUlG2+EJxyRbUog7pxP+GZEeD5gBCkVi8ppl2?= =?us-ascii?Q?NDqDXAlWrJ8o/zlt9ydnh5ICtFklUXfLGM9lAK1hz57n6OOm4BJEZrqjdIAj?= =?us-ascii?Q?hU/LTeUXUrJSK0ma7Yasb3nJE9KF2Md4TpuhLkufcleLRpyoYuYcbezvS9kt?= =?us-ascii?Q?XB7vS5dWV3MQFWUVFUXlk7ShuRSMsabTMtO9Gt+nqszS5uXCg+WorEuYya4X?= =?us-ascii?Q?fDXTvFY4FirOKAup026Phi2pnhqBG0dTn/lSSzQ8vHBJs+hE76FlaxFvzDtO?= =?us-ascii?Q?P3113neqpzqD6BnovoVkDuHYF7VYeutz1vkhCJhcxjXhtycaKUnH9JKarApF?= =?us-ascii?Q?ZpYhAI7MLOXKV3kUyE5QlaCqOoH3zdxQ6LaNECQeMmUGTXQztgb4LcjIXL2X?= =?us-ascii?Q?9l74M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Au2YPbYOrr7gim9X6ADXxSIayOdKnA0a0KgEBKGaexoBBCA73rfJ8emILU1Z9DBgsDTMLiUcDlvw24axHQOA0C/RGw1cApEo1y+lQLIDOowiaJcPt5GbRSiHRPgGlPzKfSPXMlfKu0EuBkNwEQ==; 24:Z7I372KEiNYysEjbJVQ3wSFM0F2MOCoyJVTG7eiinRJJ0Em/vV+KRKf65ndcjK0HvuZBrBFnK80HQNpcPczIg8JPiDmrTkRWrjDmRnxgOi4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1418; 7:VLOq5dqyoyCS1truOwMzT2cAbRvU67OIrhvSWc5UgVpUCF6XmhFe9LPr0lwx13aSy1ckCp9PPJgwd/gXT3nM6G2jhyIzqr98LCRkLTqyQvuoDFfpwJRSpBAb11ilE1qqw7NSUKmFEIglEGco8eMTo2zqCcdd2UMgFW5gnZgReykf4J1HnwPbR02qcGIMxNDlOHP09aEOQ8+Vl0vTkmVkCE6HmQishqP1bZctyqnT1bqlURY+40DYVQvPQ8RVIRqOjNm5HiGK6eQqhN1tt39olMuND0P+bXuGxgyLavjkN7DrXJ8HANUoABZOJ1KhtmBeNjIaHxsIeGHsed0Ev17H3KKqLNX2qb6i+MCokkukzDysyfldZxpV02tvBu8B+xS0KgxU8C7c1qddAgr3oikPdmSitSdvSGzU3O+DbSjSrCi+Tm98EJ0PtTU6uxxA6twCcj21udDqUUPaZpo9gbT59g== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 19:08:05.7019 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1418 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/hw/mlx5/mr.c b/drivers/infiniband/hw/mlx5/mr.c index 00175191fdc6..4d3daef6d859 100644 --- a/drivers/infiniband/hw/mlx5/mr.c +++ b/drivers/infiniband/hw/mlx5/mr.c @@ -1865,9 +1865,9 @@ int mlx5_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, mr->ndescs = 0; - ib_dma_sync_single_for_cpu(ibmr->device, mr->desc_map, - mr->desc_size * mr->max_descs, - DMA_TO_DEVICE); + dma_sync_single_for_cpu(ibmr->device->dma_device, mr->desc_map, + mr->desc_size * mr->max_descs, + DMA_TO_DEVICE); if (mr->access_mode == MLX5_MKC_ACCESS_MODE_KLMS) n = mlx5_ib_sg_to_klms(mr, sg, sg_nents, sg_offset); @@ -1875,9 +1875,9 @@ int mlx5_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, n = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, mlx5_set_page); - ib_dma_sync_single_for_device(ibmr->device, mr->desc_map, - mr->desc_size * mr->max_descs, - DMA_TO_DEVICE); + dma_sync_single_for_device(ibmr->device->dma_device, mr->desc_map, + mr->desc_size * mr->max_descs, + DMA_TO_DEVICE); return n; }