Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752328AbdGYOdq (ORCPT ); Tue, 25 Jul 2017 10:33:46 -0400 Received: from mail-bl2nam02on0041.outbound.protection.outlook.com ([104.47.38.41]:63328 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751843AbdGYOdm (ORCPT ); Tue, 25 Jul 2017 10:33:42 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Chad.Dupuis@cavium.com; Date: Tue, 25 Jul 2017 10:33:18 -0400 (EDT) From: Chad Dupuis X-X-Sender: cdupuis@n5127mncfb42q1.qlogic.org To: Thomas Bogendoerfer cc: QLogic-Storage-Upstream@cavium.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] scsi: qedf: Limit number of CQs In-Reply-To: <20170725092243.7E0CD50870B@solo.franken.de> Message-ID: References: <20170725092243.7E0CD50870B@solo.franken.de> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Originating-IP: [4.15.251.130] X-ClientProxiedBy: CY4PR21CA0039.namprd21.prod.outlook.com (10.175.113.153) To MWHPR07MB2782.namprd07.prod.outlook.com (10.169.237.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ba61e760-7630-4d81-7a7c-08d4d36a2371 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:MWHPR07MB2782; X-Microsoft-Exchange-Diagnostics: 1;MWHPR07MB2782;3:HL1ZaWacZpRq16NgL/oTc3MRyKbyAReBO0QfmuuuJyLGR2JEcRrb5/Dk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IgX2R2rfbCfM770APR185cVtayXJmFBdtEgYUiva/dz81J6Z+G+o+LSk7mDiwjbwJwD4J1f0wNAAyCG9gl7LZ9+8soa5/QkgUkt40XKR0swpA5NLA1VwoGtioRujwYyaYDBsCmWHxMZRBuegPsCtGmF/RA4k//3757asSswSIb/sFa+aT7cH/ZG4Z3UO3JI+hblTo8B50Vk3hzA+5GNDkiX83dMYfMCE+bL8OU5kL2mHCP5nDzBbt4ARi8r1cQgCos9NB+fNFy3lfcdQ= X-Microsoft-Exchange-Diagnostics: 1;MWHPR07MB2782;20:BlJVcveLaPWbRxJKn17eQpZpVHKZON+kHTr7VeZJrqjqnXEujp/QUzZulyZaqz6qUjKzmPb9tZHI26tWRy+sEnO5lodkq6iXVZrI5BdqKKDpi53khqatPu7TQBv3MIHd2rVxPlscq1YzZu2U/qYCLImQhXfl2H69aT3EexH2mSmF0Xo89l0bycacGqZWoaN05H3vLRBpLhWVHq7lFCVCYDZ1CN+UojMUuV4y6QwBnhhr2iCgyYBRb+xdMNE0MzJw0Qrl2xup2dOVl9VW+tn2tTZ5AE+U9rZhIJojTtgKaGVtSQOptIo6zJBKSb6GTpEhjRG+UKhH/nfxirEZ2Dfgoztc9aDKWPTLFdUi2ktzsvGNk+oyfU1VnvmN4f3i9yPCGT8mnTMOYjQ0fyB7wi0RSk5HzpZNmmZiZ37LPy1iAI29d/19Pg9QOxZ44ZNxDqWB60gq/2DIEnF/U7RSqvOWI5MaTGHdrqmFNis6R70xf6J2cHjiMJcypd1KxoJSlvN4 X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR07MB2782;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR07MB2782; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR07MB2782;4:Eb7Iue4OPoUQdRIS57YlfaaQrw7dG8mFKSd2uIH6vd?= =?us-ascii?Q?7TOgCR/Ha49CmtKkSGNgZCg4pGET0gbgbbwk6QVBYq+gusGtES0V1Ys4sqZn?= =?us-ascii?Q?LXlsY3mE/rfFKTMEuctbaHs9lznRnSZGlBLM1aoMMjjmMzVJ0EiyhFxGcMuQ?= =?us-ascii?Q?qko1Gh/wxn4BZw3OSwK/sHbrFGI9nBtHeH0qkrCu2IjQ1wn+/fW/e7nG0K5N?= =?us-ascii?Q?YEnpBP1iE1ptSDfWyqLgs0T1ZiR7ANnsDauRULDl0E2YPyiYbZHI895GmVO+?= =?us-ascii?Q?vZ1ZpGBnA8PwfiKx04Bhxb3Ja+1U9HT71YTwkJGw8/LyATYN58X++Ys3T+gn?= =?us-ascii?Q?nYWdm+cNhnXzCJCLcg6dmatOQ1o1li8tRNwA/35G5ouV1+qGK0JmCnhrDS4O?= =?us-ascii?Q?YHzbugeM1dbP+/o4p6tyzcO2GqjEoUkmVscpab6BgvmEhAUBSa1bgsu4SB6a?= =?us-ascii?Q?MGoKgoos+HlW1fqbaXYtGo6hdCtXwYeHCDEvoOKaV+1GWIKwVnrrmD/TUN8Y?= =?us-ascii?Q?UBDwfI5Po5x6pXjT2N+GqGtEq9RsyhIcgeu8Scj6I157tO/INDsFU343ECV+?= =?us-ascii?Q?46VnUwyC6Z3VFn3Huqyje5ztq9K9+CM12irAlMYxeCR21VMnqXzl6ftIAXwp?= =?us-ascii?Q?hC2waKrM3Wzue5TO0ZhaLxZP0iDmx9kL4gyVfTX8fJFKPeeXSAwvs/20pe1O?= =?us-ascii?Q?ukMrXEO2VYI/4wHds0KeYABK5jEGMxVvZCUZI7oj49IhcuAKYCx3b+/nGVyl?= =?us-ascii?Q?SOp1JxXg+2Q9Ar/aQUlYObqklHLYPh1KoJ5/tQunkNAifOKcijQJeFdoP9Kb?= =?us-ascii?Q?TaLMPp9+FzqaGPBDMimMtpeeus9u8MYXfWGNYGp/Xnn0/I0gsG7AY4PXGCWU?= =?us-ascii?Q?XfFsJsR8o/8mJLb/VXnmud4eL8mFeqmzQsx7kcDpJBV/PD90CLgjLydmRZfe?= =?us-ascii?Q?Kv+ir8m5ve4BjvABlFAC1WByKPn7FwTyNwgfkn6oCOuBlnq0RdgI0n4cIhjN?= =?us-ascii?Q?8nw2ZAi/APv69uLuo1H7Egw17Tb3UE6RjvbhQ5rqAtXjhrSwdY4gak9ti33T?= =?us-ascii?Q?do/SvRxEcU2xfPSYUBrgmMFHUA5/7Lps0sSx1+FKZsgnhQK1gY87LBiL/ob3?= =?us-ascii?Q?ZJfFTuE12PBQ/rkJrgfWD22n+0V5Dm?= X-Forefront-PRVS: 03793408BA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(39840400002)(39860400002)(39850400002)(39400400002)(39410400002)(39450400003)(24454002)(189002)(199003)(9686003)(110136004)(2906002)(6916009)(23726003)(8676002)(2950100002)(229853002)(83506001)(6116002)(5660300001)(81156014)(81166006)(6506006)(305945005)(4001350100001)(66066001)(3846002)(5005980100005)(47776003)(68736007)(7736002)(97736004)(54356999)(72206003)(189998001)(76176999)(105586002)(50986999)(478600001)(7350300001)(6666003)(4326008)(106356001)(25786009)(55016002)(53416004)(6246003)(101416001)(38730400002)(69596002)(53936002)(86362001)(37156001)(42186005);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR07MB2782;H:n5127mncfb42q1.qlogic.org;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR07MB2782;23:VFU/HH+zzrg/P+iaMVi4S9M3kBgMeQSnaKXUcE+B8?= =?us-ascii?Q?x//IskQW5J+z5NbyQEPgmJPtbDWSZcoZ8CRQboKL1cVlycSJnERbHEFv7Mdl?= =?us-ascii?Q?vUwedUipDPmcfdRJb2F2bRvTFOIcOR90Sxjk1WiETE2cKh1yYauyFmi0s5VT?= =?us-ascii?Q?8SdP9r8cmp5G2z4CbB3MZqhfo2B7NBIAEuvfTNQ3P4xScnB7Od//dJBwTS/0?= =?us-ascii?Q?d26MBvmWKZ8eZU6rdqriUO4l/xbPJggODSVlkTikwYuRZnLKcTHqIDXULIyp?= =?us-ascii?Q?f/fzE3im8LGIbd1n9+H4iyyUCtNqsH6/+4TGqLHwKngVXLf51uXJqMVIwdzm?= =?us-ascii?Q?BNdWMN+khGRrReLzthyYKbKzO2Y0Ht5J+mADFunsB4jLPLV6uVU7c03NXIfY?= =?us-ascii?Q?APtx2EDkCDimfczCaEwxPURK2pTBFk1NpqATEqgnsO4882uwcssKPVJubl1I?= =?us-ascii?Q?UTTJP4ar+CgaR6fLra14TJpGzKOKNncxlIRDlsxtvAgZIvUXYYN3waDryRmj?= =?us-ascii?Q?30AbYWQbvpBal0Vh4c3n5Zu84SzEYkDfEf9yjNJk4x802SQNs7cuJ5qHSEO3?= =?us-ascii?Q?NSWQzzdndbBjvtXiJodBvqp6SmNLCYWd3RZdqj6Az0QuQS6yru1lZ7O33eVE?= =?us-ascii?Q?fpnzluXk25HVyh69aknRUGnYK+3Per/sXNDKWCIt3zzR3sXjri28Z/DR+yjT?= =?us-ascii?Q?fVqfN5LAO8VG74e4oflVG6WoXm0aFrg66B8fsgqTMsM86gZsv/SXXNfNKC+J?= =?us-ascii?Q?q4+lv0SGeX1IwzqJfoRiBfuI8b0+AoIjx7hqveY5Ywk1Ym7U91IpRt/JDmMI?= =?us-ascii?Q?9794IANmtNtzlni1lPja3VQSO88fPmz587fPREZEU7o+3pJqPouXGgmvv1Ry?= =?us-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HlVou5syf8LYFmbrbMBrB6WUHMxTGL4OLomJOvE+l3vdWGuvdBfdPeRvoa1jTM3OIj4VK3EaxR3QRghZiH/3LmpW/YOhiy5nYrBrXZGEtgMa4WxBsp+u5FOfmca9YF0M9YAaKtZnd49XpWOodKi4SNxBNR8JIOLOw2wILj6qlB62XyN22wqxybNiQXbe+Y6t7iPItXUNRgiFpP/tkxzFEJACpiBBLdPtRgCBBWtiyK2PMNVLi+SK4fN3WqLkdD8mJRAA2CR6RKYeTSiDf0N1kZZ3cT4oTDrd81Aj/IDu9R39RnSHASTwpM5c/UZcHhlTaZDrELcpLtY= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2017 14:33:37.1184 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB2782 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 31 On Tue, 25 Jul 2017, 5:19am, Thomas Bogendoerfer wrote: > From: Thomas Bogendoerfer > > 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 > --- > > 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