Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2207134ybe; Sat, 7 Sep 2019 10:54:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfE6u2N5TwvOSFywfL8kmNt0WcIDhxogy+AeFcPDLyMlr00Rk8vuvcyZsEknRA0vmJ3NE+ X-Received: by 2002:a65:5003:: with SMTP id f3mr13634432pgo.335.1567878859690; Sat, 07 Sep 2019 10:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567878859; cv=none; d=google.com; s=arc-20160816; b=IRBgEYzoHQe+ybyNRcy2wg/wUyDwUidcssJZz/I34hlYiqpVqW8bG6wAxVsjl34SP/ 5DozMo2drSQiSZczSvgR+L/dmS34ilbKXVjPL9drYDTlRmEaGEvHnc7KQxKJOshHiR6w hXOYWdG7qXCS2HM+fx1oSwGVWdAxUxv0VvHc9TK4+cXCghskGribP8QpT5l9y3g2fyOB jxMcjei5RE+IxpJovuSpSk/yYlfZTuJr2LxDhOb/5sd51kjRRHvZVhL9cLZ3Z8y/84RK a3r1NZk3StmKikmuj5R8t+NNDHm7xpbvvLt7mmP2EHbUaC9dVDbF8PWhFE5xZEpDWmhs dypw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:cc:to:from:subject:message-id:dkim-signature:dkim-signature; bh=mT8haKkeq48jzY74U+aS7EY85MUAMPWC5OIpQyGkLvM=; b=E/PpZif/Z1Z3KJxopuBMciHTSbHoQGzA98tVe45dllyEWki+oeynk0q04z5b5UC53R yDMbycm1mAxsSMG1OfAEMw+WIKgsg9thrkn1mUYY/tQTQUQ8bX5d+x2pA/GNABScZpSt h0yLoPxd6AdmdVtXgeygj7ZKH3rfzrem94qwoXAMz+n8cHTikzkpi6VabrWN6aGYYib9 4mx4VTuRyxa8l9P6Rw2EqYTf7lcyG6hFfb1h/0fX769HDTzngQinBp2+S3A4ZoUGYymg PNOhz6oldehq5QdkgjHnj6e9MNzNI4ZoCq3Hn7TnE5mVcOKTP78qZAqk0i26k54SD4sA mDig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Y0/yOPia"; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Y0/yOPia"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x185si7689730pgb.161.2019.09.07.10.54.04; Sat, 07 Sep 2019 10:54:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Y0/yOPia"; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Y0/yOPia"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388900AbfIFUjP (ORCPT + 99 others); Fri, 6 Sep 2019 16:39:15 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:60072 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbfIFUjP (ORCPT ); Fri, 6 Sep 2019 16:39:15 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id C22E88EE19C; Fri, 6 Sep 2019 13:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1567802354; bh=hcVGBLtaOsktHGS5BOv4QufOiOoMvXVDeNN1mzvGHAw=; h=Subject:From:To:Cc:Date:From; b=Y0/yOPia4JaKjKPieqqEaozXGlcMbnHpFLwMar9YU0xOa3x2ZK1YjnRg/cbDvAwDO lroKYU6AjYMYykpzyhlYg2Zy88SFeFm2j+rTB4p8oBzHeoXdlxnpu777NDFfJWGEoj eOhWGNGBq+w4fGAo+chV5zYsAbS+KakiPH00uKcg= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pIzINMY06vUa; Fri, 6 Sep 2019 13:39:14 -0700 (PDT) Received: from [9.232.197.57] (unknown [129.33.253.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id DF3D38EE088; Fri, 6 Sep 2019 13:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1567802354; bh=hcVGBLtaOsktHGS5BOv4QufOiOoMvXVDeNN1mzvGHAw=; h=Subject:From:To:Cc:Date:From; b=Y0/yOPia4JaKjKPieqqEaozXGlcMbnHpFLwMar9YU0xOa3x2ZK1YjnRg/cbDvAwDO lroKYU6AjYMYykpzyhlYg2Zy88SFeFm2j+rTB4p8oBzHeoXdlxnpu777NDFfJWGEoj eOhWGNGBq+w4fGAo+chV5zYsAbS+KakiPH00uKcg= Message-ID: <1567802352.26275.3.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 5.3-rc7 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Fri, 06 Sep 2019 16:39:12 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just a single lpfc fix adjusting the number of available queues for high CPU count systems. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: James Smart (1): scsi: lpfc: Raise config max for lpfc_fcp_mq_threshold variable And the diffstat: drivers/scsi/lpfc/lpfc_attr.c | 2 +- drivers/scsi/lpfc/lpfc_sli4.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) With full diff below. James --- diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 8d8c495b5b60..d65558619ab0 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@ -5715,7 +5715,7 @@ LPFC_ATTR_RW(nvme_embed_cmd, 1, 0, 2, * 0 = Set nr_hw_queues by the number of CPUs or HW queues. * 1,128 = Manually specify the maximum nr_hw_queue value to be set, * - * Value range is [0,128]. Default value is 8. + * Value range is [0,256]. Default value is 8. */ LPFC_ATTR_R(fcp_mq_threshold, LPFC_FCP_MQ_THRESHOLD_DEF, LPFC_FCP_MQ_THRESHOLD_MIN, LPFC_FCP_MQ_THRESHOLD_MAX, diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h index 329f7aa7e169..a81ef0293696 100644 --- a/drivers/scsi/lpfc/lpfc_sli4.h +++ b/drivers/scsi/lpfc/lpfc_sli4.h @@ -46,7 +46,7 @@ /* FCP MQ queue count limiting */ #define LPFC_FCP_MQ_THRESHOLD_MIN 0 -#define LPFC_FCP_MQ_THRESHOLD_MAX 128 +#define LPFC_FCP_MQ_THRESHOLD_MAX 256 #define LPFC_FCP_MQ_THRESHOLD_DEF 8 /* Common buffer size to accomidate SCSI and NVME IO buffers */