lkml.org 
[lkml]   [2017]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] scsi: qedf: Limit number of CQs

On Tue, 25 Jul 2017, 5:19am, Thomas Bogendoerfer wrote:

> From: Thomas Bogendoerfer <tbogendoerfer@suse.de>
>
> 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@suse.de>
> ---
>
> 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@cavium.com>

\
 
 \ /
  Last update: 2017-07-25 16:34    [W:0.120 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site