]> git.baikalelectronics.ru Git - kernel.git/commit
Fix Express lane queue creation.
authorJames Smart <jsmart2021@gmail.com>
Fri, 21 Apr 2017 23:05:05 +0000 (16:05 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:25:49 +0000 (09:25 +0200)
commitda793646ef7749569ce44d5907d717959ed42f1d
tree472dc72444b0ce883c0fc06ccd002d0cfa1968ae
parent879d68305a42d9f8468b9ac1e4be8cb1c25cc994
Fix Express lane queue creation.

The older sli4 adapters only supported the 64 byte WQE entry size.
The new adapter (fw) support both 64 and 128 byte WQE entry sizies.
The Express lane WQ was not being created with the 128 byte WQE sizes
when it was supported.

Not having the right WQE size created for the express lane work queue
caused the the firmware to overwrite the lun indentifier in the FCP header.

This patch correctly creates the express lane work queue with the
supported size.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/scsi/lpfc/lpfc_init.c