Message ID | 20190402212434.28469-4-hmadhani@marvell.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 0257eda08e806b82ee1fc90ef73583b6f022845c |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 AAB5C17E0 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 Apr 2019 21:25:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96696288BA for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 Apr 2019 21:25:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ACBD288D2; Tue, 2 Apr 2019 21:25:56 +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 3AD53288BA for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 Apr 2019 21:25:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbfDBVZ4 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 2 Apr 2019 17:25:56 -0400 Received: from mail-eopbgr820052.outbound.protection.outlook.com ([40.107.82.52]:60982 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726328AbfDBVZz (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 2 Apr 2019 17:25:55 -0400 Received: from DM5PR07CA0084.namprd07.prod.outlook.com (2603:10b6:4:ad::49) by BN3PR07MB2529.namprd07.prod.outlook.com (2a01:111:e400:7bbf::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.22; Tue, 2 Apr 2019 21:25:53 +0000 Received: from CO1NAM05FT038.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::208) by DM5PR07CA0084.outlook.office365.com (2603:10b6:4:ad::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1750.16 via Frontend Transport; Tue, 2 Apr 2019 21:25:52 +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 CO1NAM05FT038.mail.protection.outlook.com (10.152.96.151) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1771.6 via Frontend Transport; Tue, 2 Apr 2019 21:25:52 +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, 2 Apr 2019 14:24:44 -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 x32LOiBH028516; Tue, 2 Apr 2019 14:24:44 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x32LOiPn028515; Tue, 2 Apr 2019 14:24:44 -0700 From: Himanshu Madhani <hmadhani@marvell.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <hmadhani@marvell.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH v2 03/15] qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags Date: Tue, 2 Apr 2019 14:24:22 -0700 Message-ID: <20190402212434.28469-4-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190402212434.28469-1-hmadhani@marvell.com> References: <20190402212434.28469-1-hmadhani@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 131987139528260310;(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)(396003)(39860400002)(136003)(346002)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(81156014)(68736007)(81166006)(305945005)(47776003)(8676002)(50226002)(85426001)(14444005)(336012)(2906002)(8936002)(105606002)(86362001)(4326008)(53936002)(446003)(106466001)(36756003)(356004)(6666004)(51416003)(80596001)(48376002)(50466002)(87636003)(76176011)(126002)(476003)(2616005)(69596002)(11346002)(498600001)(26826003)(26005)(1076003)(42186006)(16586007)(316002)(5660300002)(486006)(97736004)(54906003)(36906005)(110136005)(83133001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR07MB2529;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: ead80bb4-f3dd-4761-057f-08d6b7b1c8f7 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600139)(711020)(4605104)(2017052603328);SRVR:BN3PR07MB2529; X-MS-TrafficTypeDiagnostic: BN3PR07MB2529: X-Microsoft-Antispam-PRVS: <BN3PR07MB2529BAA142356258BC8B416DD6560@BN3PR07MB2529.namprd07.prod.outlook.com> X-Forefront-PRVS: 0995196AA2 X-Microsoft-Antispam-Message-Info: x3E0N2rfeyG53apyGorqbcSA1g3wY0atjHLESdbScmvcq+CgS57NVqvDN8InH1f+VmRVjb00UsB/GM4bx6XKRpLzc4ODZwpxFdpLVsQw9NI9IhNhEFCwRQmf7tv7BQ/nYes2doiI3dC/bAeI5XdvWl3R1q8oSAZ3u50zAIxIh4Tv2840xtqMDEi/kNv4AFTIAn0Di+g2BodTY7MHWt4nK5N0KZuOs1LDUVL4s7zuDArCdH/7ypD5ZrJNZKTZ1E60r7j2AubY9inBgaSuSQHWC/7jVAnMK+DLeIVjkBGVhE7QlnUxS93nBXJH1+6ARtxQdFy6dppfsG92pWkQ0vDBUcXJ9If4WZiPtd6ukmVct8a+8qf3dwovOng0TuCx18ugZuDpEBHcRg1I7+oh1bRCoaUbRQK1ud4gpUf/yT2JE/k= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2019 21:25:52.5298 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ead80bb4-f3dd-4761-057f-08d6b7b1c8f7 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: BN3PR07MB2529 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
qla2xxx: Misc updates and bug fixes for the driver.
|
expand
|
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 7493013fc2cc..479d69c7946c 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -3033,6 +3033,8 @@ static void qla24xx_async_gpsc_sp_done(void *s, int res) "Async done-%s res %x, WWPN %8phC \n", sp->name, res, fcport->port_name); + fcport->flags &= ~(FCF_ASYNC_SENT | FCF_ASYNC_ACTIVE); + if (res == QLA_FUNCTION_TIMEOUT) return; @@ -4351,6 +4353,7 @@ int qla24xx_async_gnnid(scsi_qla_host_t *vha, fc_port_t *fcport) done_free_sp: sp->free(sp); + fcport->flags &= ~FCF_ASYNC_SENT; done: return rval; }