Message ID | 657cc466-c89d-5c7f-b9b8-93b0f2c1353d@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 82924602F0 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 19 Jul 2016 16:23:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72A7E26B4A for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 19 Jul 2016 16:23:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 674F326E81; Tue, 19 Jul 2016 16:23:32 +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 BF39F26B4A for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 19 Jul 2016 16:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753416AbcGSQXW (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 19 Jul 2016 12:23:22 -0400 Received: from mail-by2nam01on0067.outbound.protection.outlook.com ([104.47.34.67]:35804 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753413AbcGSQXU (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 19 Jul 2016 12:23:20 -0400 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=xNsJDL7xAblEk+lxNAScWhmP5Ku0MXuYiwhO88nQKTk=; b=f0Q6Ar+8CE1K0ADI2NgPptwpYFjjvkcOHG4UShi4HPgp5Ncgg6wGXd0fprJz88+wxjHIYQG3uG82XBn4UUnF5dyBMQkIbQ/ta/4ft1n/wqU0RAxy1mYsVaTwGbYI9ivzvo0cDXJWSSS2tVl2YB03P49HZtH2RdhK0/yFLsGvGaQ= Received: from BY2PR02CA0009.namprd02.prod.outlook.com (10.163.44.147) by BY2PR02MB459.namprd02.prod.outlook.com (10.141.144.144) with Microsoft SMTP Server (TLS) id 15.1.539.14; Tue, 19 Jul 2016 16:23:18 +0000 Received: from BY2FFO11FD011.protection.gbl (2a01:111:f400:7c0c::193) by BY2PR02CA0009.outlook.office365.com (2a01:111:e400:5261::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10 via Frontend Transport; Tue, 19 Jul 2016 16:23:18 +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 BY2FFO11FD011.mail.protection.outlook.com (10.1.14.129) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Tue, 19 Jul 2016 16:23:17 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [172.22.12.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.33.03698.0A25E875; Tue, 19 Jul 2016 09:17:36 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.301.0; Tue, 19 Jul 2016 09:23:16 -0700 X-AuditID: ac160c71-e9fff70000000e72-e4-578e52a0573f Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id FA.9B.02783.4F35E875; Tue, 19 Jul 2016 09:23:16 -0700 (PDT) Subject: [PATCH v3 4/5] IB/srpt: Simplify srpt_queue_response() To: Doug Ledford <dledford@redhat.com> References: <8fb358c3-3504-02ca-fcb8-1624f28be1b0@sandisk.com> CC: Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>, "Steve Wise" <swise@opengridcomputing.com>, Parav Pandit <pandit.parav@gmail.com>, Laurence Oberman <loberman@redhat.com>, "Nicholas A. Bellinger" <nab@linux-iscsi.org>, "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <657cc466-c89d-5c7f-b9b8-93b0f2c1353d@sandisk.com> Date: Tue, 19 Jul 2016 09:23:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <8fb358c3-3504-02ca-fcb8-1624f28be1b0@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42JZI8azSHdBUF+4wdQWbYuX5z+wWqxcfZTJ 4tmhXhaL8x9eMVm0rT7DaNF4ycBi3ev3LBb/1nazOHB47Jx1l93j/L2NLB73tx9h8th9s4HN 49Hzc4we7/ddZfP4vEkugD2KyyYlNSezLLVI3y6BK6Nn9wW2gtM8FRdmLmFtYDzI1cXIySEh YCKxY8J1li5GLg4hgaVMElOWrmKFcHYwSsxe+pYZpur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TPvEe6Hv7cbPwgg0BShPeWZlP Ovtt/anlHen9u/cvvfN2yozTR7XPdKz/eVPm/cKu8OajW0Qv7liw0Yftlm2ujPTsdypf5u+0 fv/5y9RrjzglD6+sZFAJ+vXgiYxj5a1fDkk3uNonyC4K3P36cqNf26TkkovJVqsWzq5SuHaz Sk98S2fEvkfb3ymxFGckGmoxFxUnAgBQuijYFgIAAA== 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)(2980300002)(438002)(189002)(199003)(6806005)(83506001)(53416004)(31686004)(64126003)(65956001)(81166006)(65806001)(189998001)(8936002)(97736004)(81156014)(7696003)(19580405001)(4326007)(4001350100001)(2906002)(68736007)(7846002)(110136002)(305945005)(69596002)(47776003)(19580395003)(5003600100003)(77096005)(31696002)(87936001)(86362001)(8676002)(356003)(586003)(2950100001)(2270400002)(106466001)(36756003)(11100500001)(54356999)(50466002)(92566002)(229853001)(230700001)(33646002)(76176999)(23676002)(50986999)(65826006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB459; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD011; 1:sPNfL8iTBrNGnZsXh9FvJponMWj9GtZiw7/sGZJexxkcgtSBomO3va9lor9AU+fCGPg2RBLVpcZrpCB3RB8RkXwpId/hW1EZPdmckozylEyJyGI5o22lKp8jaxDJzMYxZIDLgDcYjlkIjnhhHdpVXJe2QSqgiX78Zjjkk1U5fng9UgnZneXA4KzLD5jhlG4AoLo1XlH+M7hK6bgFi3i6RouNdaXZlzK+cVgvScOnlokwrVZmbmLuU52BHIZz4ebisOpSYIPawZB2zFbMVdKQEbN7ZGwfZk+BzssncA2yvTxWoDUDGoS3+BMSfn6kBYOp+zYPKhuEuiLQ3kYSUYodPHyUqu2Oz7wX2Bnj8LJeqYkNctvGPqCLvg6EpJmGIAveN4SkLRnFh5eSuGbuPokobbdNjMfLJz+w2BSnOeoyBUgxYHltpnCm6w0FkNZm40wb7M5qkcZFkegn0nhrF6MK/TXbobs03I7qUrdapwRszmwmgVF++j4kUh+eOQsNEiQBFPhZfSaqdJ7KxDvRqdCmng== X-MS-Office365-Filtering-Correlation-Id: daa19502-eca4-4e86-b96c-08d3aff0fe15 X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB459; 2:SHVd+mIUkqP92lGbn55Xy1lcj4XxXes74IPOZhADKB20XMyEmR/8+vifo9mocSfLMyPwTj+rzgsM2LHgYOUTQdnAeTjnIGyPGuJZLtLlw8ieMW78XQkjKP/5Ntjzvy36pTDVrmHRVD8FtDfDZa9FfVuyWdzFEt/J/jc0PJ8gtaQwmlq1PIgOloSeDmtaZ00M; 3:h3IGjxVM1/1uUIQy2r5WJMIu+ntfBnvcysQS1oO3SF4PNTRuhbsnmISXLNE7jQxxNffOgj3LK5kLeWmSdv5TTnZUn0AOhUU/DOqb0O7+Q0boNeDGQjP+Q0rpCjJQ55Q9gBUKe7ngWpSduPvOToF/m8FZhtnVQ1tFrikpbLr42yIGumvmfxMoQWYwL6ry8pBI46UeMteHelXuye6nLAi2fwjNVU0d7huPqVIdLwYf5sjIhXCBsVE5LXGuO81dm69uBKE2PKhFK80Z3S08oFF+Rw== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BY2PR02MB459; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB459; 25:yJDBWY5LWQbEvrt5hVvNDCu3D2nWiPINGH+Cla/eQb64yRo7XvbLq4+dms4njDJEfgfowQtVMEm9PU61ufrDqa9WWgDUa+w1xk2MQJBAh4U6O1sxmDCUcthf/lkHET/E+XjbPYz6o6geV1Y4XTpZn3aX+Ulb2X8PF/OEHEsMHTb/Lq2jbhy1q6kkEaojz857geWsHO5pXLb1HZTj+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gkm/3cU9MAjdIk83BjwAsLXulxOmakVvcofpEfl+dsaNtRWuCfGV39GEIdC5Rkq3175AFDzWCj0N/MRpoeSOv5RjjZVhIAxIdOfyo0AR8bFj7TH5b+7mt3ubTJDblcmXdFEb+mSAL9jU8V05UN/2/fw4YNlHJCi7EVwnf2/UeneHIQPDl2TgImg3O4LmHWzxN9chZ3rj5zFBdx5WVEIabk8Pom8CRN4XqghB2aPA3+uggCwNYmj9kUbNQ5++cQQUtih1aY1Z7fcvYwQJb3MQ9LHcl45gehB/k4FTH X-Microsoft-Antispam-PRVS: <BY2PR02MB45980EB4E546B1A3D22D7BC81370@BY2PR02MB459.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY2PR02MB459; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB459; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB459; 4:2Z17FlC/xZmIc20yDOLCEM6dYJCSIjZPOnRuwO5jOE9QfW+WBaEZcWvjJQEL6bT476t3/7KJf/KoW8clKj+AajXCwsXOHFPRSkPZMJRhsRa5370c8eBV4z6Nn4tMUeHKnTD9LRr/eyA3mSGVFYfPUFKe3JTf2R73E3KOSG6MGFs3MufZZg46UlBxDKn6m22Qy9xfgTAI+JXgBRNQBNIHSjOwzUeXpEEnjtFkkmngzOpfSQwOqA9j9rpSsdw6JRH+Wz7QaPcISWhA0DbiiIMdcy+Vdkx8EP8O2L5mLUQWpU9/i4WJh5qBZlo6oUTF3GM6OwHJww6EUFbIs1KxRQR1HXtfqfEHAPBoVoi/u2HAzwR4mtT17pSC8IDy8mmr2/pqgwJ14HEK++1C8Q77MC5AcBgCsfOh1f9R6kujdVRl85m3a+0nfrhNASMQSStQ2nv5rGiLmyEqbPdsLW9lns4JCQ== X-Forefront-PRVS: 000800954F X-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8Py2kzZ1z9cbZRvPne3IJ/xYfK+Hk48qZol/cGa/qnkB72gs9yqP7IVdtTToJEAyQWlJTZdVrjJD1c21ug7QhmbXQ8kICNw9hRJLxcee+bNW00cVm6sGvEuuza81UOQ9gGNtgc9f5LnJL3ix X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2016 16:23:17.8440 (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: BY2PR02MB459 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/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 9a3b954..dfa23b0 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -2262,7 +2262,7 @@ static void srpt_queue_response(struct se_cmd *cmd) container_of(cmd, struct srpt_send_ioctx, cmd); struct srpt_rdma_ch *ch = ioctx->ch; struct srpt_device *sdev = ch->sport->sdev; - struct ib_send_wr send_wr, *first_wr = NULL, *bad_wr; + struct ib_send_wr send_wr, *first_wr = &send_wr, *bad_wr; struct ib_sge sge; enum srpt_command_state state; unsigned long flags; @@ -2303,11 +2303,8 @@ static void srpt_queue_response(struct se_cmd *cmd) struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, - ch->sport->port, NULL, - first_wr ? first_wr : &send_wr); + ch->sport->port, NULL, first_wr); } - } else { - first_wr = &send_wr; } if (state != SRPT_STATE_MGMT)