From patchwork Fri Jan 20 21:04:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9529463 Return-Path: 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 72BED6020B for ; Fri, 20 Jan 2017 21:21:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63CAC286CF for ; Fri, 20 Jan 2017 21:21:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5790D286D4; Fri, 20 Jan 2017 21:21:24 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 B796D286CF for ; Fri, 20 Jan 2017 21:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752321AbdATVVW (ORCPT ); Fri, 20 Jan 2017 16:21:22 -0500 Received: from mail-cys01nam02on0065.outbound.protection.outlook.com ([104.47.37.65]:57760 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752291AbdATVVM (ORCPT ); Fri, 20 Jan 2017 16:21:12 -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=NHxbMwsu5jhOXd8zvJ/6UNSkGAxMM96xwNYVVLCPjOY=; b=bnfgXvcZW84H1l0679QDGiNgnOKkNg+pByJETN/sToihOWksL4J/LWoM1eqZZpgaX6CpxI+COCoxVtKfcp7ZTcOaVuhI943RSQe4fUPF/xAFbBH5GgzRu5BfxksSPuICqbt/RcsZUmNEp3e5WTBNee3XxVHsb4n1iLt+NcvuxBs= Received: from MWHPR02CA0009.namprd02.prod.outlook.com (10.168.209.147) by BY2PR02MB043.namprd02.prod.outlook.com (10.242.44.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 20 Jan 2017 21:04:49 +0000 Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::188) by MWHPR02CA0009.outlook.office365.com (2603:10b6:300:4b::19) 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; Fri, 20 Jan 2017 21:04:49 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; 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 BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) 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; Fri, 20 Jan 2017 21:04:49 +0000 Received: from MILHUBIP04.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 20.D8.01420.24972885; Fri, 20 Jan 2017 12:55:30 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 20 Jan 2017 13:04:41 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-5c-588279420f7c Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id D0.43.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Moni Shoua Subject: [PATCH v3 29/37] IB/rxe: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:29 -0800 Message-ID: <20170120210437.26389-30-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170120210437.26389-1-bart.vanassche@sandisk.com> References: <20170120210437.26389-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsXCddJ5ka5TZVOEwbMtVhYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZT+c/Yy44z13Rdn4PewPj E84uRk4OCQETiW2LL7N3MXJxCAksZZK4272HBcLZxijxZ+8NFpiqHxe7mSASmxklzpx4CJZg EzCS+PZ+JpgtIqAmsenVInYQm1mgUOLE5RmsILawgJvEmQsvmUBsFgFVienrJoPFeQUcJN7M +coMsUBeYlfbRbA4J1D80+U+RhBbSMBe4vjlp+wQNd9YJGbMc4LoFZQ4OfMJC8QuCYmDL14w Q9SrS5xcMp9pAqPQLCRls5CULWBkWsUolpuZU5ybnlpgaKJXnJiXklmcrZecn7uJERLGhTsY X9/2PsQowMGoxMOrENAUIcSaWFZcmXuIUYKDWUmE9zUwCoR4UxIrq1KL8uOLSnNSiw8xSnOw KInzXoz+GCYkkJ5YkpqdmlqQWgSTZeLglGpgdNyrHbz/95mznQ6J8/7ah9ZN71By7Dh8ZV1i 9h6nTybNxfw3usSeli58vSxzx7t1EyVkVlyvCHomOtVc9be3pVXl0+idV//Itc8SuXd9+sfW NU65Ic/C23LO894qv8El9n9p2JNlVSUKPwp2FjiEKGrwWPmeNs4Qt368zEDy0269ykeMKYtv K7EUZyQaajEXFScCALvCUglfAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDJMWRmVeSWpSXmKPExsXCtZEjRTezuinC4N0ycYuDP9sYLV6e/8Bq 8exQL4vFhvdr2B1YPJ5NP8zk8X7fVTaPaWvOM3l83iQXwBLFZZOSmpNZllqkb5fAlfF0/jPm gvPcFW3n97A3MD7h7GLk5JAQMJH4cbGbqYuRi0NIYCOjxLVF3YwgCTYBI4lv72eygNgiAmoS m14tYgexmQUKJXZ/+wYWFxZwkzhz4SUTiM0ioCoxfd1kVhCbV8BB4u/jncwQC+QldrVdBItz AsU/Xe4Dmy8kYC9x/PJT9gmM3AsYGVYxiuVm5hTnpmcWGBrqFSfmpWQWZ+sl5+duYgT7nzNy B+PTieaHGJk4OKUaGJc5GC+6JiswOX+d4FQZs6n67yet2W1k+vTzDoeSHjc/h18azY9P/I7I 1cyWV8rx6OzaKvvU/VFZ7rlw3QK/SzMdEx/+3L3hmdbk7a7M09p7/0R1Mn4InXL21f4Nn2/E Mp3/06D9LoNxc2xYgPCxIubNad/35D338ghJm1h969/zktL6zgCl5UosxRmJhlrMRcWJAOsy 9YSvAQAA MIME-Version: 1.0 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)(39450400003)(39410400002)(39850400002)(39860400002)(39840400002)(2980300002)(438002)(199003)(189002)(48376002)(50466002)(47776003)(6666003)(8936002)(86362001)(356003)(2950100002)(50226002)(6916009)(2270400002)(4326007)(36756003)(53936002)(189998001)(92566002)(8676002)(69596002)(5003940100001)(110136003)(81156014)(97736004)(68736007)(81166006)(2906002)(54906002)(626004)(106466001)(5660300001)(76176999)(1076002)(305945005)(77096006)(33646002)(50986999)(38730400001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB043; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD019; 1:BRYQKC1JcGwsC0HuB+X3/avBUXAkj91QfHn4twLSgjWvf6xwiyi7NSJQ1Xf6kedhbJXPrR8uGHjXoP1926KpQI3qUqHXnGWsJ2tFVWsmnvTn8xBPwVN3Jh994mDh/lhA4Wdubsqf8kSF5bvPOO10AeMsljOuPRwwHObI2COTkRZU1Wl9Rj1m+zhkr2WnXMvRswMCUu/aFHri+fAv96KAHu3baLUbDW2EOhPtUagjle67lb/02TBEI0fyU+HJ5dUiup4LAznac+CmaSVxF9mlVTNv6sAoviWheh1bY0bgN6ZkYow8eHiPN4dJcv3yvdD07fUGqaL68m4vbC4Vnm8jl+ySmzg/Fr+PqeMceTqbMNhzhgO6iToFzH7MXytwcT5cu0s7v1M6bptK4x60koTJ6GCpqa/5BvJ9sD+dpLneMKCz4D6bWiK+2Gx814tPgjWc/riCFPJQ1QGTUg7XWRS2VKM7/esc9MDPOJb96jYEYSU= X-MS-Office365-Filtering-Correlation-Id: af860b84-bc76-4be5-accb-08d44177f8c4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB043; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 3:ScvyBk5kfeszblqouX04M1qj2T/mmYwNaX02Nt8OxAmmqvnMkLXme6sPLdedKZmFYCmhW1Vinr9mWidtc9Y3LdBvaMORUh7SaUoQ9mx9TboNmlV2hkaW8tkQ4f0XwxW6akmTwKfVv4nEuAPjEEsyD/mZco0P5f9sBCw0PSqyKJchOu0lnocnebAnCLks04hsZxehNtQKNRmFST8bc0LwH2BXasRPfj+chqGvPe6FO2Ww4vZ3YfwYbQ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mi4wEP1X0pvQMkVcvRD7aNU1NFIe7+PyZL55g6e34oj2S4B6+YwMWE2PzytJLMccynEWwZl6339IR+zIPPW1CVUDQySILQgzT+3bCFo2biKGlB2Yz5I9eXZwZIuFdHIWjBdgINrktHuEWxMKn72g+V+Rd3L1dkW5K8QIr/Weo6s2r+sgJQts38sUhqYYYv+9UKE55m44j1nAV2vZWL1GY/ql2fKjEny+iP9hgnea61xYOBYNmER2SMlkljiRxISDQXODUw==; 20:41rKgW8qAKi0+ZE5097dpLQ0GJoZFb81HaZGXuCN5jCpgVfdkjPLJW5Hs9HZMm/3uwo/vNawSYy/QoDH42uQKh9CcLY0OVWD3ORPzz+W1xbXI6w4kZt9gufBszaPhTLIiw79CliFDi3sBHrc7y+Pr0SOc2RpUCqsFR6BdAKoW+urEGWgFOOb6+SRgbO95zHE7UgmAKaJOd4eyep5cXzZlX7gr6mx2N8hdysOBoStCFRPmo1Al6XiJ9G2cBNO1NB/F1NpVULAExZJhGYcPYVHgsvEtV9oJegGJ4v4AmmUY9aUvDanhw4C/i3jo6PVikp6SBmNjTJOEgNz28Bs8meyBinsh+f1f3z5rCFpTb2CJYgQJmCMbd/hxWxN6ARFLksx6llK0U37f5I5aqLR8DJsQUBBqZa/uKdEiXZkrhhTWrtVCAwY5OJU+ZMLL8ZSNONZ4/sb7XRsJ8lf1PZSxF2Rn1Pf7wmhcpuAlLs6gpTYecm3gnpH9pWB5D0iPT03P6DL X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:BY2PR02MB043; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB043; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 4:MyR2ptUEamrnnqKbnhgF3C4f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F7WGn+RP4z484QUVLdRhuw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 6:nqWNBCtnAyr4+M+i8Udirk1r0V97oBO5f1Sh3ImolM+aioNnBcslN5sCiR/71Ne6Cl1Vh5E5BECDKXyYYNelpLUv/nW5RnqQ7+hiL3jQuAH4aTYr+IpQj5wDW1Yi6nvGSqMlm7fHeJGugPogJzOxzSYgRmq0CqyrAMWi+45PxT6rTkZsI4dTTSG1QkspsG+qYotwcJ6nG57JrlGAd1nIYZPiwnRxKKWkmpuN0LF3O54DrK1MGCAoLaWIJ/YNnEIgU3R97USzPAYuZGRLqDf0Yj/zQySi/4Aj8xiJIfKTBTV8lADVb2ZCBeo2Uno840O86tXWE26IMNjwC/8ZqCQDEwOLFRTxAnt4+tS8cdgOiwZ5Pm/inOe/Utu2xAvgGmlTEZUhXO7s0GUQsCDYOtsBnwkY1xC89MDUGZZGmMES1DVf+MhLNytgtXKmYcKYsnskkmnifbr0rYMZph2AoDcHrA==; 5:QzsoWw9OYmjMDibgW2k3R3wFaWu83cmSO2dxkcrPkSpUOmGv6NPhiBjOkfoEtiUETCbtyU7sUsMFEiv7PWcVNojMg6DA/QKnwGNNBUammlnjzs/LDmDg11jQE0bBDDtbu4eKFJc8qKhsNDE+IaK99A==; 24:YKdMLeMUirxdj/ndSfJU3doW/9HHz0O2xppDF61R2mUVgVOPyn3s0WQn/J15/W87BCr6MaPWX68P5axciYAZh5nQd0QaNGDFX16MsQ0gNqI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 7:1z9NfTZcEY4fIY+VacQaXobkuV83kWU3A4sGkxD+yVitunrEx0woFvhKaZCIiPBTnCuv+1htBSfO3E251H9Q2wctkulxnWiQnJdjW++DJ4RG6D6QREoJUPyQwFly0+YWdCDwro2VSQOTwN/t4ctYBQSd7dzskHeQmUFH/5uGDk25zXqFxG2jAxDpmE/beOOHqJLJf4t/Low6sHa8ZEoMKowU2O5ngoa61V6EiYo3qxtKbrRPLQt9smfXK+PNV3XRkWyVVhdIh3R3Sw6KDNxL2K0VJQQuqte0z5H+upSGf5de/ihnsFusueaof+srECFAN+DzkIpCcuYquEn839pn2zvxs1rpnDbQPrRtNUD7796NyIhxKgBB5guC2i/4X+KD8+thRpXU7A3lWfPZKBdgeI684C8McD9HVjhAU2qQmjCQhS0/PDzcygh7TNRWPTj4AYTzaN15zatcgFIhmYYKPA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:49.6167 (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: BY2PR02MB043 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche Cc: Moni Shoua Reviewed-by: Andrew Boyer --- drivers/infiniband/sw/rxe/rxe_verbs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c index beb7021ff18a..b707fc3bca2a 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.c +++ b/drivers/infiniband/sw/rxe/rxe_verbs.c @@ -168,7 +168,7 @@ static int rxe_query_pkey(struct ib_device *device, struct rxe_port *port; if (unlikely(port_num != 1)) { - dev_warn(device->dma_device, "invalid port_num = %d\n", + dev_warn(device->dev.parent, "invalid port_num = %d\n", port_num); goto err1; } @@ -176,7 +176,7 @@ static int rxe_query_pkey(struct ib_device *device, port = &rxe->port; if (unlikely(index >= port->attr.pkey_tbl_len)) { - dev_warn(device->dma_device, "invalid index = %d\n", + dev_warn(device->dev.parent, "invalid index = %d\n", index); goto err1; } @@ -1234,7 +1234,7 @@ int rxe_register_device(struct rxe_dev *rxe) dev->node_type = RDMA_NODE_IB_CA; dev->phys_port_cnt = 1; dev->num_comp_vectors = RXE_NUM_COMP_VECTORS; - dev->dma_device = rxe->ifc_ops->dma_device(rxe); + dev->dev.parent = rxe->ifc_ops->dma_device(rxe); dev->local_dma_lkey = 0; dev->node_guid = rxe->ifc_ops->node_guid(rxe); dev->dma_ops = &rxe_dma_mapping_ops;