* [PATCH] qedf: Update the max_id value in host structure.
@ 2021-05-28 0:32 Javed Hasan
2021-06-02 2:46 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Javed Hasan @ 2021-05-28 0:32 UTC (permalink / raw)
To: martin.petersen; +Cc: linux-scsi, GR-QLogic-Storage-Upstream, jhasan
From: Saurav Kashyap <saurav.kashyap@cavium.com>
- Update the max_id value in host structure.
Signed-off-by: Saurav Kashyap <saurav.kashyap@cavium.com>
---
drivers/scsi/qedf/qedf_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index c5f37277..322046f4 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -2089,6 +2089,7 @@ static int qedf_vport_create(struct fc_vport *vport, bool disabled)
vn_port->host->max_lun = qedf_max_lun;
vn_port->host->sg_tablesize = QEDF_MAX_BDS_PER_CMD;
vn_port->host->max_cmd_len = QEDF_MAX_CDB_LEN;
+ vn_port->host->max_id = QEDF_MAX_SESSIONS;
rc = scsi_add_host(vn_port->host, &vport->dev);
if (rc) {
@@ -3855,6 +3856,7 @@ static int __qedf_probe(struct pci_dev *pdev, int mode)
host->transportt = qedf_fc_transport_template;
host->max_lun = qedf_max_lun;
host->max_cmd_len = QEDF_MAX_CDB_LEN;
+ host->max_id = QEDF_MAX_SESSIONS;
#ifdef USE_BLK_MQ
host->use_blk_mq = qedf_use_blk_mq;
if (shost_use_blk_mq(host)) {
--
2.18.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] qedf: Update the max_id value in host structure.
2021-05-28 0:32 [PATCH] qedf: Update the max_id value in host structure Javed Hasan
@ 2021-06-02 2:46 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-06-02 2:46 UTC (permalink / raw)
To: Javed Hasan; +Cc: martin.petersen, linux-scsi, GR-QLogic-Storage-Upstream
Hi Javed!
> From: Saurav Kashyap <saurav.kashyap@cavium.com>
>
> - Update the max_id value in host structure.
>
> Signed-off-by: Saurav Kashyap <saurav.kashyap@cavium.com>
This patch is missing your Signed-off-by: as well as a description of
why max_id needs to be updated.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-02 2:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 0:32 [PATCH] qedf: Update the max_id value in host structure Javed Hasan
2021-06-02 2:46 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).