Message ID | 20170531133402.16629-14-chad.dupuis@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-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 9842560390 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 May 2017 13:35:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90D38283B4 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 May 2017 13:35:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8244E281F9; Wed, 31 May 2017 13:35:16 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 DEECF281F9 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 May 2017 13:35:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbdEaNfI (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 31 May 2017 09:35:08 -0400 Received: from mail-bl2nam02on0056.outbound.protection.outlook.com ([104.47.38.56]:4971 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751019AbdEaNfE (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 31 May 2017 09:35:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8lfjWsq3W2ghVKtrAY6Uxz99Cypzr0eHy7kUMOkfwYE=; b=MjGM3L9fGGaN1FX753FcstulebckL/q6pT3/K79AmP07UIQp11sHFtRCf2aYj5nrBum+aLxGv0sEhtKPZqViJzMUFTYAj2bpBpie/gRiken1aD6p/eX73XFhMqCvfwKg0BtHvZMJeDq2CzWxO5j4rfQQyyXRQa79cOwuAPmfb9A= Received: from DM2PR07CA0023.namprd07.prod.outlook.com (10.141.52.151) by BLUPR07MB418.namprd07.prod.outlook.com (10.141.28.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 31 May 2017 13:35:03 +0000 Received: from BL2FFO11FD040.protection.gbl (2a01:111:f400:7c09::169) by DM2PR07CA0023.outlook.office365.com (2a01:111:e400:2414::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Wed, 31 May 2017 13:35:02 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none; oracle.com; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD040.mail.protection.outlook.com (10.173.161.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1075.5 via Frontend Transport; Wed, 31 May 2017 13:35:01 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 31 May 2017 06:34:05 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id v4VDY4eL016716; Wed, 31 May 2017 06:34:04 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4VDY4nb016715; Wed, 31 May 2017 06:34:04 -0700 From: "Dupuis, Chad" <chad.dupuis@cavium.com> To: <martin.petersen@oracle.com> CC: <linux-scsi@vger.kernel.org>, <james.bottomley@hansenpartnership.com>, <QLogic-Storage-Upstream@cavium.com> Subject: [PATCH V2 13/15] qedf: Change cmd_per_lun in scsi_host_template to 32 to increase performance. Date: Wed, 31 May 2017 06:34:00 -0700 Message-ID: <20170531133402.16629-14-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170531133402.16629-1-chad.dupuis@cavium.com> References: <20170531133402.16629-1-chad.dupuis@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(2980300002)(428002)(199003)(189002)(9170700003)(2906002)(80596001)(50226002)(189998001)(101416001)(81166006)(8936002)(38730400002)(107886003)(110136004)(6666003)(47776003)(8676002)(2950100002)(54906002)(6916009)(4326008)(2351001)(356003)(72206003)(33646002)(105586002)(478600001)(87636003)(48376002)(36756003)(106466001)(50466002)(50986999)(42186005)(1076002)(5660300001)(76176999)(5003940100001)(305945005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB418; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD040; 1:X3d68hWmJQEQQVPKBpz/4Twapsg8P5K5SQaLRjDhihK8M6CUJWz9iQVS+SF2/+n3oB6rcvnVQckPSACZxzplu1lSj+9M0QWaI7g1B9Apl4Vjfm5daJRTdVFtUvc3NL76aNlooiyKRZ+vRbwwHsFhmVVo5Hxv6J251cfEy9L4WcDa0akWHKvMRXsNQv+BwxGlngbxaoqz4Hbq48E46o5BewiFzWGKLUj5eCUAW+1lRA5awmLr0S1DBGR5pUdOaSU1XWZ59BBellBEwkhGacGTNasP+kEYs3fbcKMxF2bVggs8oFV/aDq53GnnuOM/u5oDtbT+2zbnpk1QNwEGn5C++o7fI4BNm0LBRFKUHSEEsXAuEcjLmeBGhOxQ/lAwcn8vUEvvW6sQXr8zhn2MDmNddihYxTYXy6bw56McrYxjQVJCftHotOSmggs6Xkmcg0uoUkDbawsxyco9GKUXGgOIaSR7MO2HroEloSen4YEpjHY= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR07MB418: X-MS-Office365-Filtering-Correlation-Id: e2c06138-6301-43ff-e948-08d4a829d70a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BLUPR07MB418; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB418; 3:M7mEVq/KW1myKd6mGf2kWVg3TE47DlLb4wEWIJDP+2BSPvhcfnSrkjhoaHXBDZTw4MDlrwsRsI3ZtASvKXt2sZCxRHxdF2k53mI/U6IK3QUmN8KvE1hF1zgfIpexDJHTQzHeD2Hw+4z95N8h7HWoM7B3QoKduc0NvJlOPKN2WdPWoobdGvSz1gZ3Y0ormMZ/Rhc9PNCveMdChQ45F7iMhLqORaps20bWxt9twXpm76jNLo3CbBNqc/NP4xpi1qcoWTuoOghOCtXoRP9sF7bQA8YTIFN4TE7DXJCwqAL99Z7u2AMcrC2g8jMaCaIKApEAP+jpMvX0axBaN/LJQ+3kM9oe+ZA+fqp1lQMFs8nwTrLDz6H2WF1eEDd8XQ2Ks8TWYqvqyuFhJE4JFx3W+5AlMiQGQE6qwWKSyjufmap5Gob8dPdT//rtid5YSGeN3CSJUNjIQBH8wugd2FQMBE8Laf+Kf8CuAuxC1uORlWRe7Xs8/vkZ4h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wicrYOTdMSrpAtmllfCJt2xyWKUzzHHRFshzSJQ7rmLLyTJ72rBJhl9kVX1BA4FebuTmwma3iYMsyDiclebYAx+EPDssxOtc2bIAhuvtIkmo9p0RET1Bx9CoAAcfD7ZhwXf4aeSKd7tCcIMRCmp+ltI2zK4k7SgNLeD9N6PZmZOT32YZu1dWkZ14JeecVg+1Z800rKBmBgAKVwJJVuNzhlAjacQ/C/L400xc2Z1wjGJaBjrKNjffTAawi5Fc0IK2U5264Cvuyu3eQy00+XGbs9vRGFDYlhIDc2SYdJ5hD2 X-Microsoft-Antispam-PRVS: <BLUPR07MB4186F65A3373F8A615303549EF10@BLUPR07MB418.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:BLUPR07MB418; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB418; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB418; 4:yBUxfeSAS/FBww4JqCFczW27Ij1XRVi8BFaXJoKFUnSYwwBYFGj87qUlh9v23BGaEV4CRTCnT1GNOxCzgehBTaQwdDkaLhqRIhWKMqOd/wKaHegGX6QKLVMC1GPSVmTG15xCi6nTG3aQq4KprHPyEAKTonMNb/IwtI1/em80qaH7RVqBQMcWdv7jW+o6pBt5ZjMXS8tB+tfFvHJk7Rck9znfIX9rIYfiESu3H8taygrtWPUiAwskNNdnImb10QGRofLpU3SuJKoZJ/8h1zshB3SwTmLtMbaGJhVbdRBtBcQd4fIL2+cJ17e9Z7vRH0RrKWfQ5Nv/JRXvmV56YrFvb1sREqF7O7wkl3xhCZMIdOo7xzYiNt/qOFSNaaQCAQY+7KWgvgp3ezw3//dD0G5pzKC+XnzbU1rQzUIv4HHoJ0e+lp7DdTODcH2p8KxczpYrS7ahYpnpSuYUuSXvcdqkagXVjUiBa8dsGjBKuZVo6U7oIVJlVEK/CpjdYyCrGGIIvD2/hgIhRnPTIQ88VR8u8x0Drr9aJoXzKkNneoJmyg/RF520D7JgI/Fdxy7lr3TPDmziSfDFSrUC71iSfykw1MZg17e7/p+Z0k5lmZKbhtiy/SUAJRIfOR+8MZEKcES6tZW2GBUaYOU3RLh1A7UuNcagk0+/DBo7eE/emd3dBKhrUmpKdTuGgylow86qyoozKbi+XyPgMPQaJD1khlzXEa9Pa4aX/s+xMCgpTJVyOWQEQQjjRm+lUfjmyn3NxhKhIbMF0iKb8P5FLUP0j73Wkmm0mfDAiA5SWD8B/OhSa4PbohA544akccCBvIuuTOIC X-Forefront-PRVS: 0324C2C0E2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB418; 23:9ivn4PO57FHcFYqY8UzvuFQKZetGT1/eupFKrEG61l?= =?us-ascii?Q?elGWEnd390LYnz3QKG4KtsSBcsguex7P8PnsAP1wqtEMbQ171akzx9kWpCXd?= =?us-ascii?Q?UD2DYGkQEC4/SNRFQfIDGRKiMZhDb/LiIdRktidmjatYIhXDhbQ5fBLPavCy?= =?us-ascii?Q?cQhLjKUqOwkQpb/VFqjOyQKQFg/WvE4T0qWpP9jhwzZoH7/v7bKtrJvzSqi9?= =?us-ascii?Q?vYvTJTAjRnEzwk+M+i2eo2eqXyqOB7QoXncCDTV6oxkAGY6VFby256uZUKnw?= =?us-ascii?Q?5Ku/fmnVb4JUtROE5XwgRUdZnXAIrHw3+utKuGgCgr78GvcXzaH3IU418U7V?= =?us-ascii?Q?85FeaK4HLMz8jtp3spGrTeb2GfAMvA1OpymvFXQouErywpI5Ca1xebkHm722?= =?us-ascii?Q?ALu5MGrUAO6iuKjc7Vx5nmhl8bR9lA3yc2E396snA6xwYqwtq94C8RAyaoPH?= =?us-ascii?Q?oq6urOq3Ekb16DY3+E8fjZ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r6f8jcX7kAy+aC4WT1ywkxyaoK3pWyYHHr+x++B0WfnxXSjmyqOsVA1ge9Afp1o1RyXnHef6DyO6GnXfRcbM/N8qGsYr3/1+Kbg9PmPUUkG+509GI8mHH086jSIhdleOo8mfWBFpENtO5m7jqmS/HQLqwf07cGmBSxLobLC7lddr7nGtURF1leDfnGC5QLRUpZ3t9feQWQ9EgupJ6xyDQ1HJiTExJknbCfLWLIZtUWKtzgU89b3wcZDW1TME5nmWRvkBiG18mear1IZSywAXj+PRsYaLuA5exrJHIrC8pup7pP/7Ei1nUtGw3kwkTb85qfIyBmC6diHNl5/F+mwE2+m8Vbuwzw==; 5:T2deR6clpVfSDPqc2bOZ4WSucPZHMmtb8gXqRjwQF5X4d6jwV67iQN6RIAbMdtsTjpWPh1jDNIAPzvdGtoJUSUWcSslIEvAatx9qB2zYk2hkCwFVCegiUpHFAmA+P2B1ZBn4cZdN43eky50i/uZqkQ==; 24:FOSURmWg3QbdhwzYfdfKyaTd7wyZDIGLRVZzhbUETQ771KKorJlSp9E+3vbxZYkWLJCHJux+9DvAvB4w8dnUpQdzvN+hQUGDBmmgJt0wML0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB418; 7:/LyurKaEteob/a3Qf1Fm56KAyhGPUMy9xpxyxf7J4tNFXDrLuW+74Hdswld1n2KZJ2mqe0uNG14o0hr8ltABiAJzke6VHPoY/qeKwezSONS5nELYPEGOREgEUncEDzYcm0mjlJUu6Oxq6BRzi/pxOsz39y+9tvvVQxlwcyp2nv/audOHSNpdOh6/Z0eUjmivcCyTJn2OR4DOIRhxrkevr2/G9PL7bZ17PoDtGpPH4DCe5APWTXrEjAHBIwClWAofeW+lgNSpm7lQksY4UT87zAoPhFNjv1UINGamA9GOEW1c7l07c+CJZYt4irkcjaR6oRr+l5VnoRNqRjQTyiaR5A== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2017 13:35:01.7436 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB418 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 4b688d6..27a9e26 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -708,7 +708,7 @@ static int qedf_slave_configure(struct scsi_device *sdev) .module = THIS_MODULE, .name = QEDF_MODULE_NAME, .this_id = -1, - .cmd_per_lun = 3, + .cmd_per_lun = 32, .use_clustering = ENABLE_CLUSTERING, .max_sectors = 0xffff, .queuecommand = qedf_queuecommand,
Increase the default number of commands that the driver tells the SCSI mid-layer it can do to increase the default performance of the driver. Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> --- drivers/scsi/qedf/qedf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)