Message ID | 20170519083321.18030-3-manish.rangankar@cavium.com (mailing list archive) |
---|---|
State | Accepted, 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 AE8F46020B for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 19 May 2017 08:33:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C5202878B for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 19 May 2017 08:33:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81361288A7; Fri, 19 May 2017 08:33: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 22D8C2878B for <patchwork-linux-scsi@patchwork.kernel.org>; Fri, 19 May 2017 08:33:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753545AbdESIdj (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Fri, 19 May 2017 04:33:39 -0400 Received: from mail-by2nam03on0084.outbound.protection.outlook.com ([104.47.42.84]:15076 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752145AbdESIdg (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Fri, 19 May 2017 04:33:36 -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=ZHfcT1lYww4Dx3sLU+nU5RHfDfsrB7Ba2ze7iGlfFVE=; b=OdsLqyba/HftXorj6FYdWMndxnGuwr3/TMxSYr/lwzD2+giCxP7m2OtiAsWdIzC9AWhwo5i1KZ/SuUgg5VFl5mqLqGzmNNenWk4TAo6TLzmr1FqCV9QSCLIhjfyt2iTH1ij+2WS1oGfGqZErUBjjCCPYYFS5NbG8srBs8qtghqY= Received: from CO2PR07CA0047.namprd07.prod.outlook.com (10.174.192.15) by BN3PR0701MB1574.namprd07.prod.outlook.com (10.163.38.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Fri, 19 May 2017 08:33:30 +0000 Received: from BN1AFFO11FD018.protection.gbl (2a01:111:f400:7c10::110) by CO2PR07CA0047.outlook.office365.com (2603:10b6:100::15) 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; Fri, 19 May 2017 08:33:30 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; 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 BN1AFFO11FD018.mail.protection.outlook.com (10.58.52.78) 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; Fri, 19 May 2017 08:33:29 +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; Fri, 19 May 2017 01:33:22 -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 v4J8XM8q018073; Fri, 19 May 2017 01:33:22 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4J8XMwi018072; Fri, 19 May 2017 01:33:22 -0700 From: Manish Rangankar <manish.rangankar@cavium.com> To: <martin.petersen@oracle.com>, <lduncan@suse.com>, <cleech@redhat.com> CC: <linux-scsi@vger.kernel.org>, <QLogic-Storage-Upstream@cavium.com> Subject: [PATCH 2/7] qedi: Correctly set firmware max supported BDs. Date: Fri, 19 May 2017 01:33:16 -0700 Message-ID: <20170519083321.18030-3-manish.rangankar@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170519083321.18030-1-manish.rangankar@cavium.com> References: <20170519083321.18030-1-manish.rangankar@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)(39410400002)(39840400002)(39850400002)(2980300002)(428002)(9170700003)(50986999)(2906002)(5003940100001)(48376002)(76176999)(42186005)(1076002)(8676002)(80596001)(81166006)(50466002)(50226002)(54906002)(356003)(6666003)(2950100002)(5660300001)(36756003)(86362001)(105586002)(4326008)(33646002)(87636003)(106466001)(72206003)(478600001)(2201001)(107886003)(305945005)(101416001)(38730400002)(575784001)(8936002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1574; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD018; 1:9cyee2x/ngZtG81g1YdMFKR0jAjInz53L+V/GHvKT7ByXiOY2meAPlYtMRH2TDCgzAXPXx/XLnuE19xpFwW4vHf5a042oCYeBInXyKXVHpU8wFOM4oJyg3OK2BMSkbGzdzPDRMoxzH5nylpmHMXzfhRJCrrh2DGdkgexOL8zBPUGbyw+pqpqusviRNcud9P4WXlsbDn/XFaAkuR1hf/h4SO8vrlIyqHVtSIV5UebgQJqWlbeuFblXUpOgY7uJ7JGJiNqf4UTpxB5D9gfHpIh/e43y7R6SypGoG5zd/nytECuJJ2EgIU49/LaSv07b4bM9oR+xSrV2/m9wD+57fAi9E9BiTF7ERy26tQXFuOD7OLQafxC8gI3lykq0EwV+I51Ih6OiT5nkI6BzSceaZOSywixle5dYXx29Nt1b5t6z+PS4hUkBM47X1irkmxxOL79nVIYRffsIXXCZ+aAspqUb3ATnJuQqghQEwch8YJEytJ544/KP6C7JQQ44pQlEifKIGvmMf9etkPrB48jkaJukAJOYqvP/5zjErWQqR0HdOM= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0701MB1574: X-MS-Office365-Filtering-Correlation-Id: aadc5b0f-03b3-49d7-22b2-08d49e91ba8d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN3PR0701MB1574; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1574; 3:ZgZS2g5NKZ+N2i1QOu8TgqWUYlpoiIhEQ3ZCGezPTDFLgAx6PJpguSpp1LDGYeLRZcmyZSGVGonkjBLrziENpr8gZ6rJaY6C6iWA5nAb0vyuQSkz7xw+1hOowQkiNE5PygsALA/2cfjgqtcKCCzXsT520rGz/BBhs3MR6uPW6Eeli3ZSc/2UB0fkmFo0+a03LGUKgMST7oFGYkpGtZdoQs86zH1pA0lNQfhvbOKYI8hnpJ2Rk1IedknpltwY88mYtaAaWn5Of9AmsI2u/JgXEyJ8WOw+ajE1Zo4btcsc3rn+MRVxm93Tv1oRI2gFU2H/J/0/McK9gTdZ4/cwQF7hlApbgRzzk0sxaNSpT8pN8lFXDmr9l3nlY47O/kRBEuYZ6LBHBXYrIKQZfI3ZGnR5NfjFREJ65h3lFB808H68MswtX52uQbnvb5fc5kQ/GBqKMpcc4vJ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VjNUemWu713Y1AC10vSYr3YxswiGi5GLdp6HAQxN+oiXjIjKLt9VPYguR3/7hg3Qv63/8/jD6t3Ibe+TdJAOlCinON1DiRu2M/TGaC0t2l1WIFnGOU+GGPAmHFnKh13wipLeizYbQnLqt2/dPXnI1kHgJ82xYk0C29pcTqDLemNbb+Ze++mF3MIUgEtQ/uh2fTvUY55dr4NiRFjsPNmGmWqafh0uSIhtv5UtZgZDQ4HKA7HMOoDp6IvhCDgyY3rxkWzoVGLriUkotqVyZ7S9Pjpeq2/Pqo3ihUePztdXJ9Hr0W2OASzWqBLTluUROJF9Y1Ms46qnUM4P257vXk8CkAkZRWeiznj/btmbDqPeVhRxDYqWy X-Microsoft-Antispam-PRVS: <BN3PR0701MB15744F88A330DBCFE7DD432AE3E50@BN3PR0701MB1574.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(13017025)(13024025)(13015025)(13018025)(13023025)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(6072148); SRVR:BN3PR0701MB1574; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1574; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1574; 4:4cwO9ZM+g+5vTgdOIyxlv8i8oKc9QCQ1KigMTMxVU/3gxGDQfxCl8RM/Dt4PAMOcsFhptI+8Igyvq3pTN/38mH26lUF/pAMQwMZuyNbX6BgLFxk2mSRhgEp/XPfqUvXotjZ1uMVrJiczIvI5hESsNAxFEXY8keyhGQtcDeeMZCmZl1eNx1Kx0QEKxi7xIlG+toFaiK6KGyNPTAd8DMWR6XFZEyBbCbJQ3dGLChwNe208A8HsqzC9zv8NUeVtd1kc3Fpu5yqq+QD90ZTIrrkCg44cF9zYkAey7+VxZl3tD6NNhX1ZN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Dj+/q15g+ZrlJtqyV/gc6Eaz1+MRuhEYws2T69bMhFkCpFcojLGcIVfz8plFozbabypNDsEtv3Bjs2Ohy9XOwWbRfz8M/pPey9k5hp7RMD+th9Y/5qIGQ5P84qjEF26HqseCUdbDhrD3Q225gzdtAMUFnnwE9hCS5Bi3za/1X5xEO3ULnJ5h4NBIGd9oQbGbsYLgHpkFHShbiDRJzDixzVZCF5du7Bx6T0qPK35URj9piDZ00zcqlJQWI6ZSpxcDQpk344F0qEpg7XWO2rcrhjFq0MNQUqW3+jJwFtKDhG3JLA/L564F7I4xlMVvWTyof6GXiJsORhZglmSfFi5/xorW3djnVvalEjhvjQLQALzIAE85IZGHWcWfC8KgeCypPWp4oE0+YS1rt130RPLqgNzwJ21Gs4YvT57QXfyJYToiMPRh6NVr3ykv9k4/zYkrNTX95phNdKisCO/hudw==; 5:5G/4G23yrwLKwwUrGrgVQO2MvUsilEoyHEBCrQR3ubWNuvBwRriDV1I+E/ndOZ0772QcuG3d02YNBS79Nsrbwebu7+vrIL0B7JLnPtNxirpp2BoTCG0sPi1sffY5mzqvKNZkjzI7MZoOUga/xGfsog==; 24:dLPL4vktyx6FKT6i6ZTakynTnoadZYZO7egqyn6Pit+MjgcH3/BQxMFrOxx28p4rwZflZHCMTY8Ljn2NmiOjwXVIaboDVjE0GfCM445nk3M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1574; 7:sHwXzixWaeMjus4UxToSoE/E8hF7gV5KquOxSrTgv+v85EgEwRDTAeE87VYdjqZ6Yx/ay+7kUnPqKNllwlmoVip0qndlnNuNzjA5xv4QC2hQrQbPyUrcuIstDqLZoZZK9aF/MN9tIZNW50t8Bp+Yf7OzLg2tjLbVrUU80svWfhkioKqLFoL0AUNgTCyBhDcJCFma6W2hNLBR8eD2wvoj/41uULS5+GC9QPguUd2mOXQ7OE+KttWBZ/WeyykWQnSePtge2GAACtmyil8ioolPpRRRvywMzSznVqC2JPvZaG3gSGyiT9g0kG4hD99bDQFkNpizpm6EmgoOe3dOIhuzdg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2017 08:33:29.9752 (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: BN3PR0701MB1574 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/qedi/qedi.h b/drivers/scsi/qedi/qedi.h index 5ca3e8c..269dac6 100644 --- a/drivers/scsi/qedi/qedi.h +++ b/drivers/scsi/qedi/qedi.h @@ -38,7 +38,7 @@ #define QEDI_MAX_ISCSI_TASK 4096 #define QEDI_MAX_TASK_NUM 0x0FFF #define QEDI_MAX_ISCSI_CONNS_PER_HBA 1024 -#define QEDI_ISCSI_MAX_BDS_PER_CMD 256 /* Firmware max BDs is 256 */ +#define QEDI_ISCSI_MAX_BDS_PER_CMD 255 /* Firmware max BDs is 255 */ #define MAX_OUSTANDING_TASKS_PER_CON 1024 #define QEDI_MAX_BD_LEN 0xffff
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com> --- drivers/scsi/qedi/qedi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)