Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0622800d authored by James Smart's avatar James Smart Committed by Martin K. Petersen
Browse files

scsi: lpfc: Raise config max for lpfc_fcp_mq_threshold variable



Raise the config max for lpfc_fcp_mq_threshold variable to 256.

Signed-off-by: default avatarDick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: default avatarJames Smart <jsmart2021@gmail.com>
CC: Hannes Reinecke <hare@suse.de>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 77ffd346
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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 */