From patchwork Wed Apr 25 13:08:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dupuis, Chad" X-Patchwork-Id: 10363157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9FFA6601D3 for ; Wed, 25 Apr 2018 13:09:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FB0828DF6 for ; Wed, 25 Apr 2018 13:09:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8479E28E00; Wed, 25 Apr 2018 13:09:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3022B28DF6 for ; Wed, 25 Apr 2018 13:09:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753941AbeDYNJV (ORCPT ); Wed, 25 Apr 2018 09:09:21 -0400 Received: from mail-bl2nam02on0045.outbound.protection.outlook.com ([104.47.38.45]:52288 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753939AbeDYNJQ (ORCPT ); Wed, 25 Apr 2018 09:09:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Z5YwVkeOuc9T+n5XzL2FZVEL1yWh0Ys/gWZzFHiWadk=; b=T4RBGpkLUgUsHKUmFQeBF/YlILkRn0cE4bwfLVnG8Z5tZBKd2BSItRQvrY1iQ4Rra4yWc1umn2xdT5wTbl6cVEPipqaqUEd1GP4sckhSsG9seIdo0bNORdjzeuxb2AyepLzNMd9eofmkca8p+ZYczAIbo02G0PUnla6YLB9jkAo= Received: from SN4PR0701CA0011.namprd07.prod.outlook.com (2603:10b6:803:28::21) by CY1PR07MB1512.namprd07.prod.outlook.com (2a01:111:e400:50ed::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Wed, 25 Apr 2018 13:09:15 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::173) by SN4PR0701CA0011.outlook.office365.com (2603:10b6:803:28::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Wed, 25 Apr 2018 13:09:14 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.653.14 via Frontend Transport; Wed, 25 Apr 2018 13:09:14 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 25 Apr 2018 06:09:20 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id w3PD96KF006428; Wed, 25 Apr 2018 06:09:06 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w3PD96e5006427; Wed, 25 Apr 2018 06:09:06 -0700 From: Chad Dupuis To: CC: , , Subject: [PATCH 02/21] qedf: Increase the number of default FIP VLAN request retries to 60. Date: Wed, 25 Apr 2018 06:08:46 -0700 Message-ID: <20180425130905.6385-3-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180425130905.6385-1-chad.dupuis@cavium.com> References: <20180425130905.6385-1-chad.dupuis@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39850400004)(346002)(376002)(39380400002)(2980300002)(438002)(189003)(199004)(356003)(2906002)(6916009)(50226002)(4326008)(72206003)(8676002)(47776003)(478600001)(81166006)(87636003)(305945005)(6666003)(81156014)(1076002)(16586007)(42186006)(106466001)(8936002)(48376002)(50466002)(336012)(51416003)(107886003)(59450400001)(186003)(2351001)(54906003)(86362001)(106002)(76176011)(5660300001)(69596002)(36756003)(44832011)(486006)(2616005)(26005)(11346002)(126002)(80596001)(446003)(316002)(476003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB1512; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Pass; LANG:en; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:7+hbqaKKtoeusdV6aEO1Bb0xGKIEmUE7NRfDWPQnwcHKYEo4lkUUhc2ByYZcpkJ+7+oUpa0CaiMXISIzdRGbxIvcHRgH3pNJxCX8oOGyv+cZaRxsvKFo/uyNs2qpJVZQ X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:CY1PR07MB1512; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB1512; 3:te3MvZeByUP6tRx262ed3XdMqy42BofmvooEmOu5t0yvuDzR+DsWg+kPybrhprrGB3ENh3nmBxkdJueAl/nD7E4wqLBEiBUqZePBGx/z5/jL3/WFQzxUyQXVm7Oh8r+2A2lMcp3UoIYRmZkgKI97h9jm8sDCDIHyBsz5ojIIm0Zc7ZkJC29qvK4TopLABX9ME+AG0+lkS8kiq1G7d1gzlCWmAGNUaPj8err8HPmXkBHKoeyO8phvS+38urLFJtxQPTiXCb6Cd4WObFtB4L2Ispcc/B/PFMfT+su/stKAGjLYu6g0dUqw444OMkPbPETvfpklpA6+NLR7qDw/AQ07ygS2nMKaqvcUNZFm2+zBw9U=; 25:du98jPyhFO+ASonS0NRBlxu9YY9ExFeAi4qfmjWlPaChhKT+5T0Q0bXG2DxN1fNnOuAJigpq5wafH4cG6cjPXS3zqjI7aKaIr0J3LEmb9fNU/h00Vvt1s0Sgv/lawwms0sq0p6edd1gJKWi7AdG9SSqFj4AFM0hEjzEEirIC8XSTwUmxaRFq4uVPZ9RBtK8luBfuxcmO436VK/8GgmJ/dEJ8KFvHapuAps2d6EAsFi9UbobyxluLqHibkmxoMu47qcXWf7oPWFREe/gOCsoUaLvCRJexqLP2Sd251L+jCdFLAc+ewNLNVo72+3z676fRR6yy3RfE++ZpaJaAV+aACw== X-MS-TrafficTypeDiagnostic: CY1PR07MB1512: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB1512; 31:TM0T4CPfoc4o1AWxI+qeUh6C4OEVSLCrVG49rcfRJWYa/qDkVXcI+TOXs3VfjlylkokSM5FxXC86tterE2IlXhpYKs8x/yAqxt1/wbuoq/g96Exu5BuogY6mE2DqI9c8/kgEZDiZvMfrps9ruRprzZSn3JVF06Y6VQ4LG3T2n7vg4gQSTznvPPpWA1/93ok9zqzWLCL+o4nUnR0rkVZcpsq7i90iNE9IWj/UzVv1Y/k=; 20:gNBZBHqByAIs1TPGKaR6CsfAXqlmp3Pf7FhVr5APcXs0lhXFk/Ogwkow5AZf4Pt+XQWdn4vDqZUvvsD8Zd2zETklB7PO5LjvkCk3AH/SNvRjoT+cscNEqNWcarqlrG8HFDjXmLViLHKmMEigFqv0Eh9R+1mvnb3/8HxonQ9BaespqDwt+gXHf8bEwpQY/aX73kZ+3cTlgXo+tbSwX+JK3kAjVUXCWaro5Tfs8B/hqHnrHJFs1o/z8cyLjCNXwX3stZSSnG0hF+AahUzaJyEY1AFDkbBKfBDrDVK54Nf5LSg88Ftx+SeFsgYjB60bHH50B7UIGn/GyzKWWuJrcBBnPP/qFzbwUlvOdkClAwcx4/yB+sph/mmYJjy8UB/G5ciGIW0baA4BHXdZM3Sogaj6YmT8mcbAzWkSOFpEhjlJy++Wad9hP/nduwY2RG6is2xr6U4zV0dJ/MjrvlbfCVRWnebh/WyWzWM7KKdTV+mSgoYN8xJSNoA17m6TxTZ/UVm2 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3231232)(944501410)(52105095)(3002001)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:CY1PR07MB1512; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB1512; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB1512; 4:FbY3QUiaTGXGDl7rP+SiHjnurjdIcVaVQJ5umCt2e0lcHha2v5pf1fJFCCnpWBCAyhsdgdfBRvs4Eplyg+i1WgtMcQDr90woBzMDSIlIO9WE1UUK5mmA/WCizyEWndo5whAmiz98qeSQifnpeqrYxyJqJpztZbINtbhQrZjiTEAVKbhls2yEXUyw8ziIrGaRzVFOFajM7CTY0kVgu49i71mHZg+8LPS5+EzRr9FpR2mCg5R3ENyJF6rhZgqvJ1lUIYeR9WZDnTb3kV16UZ0ngA== X-Forefront-PRVS: 06530126A4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB1512; 23:heiF2HvHCeMbuPEcVNg4U4WN8qCbkmdo98UhjbFKo?= =?us-ascii?Q?Fp4Z5UYF2G6atbpsuF9o4tJB6JiOczwsvYoW7fF3JUx3Lsoh8dxgoCTCcA2c?= =?us-ascii?Q?8o3l6k6dPlAV08xJVoezwxuaXRlZj1GfCvduuvf1PnNhxIcyGSU70Ns16ekK?= =?us-ascii?Q?ziHekb+GfW1Acj34zi/C4rpRAnHb/JW+oCa9HKJQMaBhUz8St1aqLBiBcIf+?= =?us-ascii?Q?HnSKb3wCwwqRqWV7gp6GavGvSqKZbTWFmy6WChR9nVRyotnWpR1mVy/1dMiP?= =?us-ascii?Q?oxBbrovzL/R9q99BmpNTMaxvPuR0WDWL0xdT/tPqm/OrnxqjPmAbCm6EpDGz?= =?us-ascii?Q?Si1ELjuAcWlZIX+WScvdmv30ntPgb0N5Y6PdW3jQMOpbBC3C/CuPoPK0fHpI?= =?us-ascii?Q?9q9MEXwpy3OSNmvdL7WCvKGDrq2hGTZalpreiyeCcS4dnWu4PW/MO4znz6uU?= =?us-ascii?Q?IOjKF/hQeyOkcOJwB8yvFRZ2PAfQ1haidJ06N5fqL27h0n0y11/M0CS5eRYt?= =?us-ascii?Q?/3/3sNMVGYkWIkz8/stfMiO2ZgqDUUfS5mDgnCCC4A+a49BPubMci6O6FS78?= =?us-ascii?Q?3QnqWEoUEjUlwd0u60+P5a+NOE82MHfiU5OmFAcgqlQYNhQnJum2qVNSnm+j?= =?us-ascii?Q?G4iDNom36veLKzOIDpjh7XlECr0049DFfIVrZEVYNllfBQ1HJBr1ICKXmzqp?= =?us-ascii?Q?dTBHjX6mQpGIqZ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TMG4lm5auHV70+BlhjMK0TfueQGs2f4J6LeONm4g/Y+lQhHvDXysr+A4GqDi5eePUOMzIbEkaNYmcQqfTPLgw5rKxVZpNGS/+p74F5SWYxxv/m/Bv7ng5Jb6N9CXUIpi0PP6pw1CFx73P2ldrZvqf7eopVst0pve40unaeoW6afVFKkszu+X/ZnmBE1hZGgGGVZp0B5u+AgYnu6D2Dr1Xf5+FjpDHJ06/SGoZWvGQ02Zk2r40BzwjLbZ5EHOQySlg5jZCW2xyxw==; 5:4BgLzObCyv7PjpDWO1HAPFjR84l2YbNsQ7/12fspJ+zOJZP3l8F/4oI4vzfH4a1k9utW9IDBs6nNl63K5JxPKUvuD2mNGq8YWpHeBJBlvkzQhX6Q3rrQxsFqKZGg9IO4I+oTPmpsB54V9TzlcOTWT1V7SyMG2J1SbzdsT8uFy/8=; 24:jm4EZNRmk1MmdDUZjBcvqMow0bXeYZiQ6dYZDO/xV41cy5hzaZYFsSlsxLqElTnHYPcK/4lq6o+cn7hCrWVCsaZiSXDGA225njnF0R/4VFg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB1512; 7:n4dze+gVDyLTY/he1kP304Qi/gYrFr9QLRgVRi/tsu1VP1lIdHe7fIz/ZOBonHphOaAUdV2VpNnCsi+jqBUwt6CPYuAm35ccOicA5yq2HVuLGMsgXjmN9MvCHhzxdKd2+g93YkP9DpRCcaqS4pTq+8yaXoSQh29lDT2FqKIeweDb5jByHRdbZdE3STJCfKaJWRBiCr/c4v2c4FZEhdyP8zR77BHCfuC64IxM01R3hXRbOL4WJXkcoc4BBYWZs1eW X-MS-Office365-Filtering-Correlation-Id: 8721d798-d4d4-4a5f-f08d-08d5aaadbeae X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 13:09:14.4561 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8721d798-d4d4-4a5f-f08d-08d5aaadbeae X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB1512 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some configurations need more than 30 seconds to respond to a FIP VLAN request so increase the default to 60 seconds. Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 284ccb566b19..e14b402f25d5 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -44,10 +44,10 @@ module_param_named(debug, qedf_debug, uint, S_IRUGO); MODULE_PARM_DESC(debug, " Debug mask. Pass '1' to enable default debugging" " mask"); -static uint qedf_fipvlan_retries = 30; +static uint qedf_fipvlan_retries = 60; module_param_named(fipvlan_retries, qedf_fipvlan_retries, int, S_IRUGO); MODULE_PARM_DESC(fipvlan_retries, " Number of FIP VLAN requests to attempt " - "before giving up (default 30)"); + "before giving up (default 60)"); static uint qedf_fallback_vlan = QEDF_FALLBACK_VLAN; module_param_named(fallback_vlan, qedf_fallback_vlan, int, S_IRUGO);