From patchwork Tue Apr 14 23:07:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Herbszt X-Patchwork-Id: 6218471 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7CA669F1AC for ; Tue, 14 Apr 2015 23:08:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9642220351 for ; Tue, 14 Apr 2015 23:08:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 71BFD2034F for ; Tue, 14 Apr 2015 23:08:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932107AbbDNXIH (ORCPT ); Tue, 14 Apr 2015 19:08:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:51943 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932104AbbDNXIF (ORCPT ); Tue, 14 Apr 2015 19:08:05 -0400 Received: from localhost ([88.74.106.85]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MGjfl-1YdV6h1ehl-00DYVZ; Wed, 15 Apr 2015 01:08:02 +0200 Date: Wed, 15 Apr 2015 01:07:57 +0200 From: Sebastian Herbszt To: linux-scsi@vger.kernel.org Cc: James Smart , Sebastian Herbszt Subject: lpfc: Unknown ELS command x18 received from NPORT xfffc2b Message-ID: <20150415010757.00007ad1@localhost> X-Mailer: Claws Mail 3.9.2-55-g74b05b (GTK+ 2.16.6; i586-pc-mingw32msvc) MIME-Version: 1.0 X-Provags-ID: V03:K0:HGor01P6Fok947mY36axes1h+skSezXakW9yskrjxtNvemJ4JWy pP6bFeiG+e/AmIoVh9Zz+8ujhI0UhGFJNyCWqRFk5Y85C9x67sWMh40TuQxC+Ub27xV7mMn cLzWH+1Bg5cuDeplA4ExE/vHjsAqL3MAZj3hRUxjxSlx1CNJ3RntBhcuCFRzqF5j6IGfiOK RJKwc3CaRrAmI1CB5cvDw== X-UI-Out-Filterresults: notjunk:1; Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We recently started to get [8043768.238110] lpfc 0000:10:00.1: 1:(0):0115 Unknown ELS command x18 received from NPORT xfffc2b [8130462.560283] lpfc 0000:10:00.1: 1:(0):0115 Unknown ELS command x18 received from NPORT xfffc2b [8216439.442882] lpfc 0000:10:00.1: 1:(0):0115 Unknown ELS command x18 received from NPORT xfffc2b Read Diagnostic Parameters (RDP) [1] support was introduced in Brocade Fabric OS 7.3 [2]. The following (untested) patch might silence the message. [1] http://www.t11.org/ftp/t11/pub/fc/ls-3/14-033v0.pdf [2] ftp://public.dhe.ibm.com/storage/san/fos7/v7.3.0c_ReleaseNotes_v1.0.pdf Sebastian --- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -uNrp v4.0-1941-geeee78c/drivers/scsi/lpfc.orig/lpfc_els.c v4.0-1941-geeee78c/drivers/scsi/lpfc/lpfc_els.c --- v4.0-1941-geeee78c/drivers/scsi/lpfc.orig/lpfc_els.c 2015-02-12 01:04:08.692134956 +0100 +++ v4.0-1941-geeee78c/drivers/scsi/lpfc/lpfc_els.c 2015-04-14 21:44:31.591639045 +0200 @@ -6970,6 +6970,10 @@ lpfc_els_unsol_buffer(struct lpfc_hba *p rjt_err = LSRJT_UNABLE_TPC; rjt_exp = LSEXP_INVALID_OX_RX; break; + case ELS_CMD_RDP: + rjt_err = LSRJT_UNABLE_TPC; + rjt_exp = LSEXP_REQ_UNSUPPORTED; + break; default: lpfc_debugfs_disc_trc(vport, LPFC_DISC_TRC_ELS_UNSOL, "RCV ELS cmd: cmd:x%x did:x%x/ste:x%x", diff -uNrp v4.0-1941-geeee78c/drivers/scsi/lpfc.orig/lpfc_hw.h v4.0-1941-geeee78c/drivers/scsi/lpfc/lpfc_hw.h --- v4.0-1941-geeee78c/drivers/scsi/lpfc.orig/lpfc_hw.h 2014-09-03 19:30:11.768273300 +0200 +++ v4.0-1941-geeee78c/drivers/scsi/lpfc/lpfc_hw.h 2015-04-14 21:18:10.039566920 +0200 @@ -540,6 +540,7 @@ struct fc_vft_header { #define ELS_CMD_TEST 0x11000000 #define ELS_CMD_RRQ 0x12000000 #define ELS_CMD_REC 0x13000000 +#define ELS_CMD_RDP 0x18000000 #define ELS_CMD_PRLI 0x20100014 #define ELS_CMD_PRLO 0x21100014 #define ELS_CMD_PRLO_ACC 0x02100014 @@ -577,6 +578,7 @@ struct fc_vft_header { #define ELS_CMD_TEST 0x11 #define ELS_CMD_RRQ 0x12 #define ELS_CMD_REC 0x13 +#define ELS_CMD_RDP 0x18 #define ELS_CMD_PRLI 0x14001020 #define ELS_CMD_PRLO 0x14001021 #define ELS_CMD_PRLO_ACC 0x14001002