diff options
author | Quinn Tran <qutran@marvell.com> | 2023-07-14 10:00:56 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-23 23:27:47 +0300 |
commit | efa74a62aaa2429c04fe6cb277b3bf6739747d86 (patch) | |
tree | 189678d486a70aba4018788a162ba211bd6e3a42 /drivers/irqchip/irq-sifive-plic.c | |
parent | 6dfe4344c168c6ca20fe7640649aacfcefcccb26 (diff) | |
download | linux-efa74a62aaa2429c04fe6cb277b3bf6739747d86.tar.xz |
scsi: qla2xxx: Adjust IOCB resource on qpair create
During NVMe queue creation, a new qpair is created. FW resource limit needs
to be re-adjusted to take into account the new qpair. Otherwise, NVMe
command can not go through. This issue was discovered while
testing/forcing FW execution to fail at load time.
Add call to readjust IOCB and exchange limit.
In addition, get FW state command and require FW to be running. Otherwise,
error is generated.
Cc: stable@vger.kernel.org
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230714070104.40052-3-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/irqchip/irq-sifive-plic.c')
0 files changed, 0 insertions, 0 deletions