linux/drivers/scsi/qedf
Thomas Bogendoerfer 722477c4f2 scsi: qedf: Limit number of CQs
FCOE offloading failed with:

[qed_sp_fcoe_func_start:150(sp-0-3b:00.02)]Cannot satisfy CQ amount. CQs
		 requested 8, CQs available 6. Aborting function start
[qed_fcoe_start:821()]Failed to start fcoe
[__qedf_probe:3041]:6: Cannot start FCoE function.

The reason is a newly introduced check in the qed main part. This change
also provides the information about how many CQs are available, so we
simply limit the number of requested CQs..

Fixes: 3c5da94278 ("qed: Share additional information with qedf")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-07-26 22:00:39 -04:00
..
Kconfig
Makefile qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
drv_fcoe_fw_funcs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_fcoe_fw_funcs.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_scsi_fw_funcs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_scsi_fw_funcs.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf.h scsi: qedf: Limit number of CQs 2017-07-26 22:00:39 -04:00
qedf_attr.c scsi: qedf: Add fka_period SCSI host attribute to show fip keep alive period. 2017-06-12 20:48:06 -04:00
qedf_dbg.c
qedf_dbg.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_debugfs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_els.c scsi: qedf: Fixup unnecessary parantheses around test_bit operations. 2017-06-12 20:48:06 -04:00
qedf_fip.c SCSI misc on 20170704 2017-07-06 12:10:33 -07:00
qedf_hsi.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_io.c scsi: qedf: Check if sense buffer has been allocated during completion 2017-06-12 20:48:08 -04:00
qedf_main.c scsi: qedf: Limit number of CQs 2017-07-26 22:00:39 -04:00
qedf_version.h scsi: qedf: Update version number to 8.18.22.0. 2017-06-12 20:48:06 -04:00