]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Fix Express lane queue creation.
authorJames Smart <james.smart@broadcom.com>
Wed, 12 Jul 2017 22:41:41 +0000 (18:41 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 14 Jul 2017 00:13:00 +0000 (17:13 -0700)
commita00ac60f7070ec540bafca53b8e3de2f3924941a
treec0500cca12f35b5674b26706b08176079a4df971
parentef18a5a354d5f5493200c4ae62b95a09105d4db8
lpfc: Fix Express lane queue creation.

[backport of 24754c5e3651ef7521cd2f8d2f7ac2c38b7bb072]
From: rkennedy <dick.kennedy@avagotech.com>

Orabug: 26439257

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>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/lpfc/lpfc_init.c