From patchwork Wed Aug 1 22:36:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 1265971 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 48FE63FC23 for ; Wed, 1 Aug 2012 22:36:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756172Ab2HAWgf (ORCPT ); Wed, 1 Aug 2012 18:36:35 -0400 Received: from nspiron-1.llnl.gov ([128.115.41.81]:26724 "EHLO nspiron-1.llnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756075Ab2HAWgf (ORCPT ); Wed, 1 Aug 2012 18:36:35 -0400 X-Attachments: Received: from eris.llnl.gov (HELO trebuchet.chaos) ([128.115.7.7]) by nspiron-1.llnl.gov with SMTP; 01 Aug 2012 15:36:34 -0700 Date: Wed, 1 Aug 2012 15:36:33 -0700 From: Ira Weiny To: Alex Netes Cc: "linux-rdma@vger.kernel.org" Subject: [PATCH] opensm/perfmgr: update new error codes to '54' prefix Message-Id: <20120801153633.1c76a894a8db267e8333fb53@llnl.gov> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.18.9; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c index 32357d9..ee2392c 100644 --- a/opensm/osm_perfmgr.c +++ b/opensm/osm_perfmgr.c @@ -1095,18 +1095,18 @@ static void perfmgr_log_errors(osm_perfmgr_t * pm, reading->counter_name - prev_read.counter_name, \ mon_node->name, mon_node->guid, port); - LOG_ERR_CNT("SymbolErrorCounter", "4C31", symbol_err_cnt); - LOG_ERR_CNT("LinkErrorRecoveryCounter", "4C32", link_err_recover); - LOG_ERR_CNT("LinkDownedCounter", "4C33", link_downed); - LOG_ERR_CNT("PortRcvErrors", "4C34", rcv_err); - LOG_ERR_CNT("PortRcvRemotePhysicalErrors", "4C35", rcv_rem_phys_err); - LOG_ERR_CNT("PortRcvSwitchRelayErrors", "4C36", rcv_switch_relay_err); - LOG_ERR_CNT("PortXmitDiscards", "4C37", xmit_discards); - LOG_ERR_CNT("PortXmitConstraintErrors", "4C38", xmit_constraint_err); - LOG_ERR_CNT("PortRcvConstraintErrors", "4C39", rcv_constraint_err); - LOG_ERR_CNT("LocalLinkIntegrityErrors", "4C3A", link_integrity); - LOG_ERR_CNT("ExcessiveBufferOverrunErrors", "4C3B", buffer_overrun); - LOG_ERR_CNT("VL15Dropped", "4C3C", vl15_dropped); + LOG_ERR_CNT("SymbolErrorCounter", "5431", symbol_err_cnt); + LOG_ERR_CNT("LinkErrorRecoveryCounter", "5432", link_err_recover); + LOG_ERR_CNT("LinkDownedCounter", "5433", link_downed); + LOG_ERR_CNT("PortRcvErrors", "5434", rcv_err); + LOG_ERR_CNT("PortRcvRemotePhysicalErrors", "5435", rcv_rem_phys_err); + LOG_ERR_CNT("PortRcvSwitchRelayErrors", "5436", rcv_switch_relay_err); + LOG_ERR_CNT("PortXmitDiscards", "5437", xmit_discards); + LOG_ERR_CNT("PortXmitConstraintErrors", "5438", xmit_constraint_err); + LOG_ERR_CNT("PortRcvConstraintErrors", "5439", rcv_constraint_err); + LOG_ERR_CNT("LocalLinkIntegrityErrors", "543A", link_integrity); + LOG_ERR_CNT("ExcessiveBufferOverrunErrors", "543B", buffer_overrun); + LOG_ERR_CNT("VL15Dropped", "543C", vl15_dropped); } static int16_t validate_redir_pkey(osm_perfmgr_t *pm, ib_net16_t pkey) @@ -1152,7 +1152,7 @@ static int16_t validate_redir_pkey(osm_perfmgr_t *pm, ib_net16_t pkey) } else { CL_PLOCK_RELEASE(pm->sm->p_lock); OSM_LOG(pm->log, OSM_LOG_ERROR, - "ERR 0x4C1F: Failed to obtain P_Key 0x%04x " + "ERR 541F: Failed to obtain P_Key 0x%04x " "block and index for PerfMgr port\n", cl_ntoh16(pkey)); }