From patchwork Fri Nov 10 01:08:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 10052247 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 DC8066032D for ; Fri, 10 Nov 2017 01:09:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF11D2B20E for ; Fri, 10 Nov 2017 01:09:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1B6F2B227; Fri, 10 Nov 2017 01:09:35 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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 B7F922B20E for ; Fri, 10 Nov 2017 01:09:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755472AbdKJBJU (ORCPT ); Thu, 9 Nov 2017 20:09:20 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:56506 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755255AbdKJBIt (ORCPT ); Thu, 9 Nov 2017 20:08:49 -0500 Received: by mail-qk0-f193.google.com with SMTP id 2so9301989qkg.13 for ; Thu, 09 Nov 2017 17:08:49 -0800 (PST) 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=DI0Mxg6k8axaLtlgqtxIHJjvgTq1csdYefpgnXOpUYY=; b=iYjKTeMCG0EAP0A5xkYtQrow4/oek0GnyXHuYxqKbaRGftdrjFsQxOeY9LUWd7lmFA 4Qd3I8TTvHrwptUo7uJryxzboBOZAJUjiYoMkmdn0vMWGK7lL/WWVtcIH02gW7xh5Unv uayPFaUQCLz9VFMUBBVziyo4wZvnjrEz5gMI4uwenLypAK2UUzYA5mGQhdS2HM2tX+e/ F1sSgMDvEX0bd2LMKLFGP/ML3U99NCBBFpd9EoOigd6NuCHWKDdE7VfdgeyU+L6rnSgK bwgo10LKzWL2xdHS4WDF3tRAoXUDWMPSctLNkob9soq1+Bko5K1eorC9a6cQe+jrraiV TRqg== 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=DI0Mxg6k8axaLtlgqtxIHJjvgTq1csdYefpgnXOpUYY=; b=oQT6jBhf95ICz1a1dmj8o4/rQmvE2h7Hidzv/bzvejNzf51FQQrfyAGcJikqsyhVqW Z2sXK5ohTdyaJ2gYUozOK3dQk44b/uQYGPmHdYP9yVAo6MJI0BIgvT9+xa0wF4P2ttYf 1qEXfPrZkQ9K5R9zsfCJzNXf1sp3HC1hQPzIDxdM+9uvRE9RIWPzfGHrCmckO3laGm+Y MorBRzej7qdcwHXCSEo5BS8psAmLspfFVekwSzkSkWQACyBVKnkGJ/ZaTOyzfVY5F3uG 0z+HuIK1qzDeq3BHIvXsjjShYWhYgMeZARh6gai3qXfrHCH5wnBxTdqaP2+CdUToVVq7 VRKQ== X-Gm-Message-State: AJaThX7dOr1m/LFYAzHkUw8nxruFEk8qpPLN3UJdOgW8pXUqwuzoDvYa 4lUEPbcaCIA3v6ZIWl2kY5duL6IB X-Google-Smtp-Source: ABhQp+SIOQuOui7jyyGR8Ymq4grdzcb8DUsiAkpbmfShR5enVBIdzMSG4t6mUPGgUh3ANKeJ/bYzfQ== X-Received: by 10.55.4.148 with SMTP id 142mr4076159qke.121.1510276128780; Thu, 09 Nov 2017 17:08:48 -0800 (PST) Received: from pallmd1.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id j48sm5661969qta.96.2017.11.09.17.08.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Nov 2017 17:08:48 -0800 (PST) From: James Smart To: linux-scsi@vger.kernel.org Cc: James Smart , Dick Kennedy , James Smart Subject: [PATCH v2 06/17] lpfc: Raise maximum NVME sg list size for 256 elements Date: Thu, 9 Nov 2017 17:08:23 -0800 Message-Id: <20171110010834.4542-7-jsmart2021@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20171110010834.4542-1-jsmart2021@gmail.com> References: <20171110010834.4542-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. */