From patchwork Fri Jan 20 21:04:15 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: 9529489 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 4D4FC60113 for ; Fri, 20 Jan 2017 21:21:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4150C286CD for ; Fri, 20 Jan 2017 21:21:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35A03286D3; Fri, 20 Jan 2017 21:21:51 +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 3E87F286D4 for ; Fri, 20 Jan 2017 21:21:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752536AbdATVVk (ORCPT ); Fri, 20 Jan 2017 16:21:40 -0500 Received: from mail-co1nam03on0085.outbound.protection.outlook.com ([104.47.40.85]:19072 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752266AbdATVVP (ORCPT ); Fri, 20 Jan 2017 16:21:15 -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=3t4M2VJ8PU+luDcxu7qERxJqoEZv1neZ5FYzrmnyXpc=; b=N/6XH5I05waRazyAIQXLLhv0bbpxdMsnD4OYyNsNv5dlSQmJ0F0Cj0hu/eM6exrSEOmg77eyRAB48RDHbQfoSEQTY00+WGf694pwoUt4jlcpHAx9UfZbnOwGvj2veCXm+iDY/RdnKb0m8FGHGxFDs2Pdwmk2/j1xX3xpcK0adKQ= Received: from BY1PR0201CA0039.namprd02.prod.outlook.com (10.160.191.177) by BN1PR02MB038.namprd02.prod.outlook.com (10.242.210.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Fri, 20 Jan 2017 21:04:47 +0000 Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::172) by BY1PR0201CA0039.outlook.office365.com (2a01:111:e400:4814::49) 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:47 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; chelsio.com; dkim=none (message not signed) header.d=none;chelsio.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) 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:47 +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 A8.B8.65426.DA872885; Fri, 20 Jan 2017 12:53:01 -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: 0ac94369-b62949800001ff92-29-588278ad009b Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 2C.33.16817.86B72885; Fri, 20 Jan 2017 13:04:40 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Steve Wise Subject: [PATCH v3 15/37] IB/cxgb3: Set dev.parent instead of dma_device Date: Fri, 20 Jan 2017 13:04:15 -0800 Message-ID: <20170120210437.26389-16-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+NgFjrNLMWRmVeSWpSXmKPExsXCddJ5ke7aiqYIg4nHDC1env/AavHsUC+L xZd5uQ7MHk93zGH1eL/vKpvH501yAcxRXDYpqTmZZalF+nYJXBkv/i5hKfjAXnFtfStTA+Nf ti5GTg4JAROJnwfWAtlcHEICS5kknt5cwwjhbGOU+LP3BgtM1eLHi1ggEpsZJZ5MnccKkmAT MJL49n4mWJGIgJrEpleL2EFsZoECiZ7epUBjOTiEBTwk3u8uAQmzCKhK7L7zA2wzr4CDxIET P1gh5stL7Gq7CGZzAsU/Xe5jBLGFBOwljl9+yg6yV0LgG4vE6s93GSGaBSVOznzCArFLQuLg ixfMEA3qEieXzGeawCg0C0nZLCRlCxiZVjGK5WbmFOempxYYmuoVJ+alZBZn6yXn525ihARx 5g7Gu0+8DzEKcDAq8fAqBDRFCLEmlhVX5h5ilOBgVhLhfV0JFOJNSaysSi3Kjy8qzUktPsQo zcGiJM7rdu9LmJBAemJJanZqakFqEUyWiYNTqoHRVcop4u3/JTHPdqvfYg3SELA56Wvx6+jr A00y6RmWm7M3elx4d1852f9FROhxdVaBI8eTGMtanqeePXHdTqA8J79ryoUrZ9RWJDX9fBr9 6oJNSxSn0r6bSU4fBDnqpx07HRY1T/xxQvNko8wLVpcZJB5cbKgU2r1kwgTzT6xLNG3tJTK8 nJuUWIozEg21mIuKEwHwGSqUXgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJMWRmVeSWpSXmKPExsXCtZEjRTejuinC4PNEPYuDP9sYLV6e/8Bq 8exQL4vFl3m5DiweT3fMYfV4v+8qm8e0NeeZPD5vkgtgieKySUnNySxLLdK3S+DKePF3CUvB B/aKa+tbmRoY/7J1MXJySAiYSCx+vIili5GLQ0hgI6PEz44tYAk2ASOJb+9nsoDYIgJqEpte LWIHsZkFCiT+XzoJFOfgEBbwkHi/uwQkzCKgKrH7zg+wVl4BB4n9N68zQsyXl9jVdpEVxOYE in+63AcWFxKwlzh++Sn7BEbuBYwMqxjFcjNzinPTMwsMDfWKE/NSMouz9ZLzczcxgn3PGbmD 8elE80OMTBycUg2MhZ+YI5p/723sO7ikuKck+ZuRXYST9q4/83NWvmK5Pblya1OOvc8ei9Lt s/3y7/kuEj/46MmdyWkyjiVc0q9KbZcXGkq0aomohBbbHPslvXjax+aWGO+3Gnlrju97dfTg O8cpMmlOR/mb7LlPr5r9IDfjRv4/Ju5+yejN9kaR4Y25YcE7Dl9WYinOSDTUYi4qTgQAAuUl 7q0BAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39850400002)(39860400002)(39840400002)(39450400003)(39410400002)(2980300002)(438002)(189002)(199003)(106466001)(50986999)(4326007)(2906002)(189998001)(33646002)(77096006)(38730400001)(47776003)(76176999)(54906002)(5003940100001)(626004)(2950100002)(2270400002)(92566002)(53936002)(6666003)(1076002)(305945005)(68736007)(97736004)(69596002)(110136003)(6916009)(8676002)(356003)(48376002)(81166006)(86362001)(36756003)(8936002)(50226002)(50466002)(5660300001)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB038; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD041; 1:tQBKq16vxlT6xeCGUkvjT0RPRaHstyeyeQ6kYcl+JG2f5e8/EMzGBkSNp+J3sHv+SDUCRGGdrQMaYTynbqcLbIJg45VbKDRFKr8OLEArPqNL2JfPF0+XbUlzvcxw/Ny5Z9EIHMVjtQAtR9kCeCQHAjz97H9PPWQvVNHxWK1mfIFJr75dbSim2u4NLU/c4U3wJIpQ9Tnj+ZhsiczKXju3kRarMumxrLMGQDd7dJTpl9OB/L//BMj8bG9UV0PUNr8f6xDm0EtPCz4FbK1a5/OeU6Y5ToO0hld3F6BEPIQ7Bxd1OX2vOSjBTJltSdv9Rok32iePax5fWVMx3J3BjHH9KxLw75gvsZz5UX48JQSSZVEoVMvihcS2vXA9t3svRCx4i9yeQ9nMSB/e65+yKjSkiSKkL/SKZzaZ36x44jIVzPbWXAWm1ESw8i6TQXaf1kTLAuggxp2trs+y4BznI0lLaq5oJb995tpFPIvpg2ID0asOKr6a2/EAixG9tH/kxhN1 X-MS-Office365-Filtering-Correlation-Id: c83e21b3-1af5-4d0b-afe1-08d44177f765 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN1PR02MB038; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB038; 3:5pu+uNWG6Y4WwZe82hKERHdn5eo7x87OePiDOn1JN9fpTNYEBJ1nK89mHeVgByi1XU4A2p8VKsimRPcWWrPu8NuyTAunHXeAPifXvmAH5TzFzF4HmuIZrzA7inmWhTn8p0z+kAua1SDmrP9LXEuCtpBik6KDfiEBgF3gaxl694HW1w0X42Q3THa08AVv2g8L7uVHlhmq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n0OrmG3kIYWKms/Ma2wR/OhWR+io90pEf7rbTNBNTcy7ehuPkD/GYfeXQxgE+EhvDb1rvTNc1dU2WiqqvNs/JITvxUCg5ZT16IfC+z84u9Sps05IdGMsF6yeh6+ySQAXF5eTwljjr41F0kMQfyW05VJuk6HGbhoekaDHjmVvFhrtR7Xql/2ggj+MKIajA5BTm2My/gfi2qUYIm0YaRILR3MDgld4NEn9hufDsq2NtB9wANOIctDDihnsZyJk6vPAqejcg/MCCJ4BU15HE7hUaPWIVPp8qHrSLIWFlMrT8c/fj9QHTqgdF/UBEterhcFJQDUBowk+1S1BiC3S3OxOfya40kzERsYhAfuWi5KoJaR3s2QbrhTs+vGcMifxB9rjZJ6/Wp5Sqbsy63WWOUHxTqcE5jUI/hEBZIHmCkkDhC2FBFfnUzck 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)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN1PR02MB038; BCL:0; PCL:0; RULEID:; SRVR:BN1PR02MB038; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB038; 4:r0cjrKa/yLa1oFR8c08U9z5WkrW4/uvjJIHBRcLDmtsCkX1+H/5RziLsPZUR/qYIdxZ8HcYH6oNOpsXp+y+Foy4pyuBg7AXmr70qxBLk9i2FfUmjon7MytxZwbB2BLOWuUvZXoOHHdSJJn0TpO+rikfbpPa3ZeC3F3+2j9GDDPh3On5gmJyGUAlhpPnugMtvz6Z1ou2BCJCpbBAThp6TLS+9ejTv/q1j3H38fjI0wAs32LzLq6D72zwlnynvM3st6X/XK/ldf0fNzr5onxLvW5+Y48efm+fyWBlBc7uCEUlpbU2S//4lLxbOtHGfo/9fJCrzDYBDQtaY0f0sVxx9tdiUVsuWQC4d3B78waJpOk5InafT2V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P49ev3ojAaIDZCoZCboRkaNTNbrkRDdQ+VEccWC5bp7JRX3v9h7t01TYwyiRsCTV+2iuKqF/iiSN5Zw0MYReyB8dJG11FTn8KKMne8pPLJyvY5U5qFa9p+ovK6Au4ywtTkJKI7Ilbt3/PjsvZIp7G5hQb4TkNeoTymWZbVBu67ECo6TvFWGBOUr1EDDlgxDyc4LSuhTQ==; 5:GfX8rg5oo8v0iL0HuzyyRaRzb6D5VdAvppzuM9NV+3B0LleyPYxxRevLgwsRiiXtb4hIRSF9GqWh1xEJ7viU5rDtSGDHegZYsWnSXj33mANdOYuj9uL5hDp+92jOgHzKDyBj3kf+RnoChVCeSkjyCA==; 24:dE2lf3BnRgs04S/ksl/qGAhSuMjWrd64DeLRqyOFHFFya1ZsEtQ0lkOx6IOnoguhuWSXUnGvIYukbFdE/ySXBKjO0A+TqVQvPGEPhczPgJQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB038; 7:6VEuh3ChzfItQjE3csGhyEUGqqhOjwTAPuKTOGTkTPydEqxhEIr/yxcR0Mq+6m+7vKjsD5PC+i4X5AqOku049TKiyzm7PL6/B/MiJdBThPDNN5XwgeTvqCK4TODhUkvA874Ks+R+QKvtXAnYjKWomE+r4cFwD9ZfdzDIqOSz3faVIUlPR+RqWZRlOpoWxv75HgXM+mXQdLGOJKHYqkp3+oMOXsF4qtONQjZ0q3Rt6ETTR1mrTpTyzx1OyfaQnLca5y1+s94lx2e7ploLzhoDg0gLPszEoPJJUYDBKOa7Hj2IxFjAU1t18kVBHMcmxR2L5yMCGFdL8A3DllV7DILUT3wFvYMld9wLj1eH9thudtsiBihT+5XS73EKwXChbHD+ovSrAXOtrvyaJJ9QZvAlRlAKZfKcHe92l8DHXt99Nq/WxVTJZKoxFstSPhPaDMVRtju30v6ozl9AsG0THwjLIQ== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:47.3320 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR02MB038 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: Steve Wise Acked-by: Steve Wise --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c b/drivers/infiniband/hw/cxgb3/iwch_provider.c index 9d5fe1853da4..8db71dcb4599 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_provider.c +++ b/drivers/infiniband/hw/cxgb3/iwch_provider.c @@ -1401,7 +1401,7 @@ int iwch_register_device(struct iwch_dev *dev) memcpy(dev->ibdev.node_desc, IWCH_NODE_DESC, sizeof(IWCH_NODE_DESC)); dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports; dev->ibdev.num_comp_vectors = 1; - dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); + dev->ibdev.dev.parent = &dev->rdev.rnic_info.pdev->dev; dev->ibdev.query_device = iwch_query_device; dev->ibdev.query_port = iwch_query_port; dev->ibdev.query_pkey = iwch_query_pkey;