From patchwork Fri May 19 08:33:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rangankar, Manish" X-Patchwork-Id: 9736479 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 BF5526020B for ; Fri, 19 May 2017 08:33:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CF012878B for ; Fri, 19 May 2017 08:33:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91E24288A7; Fri, 19 May 2017 08:33:48 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 003392878B for ; Fri, 19 May 2017 08:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755138AbdESIdr (ORCPT ); Fri, 19 May 2017 04:33:47 -0400 Received: from mail-dm3nam03on0047.outbound.protection.outlook.com ([104.47.41.47]:63306 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751329AbdESIdo (ORCPT ); Fri, 19 May 2017 04:33:44 -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=aZOGypVrstUUpPAihV/tmwjZIf+IHbrQcaDU+w12haY=; b=TXw6UGadvwCs4pa1a2wiKftUvgc2OdiC85JWm3cPhMpbeGIOKA3Bu8fuNYgSCtqpmfAi0A46opYZb9OWiiNTT3PItQL3DoWaRn2+nvn4DThmyNwiZV+mAm9q7Y7d5jccUnMKSGcPqErwx7TIRFqLQ2yVfsrOF4YpzouwaLTRC1k= Received: from CO2PR07CA0047.namprd07.prod.outlook.com (10.174.192.15) by CY1PR0701MB1583.namprd07.prod.outlook.com (10.163.20.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Fri, 19 May 2017 08:33:42 +0000 Received: from BN1AFFO11FD018.protection.gbl (2a01:111:f400:7c10::110) by CO2PR07CA0047.outlook.office365.com (2603:10b6:100::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Frontend Transport; Fri, 19 May 2017 08:33:42 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD018.mail.protection.outlook.com (10.58.52.78) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1075.5 via Frontend Transport; Fri, 19 May 2017 08:33:41 +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; Fri, 19 May 2017 01:33:22 -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 v4J8XNwQ018085; Fri, 19 May 2017 01:33:23 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4J8XNR3018084; Fri, 19 May 2017 01:33:23 -0700 From: Manish Rangankar To: , , CC: , Subject: [PATCH 5/7] qedi: Set firmware tcp msl timer value. Date: Fri, 19 May 2017 01:33:19 -0700 Message-ID: <20170519083321.18030-6-manish.rangankar@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170519083321.18030-1-manish.rangankar@cavium.com> References: <20170519083321.18030-1-manish.rangankar@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)(6009001)(39410400002)(39450400003)(39400400002)(39850400002)(39840400002)(2980300002)(428002)(9170700003)(36756003)(76176999)(1076002)(2906002)(50226002)(50986999)(80596001)(50466002)(48376002)(101416001)(5660300001)(72206003)(4326008)(107886003)(54906002)(8676002)(87636003)(38730400002)(8936002)(189998001)(356003)(106466001)(33646002)(105586002)(81166006)(2950100002)(5003940100001)(42186005)(86362001)(305945005)(478600001)(2201001)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1583; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD018; 1:lVtbLUjc4z0QD00NENuHZX2V3WzJW82ktdzT64uwrr1LNAnJyaHNk+1XWVZD0l1BVmePdrDni6E5BI0UfqnP0omqC5F7O/p5SHMgpuMMDt1mcCxAKvemosdrFZG9WUxGa6OwKvRAkk/xSZW3k7USnzKLLqyIePckeeBM7YlXstcmFrXPypwpgtklGX44GG8Hng6uFRaUDJEcC/ctzFsURlpumaSULSvdRKEZi2Dq2zqPPcTpMTdGHjkiPvd01jDtuss2V/SPn0A63Voqsi/Kl3eQZSYa95PttGqhP0sKuQ0VanQFdVdBkGXMzwjswPssAWcWOxOyUQ67fpQyoSGef/+TQIOGwP+M35p8/SOiT03nS7DaIvOh4YfMlG/06JeLH3a+mwxLD+RN7wbVdqhNuaSUojxyMePQ2umyix3AAh/vE93kqj7BG6pOnt3+X5v5gdrJRmS+2vz9lpAMSk4a4L8+oWFbBCSva7zKWyBwlt2qOHChsAi6QoWTDHJd/2KngeDbh3b/4eK+CX09bt86vcsVbqpX35lSK7C6aud6zSo= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1583: X-MS-Office365-Filtering-Correlation-Id: 6c2c8e65-fbc5-4d3c-7812-08d49e91c167 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1583; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1583; 3:m84KW78XTOKZ/XHK/X8Xe/QcPLSnVoiSaJikHHkT5Kbb7L/oBu6Brf9MueD7kE4KMOP5T09D2PMVcN1Hp+BWlDjXrs4gw1YZMFaJb+frHrXtzqa4X5U1sAvrlYydUW8S0Eat/BEf1RLe/rmvHy0xxJNDE0Ki04sjsFGKI8wA3qvRl+1u6D8lrVzubpvOntO8ll1qE0UsveoLjHpjyQE0Q1RHj60QWJ39B1ha/oh3m+3s1pGeEC6R65RWn76uCwqvco1LJswEfU0eOafQXhd9qXD8yqF0BHasw1bFseQgM6Z71mwDnrDmUgKRwV02uHhL4x4NLddKdnU9Xh+YJ4/EuekgDTvJJPKa4sW1Um37Pg6UUiGUSIdwf0+Yi5PM8LyUfT4LkF2tqKzWaccLvCNePNy3GPtqAKXVjWpbCXAxxRUcgHqeBD56i+ET9DjHlMt/YcP+ywQCoqesbFvGW5U+QA== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1583; 25:xkalJiKFc64G0Rz+pGq6ybeigh//7Z6/ot3OCscXaFGGeM2XFYjRl5yfs39AMahQ+UyuT9GuCX12OCEGX0Agg1FVkVBCUK6xP3kmFZSKR6dqig1qesfUvkmXzzke4tTWsUe/H4/pWOrFSeSSOMo0SJr6MNHB40Q+BVv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eelm7bwSyOS31D1Bx12PZCEaS17U06BcpZSpokKxFuRfdUuMULsdu X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(8121501046)(13017025)(13015025)(13024025)(13023025)(5005006)(10201501046)(93006095)(93001095)(3002001)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148); SRVR:CY1PR0701MB1583; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1583; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1583; 4:Vz7DFLb20T3nQmUTPvU0ftsjCwfDBJaKQ0d1BBzF/bzNo5Xwj6pfdR467DdpyaeQ3QmeiyLkBJGQQqseRVBhHb+MXXPX8eoUFcXoIQ5PDDGrro9e2/YLZm2i7YmtwlveQbrNt9X5CMTBiV0i21ScKddIOV0PfzCVMdWKM8bM2oAOopWAxAlgY7Z4H5TJv0X04Xg9NpfKuQ4RF/VpZCxa9fuBN/PUYb3UrhqthSsvjIVV1T06VYpZZi8SUX0zWaPcM50BwE6NCT6ohmYjJviB5jrwU7U0MH+iGPNn0xsADUr5jI64V77WMsM/lt/9A2Ckvmg3NMXAcr7YkLuJQUpiGEFZMkloGyAI6IkUbXfEkrzof1LslMfqPM75qxoR4306MLg0x5yUh3vJssBjteaPYMxJhNoHYf0qpdPIH8J9h9Gc81/E51d45oKEDxX4HqXMKLZnPzY4bXQH0DmS5biv9ymuLMcae7wuegctWyXu97wGRcgg5Gu8msLNVLvnUS0FLkg8zisfNsUUJbIztuMtrSGUlcNtuHhQA7YuMJZLATI5rjCinuk6x3TRgcEi5Gm5vjt4mehDIzgZ6tdcdl1+M74ZE5ZRcJthSNqNYm1/jjG9UccXr676z/N4dy/FgiSLzz5mhWEqzL7xvG0rQ4j1oGSOZE/FaOoYoSnOeTNmuxZRMpxOCtBeit+Az3ycI2r16xxSOu9uNa+JyfOovgtP6VQMHp1SR9WN//IhBvKd52Kj9ZLLBACMSVWbvXF8ljtdxMIwQ3mE94IByxCfP3AIlZvYlNm48nphOAWoxEdgPa4zekEEtlxusvjzgPPIicZeWIOvpNcs7ORCEgzoedN/ev9IAwFNfeeeIoP1dU6LQW+hk/ReQ5wEobpIVlFhHVhk X-Forefront-PRVS: 031257FE13 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1583; 23:qsuv75/sT9NSLnkoq1Wwa/askkK9C2mzFRrDdqm?= =?us-ascii?Q?mhxnSKUVoQ86otqZU2Kr+v+jKC6WvMnvDHgHV0C1VHA9dhNN854OE11OBMDc?= =?us-ascii?Q?T7xFblz9qhiB+qsM4rfG0bnLITQJdcn9JQIjTNVP3dCKKDgu1C9l/KIlI2Dt?= =?us-ascii?Q?Apd+H04fbFymIvbUZi9mCrMTA5PN0prmaoCeMOwTtUF7MKSR7CZcEAJrtS6O?= =?us-ascii?Q?9f7EknsYF0/MDqlB60HBj1XY15qMrpqA7zZjXbiMDenAHsZZUCD/6HGwPjzd?= =?us-ascii?Q?cEhPCC71K2vewLoAqCqhO3D6GIZb/J1majRFyhO8iv5m1of4D1fiAs7sDC7s?= =?us-ascii?Q?oM8cfYh4TXCw7pZps26dUN0NLBQ3puZJ+CJhKaaaTuk29el46w4Sqk+VXe5s?= =?us-ascii?Q?9HEJbm/F5bEx9vYVnwjZef5Toqa6DPqhp0oq4c+MPPQGPsV/rCbmkS2R1R8s?= =?us-ascii?Q?io5sdH0/kt54c+ydqirr3SkxyDbXgzKJCG2llQAltHWIZegHMHWZNRoNC24n?= =?us-ascii?Q?fUaehfVhjwmh8YpAO9x/weeiW+efq5HbonHKBe3JoQ6L/xX5OXDaBKFzAA8b?= =?us-ascii?Q?BdPXPkdgm24uAG8l6QGpkNmdDfKseJuqeBn09CULU8VYOU9FB9BgHoe12vRr?= =?us-ascii?Q?wx6a/hlapGSHe2qb/a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ZZTfYucxPU4U5AOA==; 5:hrCVUxcQLyl5qgjL+8GFndN+KiWjVhvbrmaGbp5z0bFZdeRri+O16L2RbedFLJQJ1RSaFt0AhsJpuYT7HTEFyORWQxE1NohuEKJXj2tXOrznJK+GewAuCyKMmhfgec2yMT1PDyLu8Lq42fQe2hBD6w==; 24:CEH03fg8u2jS6O0eovHo6WQmzv7b6T85JnPNNyDIc2TzHqPnx+7dHu1T3X2vdvE4e9XNDL2rMtnJqpveFFaVap6dCDQAuSCvzS9Su+5Gskk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1583; 7:aGHK7zSak74RaUektXqEsaM1PqBKq5il/63nl4oQo58cNWawbcOEw2zrZYC+mJfW6fIF1LZGY/NOObKnO452ocpgym9+mNEA4O1v6vR9EbUuQB/S0KNIMIY3S66oEneCjv/4UoHcpbkkCel5Gd/LZrq7/Y9mO/tV8SkcmYnwqpTl7MOglW62DVlA+Yux8ajNtAOfGxZEq/+Y32q/yl4EBqvsGQzj/Eqe1jPfkoAIXQne2ThnSp7mA6kjv9qaBYp1sUU8wGtX+UPJ1gR+zCcDkql8J6DJHa/KBn/MweR5wbFVZG+srfJpo5EgcN2KapzaxeQktw7ItEI3gXTHx+ATuQ== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2017 08:33:41.4880 (UTC) 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: CY1PR0701MB1583 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 Signed-off-by: Manish Rangankar --- drivers/scsi/qedi/qedi_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index 997e305..62ba0550 100644 --- a/drivers/scsi/qedi/qedi_main.c +++ b/drivers/scsi/qedi/qedi_main.c @@ -827,6 +827,7 @@ static int qedi_set_iscsi_pf_param(struct qedi_ctx *qedi) qedi->pf_params.iscsi_pf_params.num_uhq_pages_in_ring = num_sq_pages; qedi->pf_params.iscsi_pf_params.num_queues = qedi->num_queues; qedi->pf_params.iscsi_pf_params.debug_mode = qedi_fw_debug; + qedi->pf_params.iscsi_pf_params.two_msl_timer = 4000; for (log_page_size = 0 ; log_page_size < 32 ; log_page_size++) { if ((1 << log_page_size) == PAGE_SIZE)