Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2936803pxb; Tue, 12 Jan 2021 02:13:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsA1QByk2AL2ILjDhVHzTSh/YT0UPLqQdcGUxG057PXhiCCjyFa1QZXQ8cMnv2m2WSlCo2 X-Received: by 2002:a17:906:804c:: with SMTP id x12mr1410497ejw.42.1610446433175; Tue, 12 Jan 2021 02:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610446433; cv=none; d=google.com; s=arc-20160816; b=HHc8qCV0dprk0biYNJy7vD9xfHRdOb98r0n2KEyrb6PKtbV/13ehsf6SFhf90qoFIs h8rCWCER1q9hyWCw5N9UfgE2XbnY0T22PEqCvPWB4AW0jHSGI7+4osD/M63C6IB6qdie J+gD+eFRRlBjQm+qmGYmlrjQ3p5RRKItHOvPsC9/jD3sDD+iTuvS/+STQqhnWuzu/h+y nkpGRoYMsTinmdqanTRUwzE3EP+66mRXF/orN8RrpIC+YZDKYO6J7LrxvYovV81D+0xw hBy33Yk+gB5yBS6kFb48ZWi/rVWMPLS01udU3Auhz32Q05pheu98XTPrI0AYCcnczOuz zr5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=e/g278L8vvPF3KlzSvgAs3eL73hhc7XdsrgFqfIR1kA=; b=OAtqqaatZoNXgEA7+FBItQIe3vxNGYnoUZeFUPI9GnvwvG65G7H8Sb5jcmGSWQ0e9Q idd25K2YSK6jOcrx4VIzIkJC6+hMtIYpKUcQ0YUVraNPceYwulfrsvJ9CNtEkOauaaVY qTAQjM0OFqjsxduxTV/4C8P33jTIIyUFRST9wQWjnTDLkAcq+1816KLi3bBBlTG2iD7e cAFloDbmlZKCEJVTF2+9ASjck3QmXtmyImG46x9ZaOzNur6arYpS7c4/sAeashsrjFat FmkKRYp1mS0dQq1lBrbQ10OevR0+aIjhx/9QpsaKL0xopVtdUPJ15MqpovOpiC2JoO85 khrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GPfnEaRm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si1139579eds.180.2021.01.12.02.13.29; Tue, 12 Jan 2021 02:13:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GPfnEaRm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404582AbhALAY4 (ORCPT + 99 others); Mon, 11 Jan 2021 19:24:56 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58832 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403885AbhAKXNY (ORCPT ); Mon, 11 Jan 2021 18:13:24 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 10BN2810093026; Mon, 11 Jan 2021 18:12:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=e/g278L8vvPF3KlzSvgAs3eL73hhc7XdsrgFqfIR1kA=; b=GPfnEaRmiEVX58UoMX/5hXTM1BeisX91LCAADANJkRpaKr3F8oSUaP7kE9cpcCWdyHWs xog0GfbJcHz9HrMa9os5BqzZ2cLhYYmAzBLecbphQrx5C5DNwuhOldABRkjt4x3qAh3x wWudq2ttkCqOJT4A/c+KKIXNyyLqz0YsulRXbgumTY0RKS+aTkz4EUhOmsJrdUGCwj1T rH81HU6jTvDl1KBb6VUQvHDxoUqWmBtUIUX0OgjNOkOfs9GpGSLa8t0oFEtra8FLCFxr /m6AvsqQpTAun/CChKnMn3BCUhV77ctfCXNuJQ6Z62IrC7gIf3J4m03dS8ZKHJP8A3AQ vQ== Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com with ESMTP id 360y91sb5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Jan 2021 18:12:40 -0500 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 10BN9s7U009902; Mon, 11 Jan 2021 23:12:39 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma02wdc.us.ibm.com with ESMTP id 35y448syah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Jan 2021 23:12:39 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 10BNCbQR22086016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 Jan 2021 23:12:37 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 898C27805F; Mon, 11 Jan 2021 23:12:37 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1EB3E7805E; Mon, 11 Jan 2021 23:12:37 +0000 (GMT) Received: from vios4361.aus.stglabs.ibm.com (unknown [9.3.43.61]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 11 Jan 2021 23:12:37 +0000 (GMT) From: Tyrel Datwyler To: james.bottomley@hansenpartnership.com Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com, Tyrel Datwyler Subject: [PATCH v4 20/21] ibmvfc: enable MQ and set reasonable defaults Date: Mon, 11 Jan 2021 17:12:24 -0600 Message-Id: <20210111231225.105347-21-tyreld@linux.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210111231225.105347-1-tyreld@linux.ibm.com> References: <20210111231225.105347-1-tyreld@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-11_32:2021-01-11,2021-01-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=841 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101110126 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Turn on MQ by default and set sane values for the upper limit on hw queues for the scsi host, and number of hw scsi channels to request from the partner VIOS. Signed-off-by: Tyrel Datwyler --- drivers/scsi/ibmvscsi/ibmvfc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h index c3bb83c9d8a6..0391cb746d0b 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.h +++ b/drivers/scsi/ibmvscsi/ibmvfc.h @@ -41,9 +41,9 @@ #define IBMVFC_DEFAULT_LOG_LEVEL 2 #define IBMVFC_MAX_CDB_LEN 16 #define IBMVFC_CLS3_ERROR 0 -#define IBMVFC_MQ 0 -#define IBMVFC_SCSI_CHANNELS 0 -#define IBMVFC_SCSI_HW_QUEUES 1 +#define IBMVFC_MQ 1 +#define IBMVFC_SCSI_CHANNELS 8 +#define IBMVFC_SCSI_HW_QUEUES 8 #define IBMVFC_MIG_NO_SUB_TO_CRQ 0 #define IBMVFC_MIG_NO_N_TO_M 0 -- 2.27.0