Message ID | 20170523131931.1777-14-chad.dupuis@cavium.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
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 22B796032C for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1117D287B7 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06152287D7; Tue, 23 May 2017 13:20:40 +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 8D395287B7 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937109AbdEWNUg (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 23 May 2017 09:20:36 -0400 Received: from mail-by2nam03on0040.outbound.protection.outlook.com ([104.47.42.40]:22464 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S937106AbdEWNUB (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 23 May 2017 09:20:01 -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=uBeWOXspTcKuft/7ruIJN8xSo2EhB0ynyBwIFKhlLos=; b=VuETs43L9LkPno+x42oHv0A4coZAX7mDEFALtNE/FnQI0st6HEgaaxquZYqaVajj3FcDpXQVOfweg4ujulchandeW1cE5zlKViYhDtgTM05U44pH4XOEihx5JtPnJlBUhFSgl3iRKHNP3cdtJKovsmZ6wPRFJQhuVAunCZ7kcgo= Received: from CO2PR07CA0048.namprd07.prod.outlook.com (10.174.192.16) by BLUPR0701MB1011.namprd07.prod.outlook.com (10.160.34.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Tue, 23 May 2017 13:19:54 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::174) by CO2PR07CA0048.outlook.office365.com (2603:10b6:100::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Frontend Transport; Tue, 23 May 2017 13:19:53 +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 BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) 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; Tue, 23 May 2017 13:19:52 +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; Tue, 23 May 2017 06:19:39 -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 v4NDJeB5001882; Tue, 23 May 2017 06:19:40 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4NDJeTi001881; Tue, 23 May 2017 06:19:40 -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 13/15] qedf: Change cmd_per_lun in scsi_host_template to 32 to increase performance. Date: Tue, 23 May 2017 06:19:29 -0700 Message-ID: <20170523131931.1777-14-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170523131931.1777-1-chad.dupuis@cavium.com> References: <20170523131931.1777-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)(39450400003)(39400400002)(39840400002)(39410400002)(39850400002)(2980300002)(428002)(199003)(189002)(9170700003)(38730400002)(107886003)(110136004)(101416001)(80596001)(54906002)(2906002)(106466001)(305945005)(2351001)(105586002)(6916009)(6666003)(2950100002)(33646002)(478600001)(189998001)(42186005)(5660300001)(86362001)(76176999)(50986999)(47776003)(72206003)(50466002)(1076002)(5003940100001)(36756003)(356003)(8936002)(50226002)(4326008)(81166006)(8676002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1011; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:u/s2qb1BbChz/Q0urLhxgXZufP4flflezd6eMn4GKSbGz/qniXf91QS+1lGBd8ljCnIVcw376sPU/lwdl4Z3x4E7UfyLlgwuGtMG3nFXmbehZQIJFU4Zl2v1Fba+sj0Lpmf6N4gtcsVo4Vq6DKWfefE9uZRXxxc4ej8mndm7jUjd0uRp11mtUbW3fe98XnnFMmtISQf7IJraE+17IVtndbn9WT9oNmKhX+FxPbJWXryVmtmVEcaUqpGnL68vTb6LaOBB3wnDy0TIZhZgiWRLEp21C3Sj8hAIoMNY1+ftH95JJUWHV5FA5e9xf+pOqrnqMXsKlFsJg2Iy/pQpLeAuGDH7ygRq/3oOS0j8iGVVN7jgYX1X8OW+dZiW0YER8FbSHZsAMtJpDaDAu9pbYc/1nrfyMe+rroVp67ZO4eF26inhXm3sUhyZha4ID/PjFygFxh1+0NRD74LluDDU4kD8LDthUM0cH2DhecxUSX0UxiB46svdJ/yX6Bgn9XC32Qt+b1cB9Js8fIlCcyAZmUWJbA== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1011: X-MS-Office365-Filtering-Correlation-Id: 94042eeb-e846-4cc1-ba44-08d4a1de6618 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1011; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1011; 3:ypj+76wJnYK/riCuNHslHuQeMzyIaZLuLPBExQCX40TCbKiD1vfpYGUsCsKS1VVpv4uwCWe8q4a5HMNlUxzq3g5yaXEnSPI1QU2/kmLEbLYAIxIQWKdfIyXzaaaCsYVBnfTL1i0HJxRhlQAZj65tikVSVkosWuAHvqNDMv53vUU6G74yKm7zlG9wmmCZrOXhqfZItL/ZZ0B38Lp7KT82c0cfJB0nnDeQ3B1sZ7B06t10aXajWsKADHtCkk0uzAq1nfML1Ny0t4cOEErdNbShceNAhrKGwq5vsndrppqRTPBgBmUlrQkdpAvReiKzX4I3mFx6uDuoEgogUcRBU4kMvn/CSr5p36xOIejFNdM+UHbCwjZUr3gVSYwG80MsJSK8sZX2AccfNKUsIycBxkSo1lRZOCA9hLmFChH/2HGmCIfAliuMBkYyT3pW82alC9r20bxbJ34nxxWO1D6kEpNojg== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1011; 25:A9P3dNZZEL1RKWsKkvrMKWPJqGzygKlakAqQxYdWzmQ9XG5emqiloJo/pCjVIziXj0RInNrEDc6wSmRB786bPQL26bJZnruI9lkTxgvK7cKstqLKtXawsYFnZ1SO26JJdAc15WWM5//1EuzgKwnGQWWieMXbH/IoAjNlTg4rocaQ8k9kxUCcP7GSPhE113ctlLFdH3WAjy1zJwFfgNGo8kiD3KnVlbBtKukcFPpXzNTx0DkMkL6Cacdw55yapIgRZ8CJDkuZDspM4muzimLT9sjfvDrlQOmRCzws+3tnmxNVQLrDqNisHHAD4KjDb5eDTGA57okS0yxJlAXEngLy/l95ARcmhUE9k6oO7jOh8gGov98aAzpr77nuNCYMznfRR7gAfXzvGAtxRzrDA2t9gM7o1ntfyXacmDtKBcaZ2Ggm0OZklCfsWuyjzdMqhzriTAOK+PuDe1Ivry5JYXbLwZJcqe8qebCPs60RIZawNBw=; 31:4NrURhu9DFkIzguSt1r0KfGtkLWegmAm3Zdx6uAAFHJ56bHF+A3p2lLrqPaWwmR3PkFn/g4kcMiYTrgdYs5063JysDOjwJJKwmENhF8vEDw7zwmn8QOAZOs2ITpFiOGlxU7RFkjXvVgeIhMHCVYrh+F5wTurkxCXV86tjVkKJz3xl0B5sSx2NOsNMms82EUAAPX2RonP9Sbg/1KyddtlUdVSzqXRcx/inVgSnOhYDyhNBPS7JU25YvoGAfz5U3Ta/rKoRFR2tgNPpKxfHdTaUg== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1011; 20:z8nd5HWNtXcgpddN29G9oUiRiKi6+KCUxUB4aDCVQtSd6ofQDMD5ZiedFiFFoXt4McxkhQTqjaNooqC1COPhvIv13rynNWQAqUQLUUFpOUh8yymRPGtuUbHVMv8wr5qVTp/xLE0qXu1TP26400Zl955dGi58h/7mZWVO6HrILvPMWQXAwb0WVANLGIiD33+3Fy+6oDxaTaBZPcjrNMoMaHf3pi+ju4MRlfYiXkaVAya0vefydiT+pK1di88JkvZj/k+KBSYPLGW7PeqNUGyGWjaLYbIo6TqPtzOG7+to7iEXAJcX3CGwrBSi+pealuj/cFJrl4iiexzxBUBP7hRkmvupQy+YOaJIXlHgzoxDbLDTQQYPVa1D3eoW8XP/7qGdYQFebYI41ICMC/EagE9NGXbWBtKBan3+6tEguFK4PDQzuVGB3UQj8gr1NLh+cQkg2sh0nbUDbZLJJVH5FfGBMzaeBUWqmR95C8/srmz8t+kWvIGsqwHYhCiDbG2L+Mko X-Microsoft-Antispam-PRVS: <BLUPR0701MB10110E8E41EB24E1D27818339EF90@BLUPR0701MB1011.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13017025)(13023025)(13015025)(5005006)(13024025)(8121501046)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148); SRVR:BLUPR0701MB1011; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1011; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1011; 4:0XosbaJxaWCqTXxpo7ekRnx52lXvfZXbGlTtWbbX5pCbdkccC2wGn6sMWss3iKBi9Pjsy7irZ/QTptFrDB8tIC7ZAEUZHWwpo6wq7o1MavuRzrIE5FGELcqB3bwIf7VPZ+Ens8juYecluM/Z83NdEFta7L77hplAN9XiHyCNIbaTCvraqr16k221lgYpcV0DvcDwruEbGBQ3Yzkpc6nPXK8d3fA98nApJg3bmNGPnmh93jiGNJBtxTxsBin87b2efTviExJn6TWyCaJoIDCekPjhCslfjw85Xk1qVAG/6A9cGYxu6n+htP0CCz4ZJG+JXBUmQFGFUqr6SUkdbhILW3O6LaLDfUmSEGz5iQxrEnIVzVdMd7ls2B750l++es50tutR4R9VDP+7oZ/Qmk9g6LFuOAd169L/i3SWcUTYpztg5p75ohnPf3ZP5jgk+pXdO+tqzXMAGdPQq8pwdQGj48LFDpVr+TUcYJKjdnw19CFy0IadBNar50awOTED0OWda5iB+j+lSCPUgGr9rsHjy0Aetjuw6K3QeI5KOcWcyraeLHFh/QjdDkiokujAn2/9u6wPT/1NYJmyWC+R5uLBpf7z6FughM/YmUeAIqeFWXWGWodVwyYdcpp/ySmmv+jTm+Dq0MRG2o8l81YB4NZQevLRhlBXTfXL0dZbbrFjfhd9RijzLG1S2J7L1nC4Hze6wfOvMw0tNcTxnat8MgTluY/AcAHoLH2wUynwLR4injfeVIZtTUCdXhvx4Cf8EM9HfUczXJL2v/QKd3Cxzs89CpZQL3DJTheMfRXuFYeXd+Ante3dfOucpjOrWUYPj/F48nbU+eick6jQuHKG06KDWQkee606EB69XVNwbKi8zH5l2gn3JE5wZ7iw8ymLIr5h X-Forefront-PRVS: 0316567485 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1011; 23:Qpv31NtW4rfzxFhIx/mo82jPe7EYmKUuj9IhBzk?= =?us-ascii?Q?uKkx9AGOIVths+otp42Et42Gmg4oTeDShUrSt2Pr7qKan91XuOblSdv7l6sM?= =?us-ascii?Q?eN6q0oRUQmyLLkU/57RA8SaIvPUHZAxILSPAjMw/S6V2KYV8Lca4NhMEIoXB?= =?us-ascii?Q?7WEwCsdmnkpSDVjW5Pa/eStfPGi5lZADGwg9zeOXl6hwi0kPKyLdHvKsPPXR?= =?us-ascii?Q?tTW1tVK17dlzqR5pPnX+lcr1T2luUj4e8wYWVyIMs4FvycOKxUuqIzJjsYtT?= =?us-ascii?Q?WBuUQWShK+laeypEsKtNOQv+fNDCK/MbRFr8me3Vpq0bsY0rUlmkpCzz0tlc?= =?us-ascii?Q?tKdkWHCgcVWeP6mSxk3hDq0CFtRxn4VyaC1VhyYTaMw2W/K+itChu3BO95+d?= =?us-ascii?Q?cWtnuHDPHn7kbTR0/rwgkMtYg3HdDFFJ5sw/BH64nGfgabyOfiY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u0LZ2rSBFg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2017 13:19:52.8330 (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: BLUPR0701MB1011 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 |
On Tue, 2017-05-23 at 06:19 -0700, Dupuis, Chad wrote: > 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. Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 340cf74..bc85c56 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(-)