mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 21:51:27 +00:00
qla2x00t-32gbit: Check for firmware capability before creating QPair
Add firmware capability check of multiQ specifically for ISP25XX before creating qpair. Link: https://lore.kernel.org/r/20210908164622.19240-4-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> [ commit 8192817efbc3 upstream ]
This commit is contained in:
@@ -3397,6 +3397,10 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
host->can_queue, base_vha->req,
|
||||
base_vha->mgmt_svr_loop_id, host->sg_tablesize);
|
||||
|
||||
/* Check if FW supports MQ or not for ISP25xx */
|
||||
if (IS_QLA25XX(ha) && !(ha->fw_attributes & BIT_6))
|
||||
ha->mqenable = 0;
|
||||
|
||||
if (ha->mqenable) {
|
||||
bool startit = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user