linux_dsm_epyc7002/drivers/scsi/lpfc
James Smart f6770e7d23 scsi: lpfc: Clean up hba max_lun_queue_depth checks
The current code does some odd +1 over maximum xri count checks and
requires that the lun_queue_count can't be bigger than maximum xri count
divided by 8. These items are bogus.

Clean the code up to cap lun_queue_count to maximum xri count.

Link: https://lore.kernel.org/r/20200128002312.16346-10-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-02-10 22:46:56 -05:00
..
lpfc_attr.c scsi: lpfc: Clean up hba max_lun_queue_depth checks 2020-02-10 22:46:56 -05:00
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func 2019-12-09 18:07:34 -05:00
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Fix Fabric hostname registration if system hostname changes 2019-12-21 13:42:42 -05:00
lpfc_ct.c scsi: lpfc: Fix coverity errors in fmdi attribute handling 2020-02-10 22:46:56 -05:00
lpfc_debugfs.c block, scsi: final compat_ioctl cleanup 2020-01-10 00:14:46 -05:00
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c scsi: lpfc: Remove handler for obsolete ELS - Read Port Status (RPS) 2020-02-10 22:46:56 -05:00
lpfc_hbadisc.c scsi: lpfc: Fix broken Credit Recovery after driver load 2020-02-10 22:46:55 -05:00
lpfc_hw4.h scsi: lpfc: Fix missing check for CSF in Write Object Mbox Rsp 2019-12-21 13:42:42 -05:00
lpfc_hw.h scsi: lpfc: Remove handler for obsolete ELS - Read Port Status (RPS) 2020-02-10 22:46:56 -05:00
lpfc_ids.h
lpfc_init.c scsi: lpfc: Clean up hba max_lun_queue_depth checks 2020-02-10 22:46:56 -05:00
lpfc_logmsg.h
lpfc_mbox.c scsi: lpfc: Add FC-AL support to lpe32000 models 2019-10-24 21:02:06 -04:00
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Make lpfc_defer_acc_rsp static 2020-01-10 01:23:47 -05:00
lpfc_nvme.c for-linus-20191212 2019-12-13 14:27:19 -08:00
lpfc_nvme.h
lpfc_nvmet.c scsi: lpfc: lpfc_nvmet: Fix Use plain integer as NULL pointer 2019-10-24 21:12:08 -04:00
lpfc_nvmet.h
lpfc_scsi.c scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path 2020-02-10 22:46:55 -05:00
lpfc_scsi.h
lpfc_sli4.h scsi: lpfc: Change default IRQ model on AMD architectures 2019-11-06 00:04:04 -05:00
lpfc_sli.c scsi: lpfc: Clean up hba max_lun_queue_depth checks 2020-02-10 22:46:56 -05:00
lpfc_sli.h
lpfc_version.h scsi: lpfc: Update lpfc version to 12.6.0.3 2019-12-21 13:42:42 -05:00
lpfc_vport.c
lpfc_vport.h
lpfc.h scsi: lpfc: Remove handler for obsolete ELS - Read Port Status (RPS) 2020-02-10 22:46:56 -05:00
Makefile