From patchwork Tue Mar 5 10:58:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saurav Kashyap X-Patchwork-Id: 10839283 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8267017E4 for ; Tue, 5 Mar 2019 10:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F1922B2A9 for ; Tue, 5 Mar 2019 10:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 609F22B352; Tue, 5 Mar 2019 10:59:46 +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,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 F3D5A2B2A9 for ; Tue, 5 Mar 2019 10:59:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727490AbfCEK7p (ORCPT ); Tue, 5 Mar 2019 05:59:45 -0500 Received: from mail-eopbgr750045.outbound.protection.outlook.com ([40.107.75.45]:52029 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726150AbfCEK7p (ORCPT ); Tue, 5 Mar 2019 05:59:45 -0500 Received: from BYAPR07CA0029.namprd07.prod.outlook.com (2603:10b6:a02:bc::42) by DM5PR07MB3001.namprd07.prod.outlook.com (2603:10b6:3:e3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.19; Tue, 5 Mar 2019 10:59:03 +0000 Received: from BY2NAM05FT059.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::204) by BYAPR07CA0029.outlook.office365.com (2603:10b6:a02:bc::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1665.18 via Frontend Transport; Tue, 5 Mar 2019 10:59:02 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by BY2NAM05FT059.mail.protection.outlook.com (10.152.100.196) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1686.5 via Frontend Transport; Tue, 5 Mar 2019 10:59:02 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Tue, 5 Mar 2019 02:59:01 -0800 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 x25Ax1KY013220; Tue, 5 Mar 2019 02:59:01 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x25Ax1Jq013219; Tue, 5 Mar 2019 02:59:01 -0800 From: Saurav Kashyap To: CC: , Subject: [PATCH 00/26] qedf: Misc fixes for the driver. Date: Tue, 5 Mar 2019 02:58:35 -0800 Message-ID: <20190305105901.13185-1-skashyap@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131962571424687054;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(396003)(136003)(39860400002)(346002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(8676002)(54906003)(5660300002)(50466002)(336012)(1076003)(48376002)(69596002)(81156014)(26005)(50226002)(47776003)(106466001)(316002)(42186006)(36906005)(16586007)(36756003)(8936002)(6666004)(14444005)(2351001)(68736007)(2906002)(105606002)(81166006)(86362001)(305945005)(4743002)(356004)(486006)(2616005)(4326008)(498600001)(85426001)(26826003)(87636003)(126002)(80596001)(476003)(97736004)(53936002)(6862004)(51416003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR07MB3001;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28f75430-3551-47b1-8c41-08d6a15993d6 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:DM5PR07MB3001; X-MS-TrafficTypeDiagnostic: DM5PR07MB3001: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0967749BC1 X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB3001;23:KOZrjo0p4TZLZ2Z4Uv6C/b4fXJUweX77URrcRYFHcvlJ9F1Jb3EWvAhK9M15Ee+28XNlApvR4vjtTzOBOllCW7mJ72rIhrnUqj+FYmbiGcDzT46l2/Myxf0FPdlpKW2hHfatu6ojAYD1xa9Q49walgUlJ33J5SVvQsjfDxdbFRrJWoSheCBQl77iMjEDm71318cNwAMOLB+xU8qRZzeQpu+3njWWtYd7rx6JIqDHKiaH5TO8XcrDKcvxRB8OXfTG+f9bPzVbXRW3bmQKiqqNhec8Onsf09MGxBc3VV3G2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QBLw8dU4gY3+K49nhiiCeJKsJJpS+TPi2KrBScs2U62AP0WLSMX8lwA/+n0AXn+6DxEknm9k/pkmmcyCod01Yem0bKV38l0Vsu11JW9fAewAUsNpVBG8xCt/BQCGRXxzVO7oIQkfak28PTJxucUYkPuxYaOkJwXgCA05Iv7fZLfjx/wuWrJdG2hzv7/3L8Xmh5LI5lKqzdeEJpGEOdj+SXynwPuDhKJVz7Dc9yCgHk/BM3AUaGa2qpzvr2GehFJWg2q7TaWXWsU0pArUHc2tQ/vBy0VbRkeU74oJ3hmdQGoVrWyR+24cCg7KefeAo8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2019 10:59:02.1494 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28f75430-3551-47b1-8c41-08d6a15993d6 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3001 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 Hi Martin, This series has misc bug fixes and code enchancements in flush routine, abort and TMF path. Kindly apply this series to scsi-queue at your earliest convenience. Thanks, ~Saurav Andrew Vasquez (1): qedf: Correct the memory barriers in qedf_ring_doorbell. Chad Dupuis (10): qedf: Do not retry ELS request if qedf_alloc_cmd fails. qedf: Correct xid range overlap between offloaded requests and libfc requests. qedf: Add missing return in qedf_post_io_req() in the fcport offload check. qedf: Simplify s/g list mapping. qedf: Use a separate completion for cleanup commands. qedf: Add missing fc_disc_init call after allocating lport. qedf: Add additional checks for io_req->sc_cmd validity. qedf: Wait for upload and link down processing during soft ctx reset. qedf: Add missing return in qedf_scsi_done(). qedf: Check both the FCF and fabric ID before servicing clear virtual link. Hannes Reinecke (4): qedf: missing kref_put in qedf_xmit() qedf: fixup locking in qedf_restart_rport() qedf: fixup bit operations. qedf: fc_rport_priv reference counting fixes Saurav Kashyap (7): qedf: Modify abort and tmf handler to handle edge condition and flush. qedf: Check for link state before processing LL2 packets and send fipvlan retries. qedf: Don't send ABTS for under run scenario. qedf: Check for tm_flags instead of cmd_type during cleanup. qedf: Correctly handle refcounting of rdata. qedf: Fix lport may be used uninitialezed warning. qedf: Update the driver version to 8.37.25.19. Shyam Sundar (4): qedf: Modify flush routine to handle all I/Os and TMF. qedf: Don't queue anything if upload is in progress. qedf: Add a flag to help debugging io_req which could not be cleaned. qedf: Cleanup rrq_work after QEDF_CMD_OUTSTANDING is cleared. drivers/scsi/qedf/qedf.h | 51 ++- drivers/scsi/qedf/qedf_debugfs.c | 2 - drivers/scsi/qedf/qedf_els.c | 72 +++- drivers/scsi/qedf/qedf_fip.c | 76 ++-- drivers/scsi/qedf/qedf_io.c | 736 ++++++++++++++++++++++++++++++--------- drivers/scsi/qedf/qedf_main.c | 249 +++++++++---- drivers/scsi/qedf/qedf_version.h | 8 +- 7 files changed, 903 insertions(+), 291 deletions(-)