From patchwork Fri Nov 3 22:56:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 10041309 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 967EA60384 for ; Fri, 3 Nov 2017 22:57:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 890A9299CE for ; Fri, 3 Nov 2017 22:57:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E1D5299EB; Fri, 3 Nov 2017 22:57:09 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 285DD299CE for ; Fri, 3 Nov 2017 22:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756141AbdKCW4t (ORCPT ); Fri, 3 Nov 2017 18:56:49 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:51595 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756073AbdKCW4n (ORCPT ); Fri, 3 Nov 2017 18:56:43 -0400 Received: by mail-qt0-f194.google.com with SMTP id h4so5041723qtk.8 for ; Fri, 03 Nov 2017 15:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xDgNknbb1URfq4O2BOOCmm6q54RCGaplTPVcdbsBw1k=; b=iauM9KGFOoIyd5I6O4Q1eNrqAzzWfRTdpIXcE1+cbuRIaOC1y8ofCvAjH5uoF300e1 A+qRRdkEyBbcB4q00COSRv9rajPQqqRdNHIJCLG/OruB+wzzuMdyPEM67Hbejc09vPbq RqUDCNFVifcEAKYkTKCAe/tpYO4ZaEtjPuXh/1TGqY3a6qihajRHnngw+8TXW7cfDmcT smSIe3UH3pXYiqHN92wLTM3euDS7PgsJrVanBvMJSRPRpn7Ss6EgG2tlEUAiVuXcRrHW GipWVkMSEBgpAqujCeczs29l/OZWM1jiy4+a3P38Wb415cpAfwyxVCBKFDQBNWkt9NZ/ 6JLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xDgNknbb1URfq4O2BOOCmm6q54RCGaplTPVcdbsBw1k=; b=IgwbQIpDQ99er25pxGv4gJHCQ0AFDJr4YCbfaYWOwmA48w5u/Tg3dR0wF1nwgIlzN9 p+adF69duSyL4XAYyWpc7E2ATNYYYirw8SUHAiNsM6KzqLnf43mnr9OHXURUeecHlKqy wWbfPNl4eck15p3puJHYK5yFmw4+tTjyGynCYH+DrjTY/L7Fiu4xZvC7SMbRT+uZ7iKs owJBt2zHMLCp0kFJ7nPqATwdlPclv8PaSQ97W6F7cwQNrwcjntv0wUra+sTcwk9zNL7o SnYAV1HT4hmhMHPIVSYZ0VXYewHIeFFgwj1h0bFNh2C0iF9sGM7ZA0otQyGmRo34FGPl Mo9Q== X-Gm-Message-State: AMCzsaWvzPKrk+tE++y1//zmVancQX/SZQir3T3TQVRQmkuiSLeJYuIN MJf95XUbNzU0koq07ZYdeqCJXPQe X-Google-Smtp-Source: ABhQp+SSdzTDs2dSrYFxhChNipYrtJVeoJbFNh4Mf1u/dg+zmEonR+UcmtqsLGyGPVp9j2jsrcGOKQ== X-Received: by 10.237.60.3 with SMTP id t3mr12046989qte.138.1509749803097; Fri, 03 Nov 2017 15:56:43 -0700 (PDT) Received: from pallmd1.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id v21sm4765626qtv.21.2017.11.03.15.56.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 15:56:42 -0700 (PDT) From: James Smart To: linux-scsi@vger.kernel.org Cc: James Smart , Dick Kennedy , James Smart Subject: [PATCH 06/17] lpfc: Raise maximum NVME sg list size for 256 elements Date: Fri, 3 Nov 2017 15:56:17 -0700 Message-Id: <20171103225628.24716-7-jsmart2021@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20171103225628.24716-1-jsmart2021@gmail.com> References: <20171103225628.24716-1-jsmart2021@gmail.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Raise the maximum NVME sg list size allowed to 256 elements. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Reviewed-by: Hannes Reinecke --- drivers/scsi/lpfc/lpfc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 7219b6ce5dc7..46a89bdff8e4 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h @@ -57,7 +57,7 @@ struct lpfc_sli2_slim; #define LPFC_MAX_SG_SEG_CNT 4096 /* sg element count per scsi cmnd */ #define LPFC_MAX_SGL_SEG_CNT 512 /* SGL element count per scsi cmnd */ #define LPFC_MAX_BPL_SEG_CNT 4096 /* BPL element count per scsi cmnd */ -#define LPFC_MAX_NVME_SEG_CNT 128 /* max SGL element cnt per NVME cmnd */ +#define LPFC_MAX_NVME_SEG_CNT 256 /* max SGL element cnt per NVME cmnd */ #define LPFC_MAX_SGE_SIZE 0x80000000 /* Maximum data allowed in a SGE */ #define LPFC_IOCB_LIST_CNT 2250 /* list of IOCBs for fast-path usage. */