From patchwork Tue Nov 21 00:00:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 10067497 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 C0D6C60224 for ; Tue, 21 Nov 2017 00:01:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C8129194 for ; Tue, 21 Nov 2017 00:01:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7E06291AB; Tue, 21 Nov 2017 00:01:08 +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 5556829194 for ; Tue, 21 Nov 2017 00:01:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbdKUABH (ORCPT ); Mon, 20 Nov 2017 19:01:07 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:46735 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbdKUABB (ORCPT ); Mon, 20 Nov 2017 19:01:01 -0500 Received: by mail-qk0-f194.google.com with SMTP id b85so9760178qkc.13 for ; Mon, 20 Nov 2017 16:01:00 -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=PlGokXSyZSWfEp+Zw3ezXe92k0GuxAtoUxv/6FvqkPvEExQ+AVfAT2+IapC/lcJBV3 vF/4YG4m0WXhKaoxTRCvW11xcb49b0UB2D1cuo07yfnF/rWm4S//tw5WFbdVheXwQ3zi Q8d++abmT7CiDuCNb6N8IPUzaAq818FjkL/zCpTvEPzswBmJivnoAuUN7REiLY4FBStM dxuKMqxn90hNu9dEtLrf2QgWsE9PuTIoA4ypHFzIpluCAMAr+zPqIab74DzZUOFpjmZU 9b9kjdc1rMTVQywVVzBhTmInksaa9ROcd2YOMglEWeztcfbh1D/R09Oc7k9W3RM4Pv/p Mu8A== 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=evjSbFbC8eVxQpcHdQdvDWfIQK4GRlUn0RuyDnmR6P5S1rAGtgQ2xDlHIAVO/Sj0hf eh2/OqCaHlIVueNqDUdJqT4pQzjeI/s4ue9QaUSGwmzKXwtozQt0h4I/gxsfAqSxw3uO cAXImMfm+YOMSZkV9aa1mkxVOkop+SOrKq4p/4F/Q3t/HSV0EbmjnCg/FMFXlFEW1sRP kbmbA3QrJr0urqcXowwrtbS/DdPou7oYk9HfL156dthkeIgWPUPKqVPkhtYcoDY7Vw5e WA6d47lhuMdnBmF8CR+TVlpiMfjl7CuvCPiGevYxwg5jGQxG4rd6w72D2pw8j/TiUlUX rfjw== X-Gm-Message-State: AJaThX6Ek0HbOzncjknlKggvr4EM1KLv2rsKOggCQHHwYpwCooaakeNt PlcTNwaGC5l7kqoykNA3mB58xJFf X-Google-Smtp-Source: AGs4zMbLHaSTlzkpvCYoZiCX0fgrc096UZkEBBfHJyTT08nr1VV5tjLbtiBY/TLdpK2h+aEtQH3xew== X-Received: by 10.233.235.207 with SMTP id b198mr24345180qkg.55.1511222459895; Mon, 20 Nov 2017 16:00:59 -0800 (PST) Received: from pallmd1.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id w143sm1612821qka.84.2017.11.20.16.00.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Nov 2017 16:00:59 -0800 (PST) From: James Smart To: linux-scsi@vger.kernel.org Cc: James Smart , Dick Kennedy , James Smart Subject: [PATCH v3 06/17] lpfc: Raise maximum NVME sg list size for 256 elements Date: Mon, 20 Nov 2017 16:00:33 -0800 Message-Id: <20171121000044.27702-7-jsmart2021@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20171121000044.27702-1-jsmart2021@gmail.com> References: <20171121000044.27702-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. */