On Sat, 7 Apr 2018 11:30:20 -0700 James Smart <jsmart2021@xxxxxxxxx> wrote: > The patch to enlarge WQ/CQ creation keys off of an adapter > response that indicates support for the larger values. Older > adapters return an incorrect response and are limited in size. > Thus the adapters fail the WQ creation steps. > > Augment the WQ sizing checks with a check on the older adapter > types and limit them to the restricted sizes. > > Fixes: c176ffa0841c ("scsi: lpfc: Increase CQ and WQ sizes for SCSI") > Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > drivers/scsi/lpfc/lpfc_hw4.h | 12 ++++++++++++ > drivers/scsi/lpfc/lpfc_init.c | 15 +++++++++++++++ > drivers/scsi/lpfc/lpfc_sli4.h | 1 + > 3 files changed, 28 insertions(+) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes