diff options
author | James Smart <jsmart2021@gmail.com> | 2021-07-22 15:17:17 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-27 00:06:40 -0400 |
commit | df3d78c3eb4eba13b3ef9740a8c664508ee644ae (patch) | |
tree | 244dd0d516a1d7411b9baaee34bf95a18fba591b /drivers/scsi/lpfc/lpfc_init.c | |
parent | scsi: lpfc: Add PCI ID support for LPe37000/LPe38000 series adapters (diff) | |
download | linux-dev-df3d78c3eb4eba13b3ef9740a8c664508ee644ae.tar.xz linux-dev-df3d78c3eb4eba13b3ef9740a8c664508ee644ae.zip |
scsi: lpfc: Fix cq_id truncation in rq create
On the newer hardware, CQ_ID values can be larger than seen on previous
generations. This exposed an issue in the driver where its definition of
cq_id in the RQ Create mailbox cmd was too small, thus the cq_id was
truncated, causing the command to fail.
Revise the RQ_CREATE CQ_ID field to its proper size (16 bits).
Link: https://lore.kernel.org/r/20210722221721.74388-3-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
0 files changed, 0 insertions, 0 deletions