On Tue, 25 Jul 2017, 5:19am, Thomas Bogendoerfer wrote: > From: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx> > > 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: 3c5da9427802 ("qed: Share additional information with qedf") > Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx> > --- > > Changes in v2: > - integrated suggested change from Chad Dupuis > > drivers/scsi/qedf/qedf.h | 3 ++- > drivers/scsi/qedf/qedf_main.c | 20 +++++++++----------- > 2 files changed, 11 insertions(+), 12 deletions(-) > V2 looks good. Acked-by: Chad Dupuis <chad.dupuis@xxxxxxxxxx>