summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart2018-06-26 17:24:26 +0200
committerMartin K. Petersen2018-07-11 04:15:09 +0200
commit414abe0ab66f951efe743a3293cb36ac3255214a (patch)
treeb02c0d27f741ec53e661717492af9d24c05f0ea2 /drivers/scsi/lpfc/lpfc.h
parentscsi: lpfc: Fix abort error path for NVMET (diff)
downloadkernel-qcow2-linux-414abe0ab66f951efe743a3293cb36ac3255214a.tar.gz
kernel-qcow2-linux-414abe0ab66f951efe743a3293cb36ac3255214a.tar.xz
kernel-qcow2-linux-414abe0ab66f951efe743a3293cb36ac3255214a.zip
scsi: lpfc: Make PBDE optimizations configurable
The PBDE optimizations aren't supported in all firmware revs. Make optimizations configurable in case there's a side effect on old firmware. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index 20b249a649dd..fc580a9b2bae 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -840,8 +840,7 @@ struct lpfc_hba {
#define LPFC_ENABLE_FCP 1
#define LPFC_ENABLE_NVME 2
#define LPFC_ENABLE_BOTH 3
- uint32_t nvme_embed_pbde;
- uint32_t fcp_embed_pbde;
+ uint32_t cfg_enable_pbde;
uint32_t io_channel_irqs; /* number of irqs for io channels */
struct nvmet_fc_target_port *targetport;
lpfc_vpd_t vpd; /* vital product data */