From patchwork Tue Jul 31 16:04:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Netes X-Patchwork-Id: 1260951 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4D7CFDF26F for ; Tue, 31 Jul 2012 16:09:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754730Ab2GaQJM (ORCPT ); Tue, 31 Jul 2012 12:09:12 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:54893 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755443Ab2GaQJL (ORCPT ); Tue, 31 Jul 2012 12:09:11 -0400 Received: by mail-vb0-f46.google.com with SMTP id ff1so5920363vbb.19 for ; Tue, 31 Jul 2012 09:09:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=PTRxWEzVldlzed9aBN8d/mCL+4OQU7amibTiTM8BmRw=; b=dnriab3YX3ECWbs13yKP6PS2ANiCqS9ZLramWrZGxzhCo0xXdOlHG7pGeLaWqdl0uW K8Q2EBCrSdgCN18fFqU2wodKLmQluEuFZp3dubviwRMfRHVhR5aXYq1cBRzgk67C+hc2 ePkByhH9eZyi4MIMd9YJ3PriWxqz69AQxTHQ9ZoKVBQp6JRswYqmG5EfGaIRcWRwzWp4 8ZOQxwOLisUOBZfidakw2sIyCHEHccsWrokRn/lwxVwhe6qXnX1HfpabU5WUcWjDakO3 hy5B+HPt9Df7mBbrZI9X5B1tAaKfhvpyCemnAdDs3a1Zb1ZLx3P6lpaK0La036RQ1VDP UgFg== Received: by 10.52.21.177 with SMTP id w17mr12643916vde.98.1343750951354; Tue, 31 Jul 2012 09:09:11 -0700 (PDT) Received: from localhost ([193.47.165.251]) by mx.google.com with ESMTPS id l4sm416798vdg.22.2012.07.31.09.09.10 (version=SSLv3 cipher=OTHER); Tue, 31 Jul 2012 09:09:10 -0700 (PDT) From: Alex Netes To: linux-rdma@vger.kernel.org Cc: Hal Rosenstock , Alex Netes Subject: [PATCH 16/27] opensm/osm_sa_path_record.c: Log requester port GUID at DEBUG level Date: Tue, 31 Jul 2012 19:04:44 +0300 Message-Id: <1343750695-28063-16-git-send-email-alexne@mellanox.com> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1343750695-28063-1-git-send-email-alexne@mellanox.com> References: <1343750695-28063-1-git-send-email-alexne@mellanox.com> X-Gm-Message-State: ALoCoQneuc+lGUSPrtmXfGpNQm2fxNv/Q3yM9wcVX8MSzlhulqyi+897YNx4eW1AYk3KcX63PHx1 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Hal Rosenstock Signed-off-by: Hal Rosenstock Signed-off-by: Alex Netes --- opensm/osm_sa_path_record.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/opensm/osm_sa_path_record.c b/opensm/osm_sa_path_record.c index f06696d..e426ce7 100644 --- a/opensm/osm_sa_path_record.c +++ b/opensm/osm_sa_path_record.c @@ -1720,8 +1720,12 @@ void osm_pr_rcv_process(IN void *context, IN void *data) goto Exit; } - if (OSM_LOG_IS_ACTIVE_V2(sa->p_log, OSM_LOG_DEBUG)) + if (OSM_LOG_IS_ACTIVE_V2(sa->p_log, OSM_LOG_DEBUG)) { + OSM_LOG(sa->p_log, OSM_LOG_DEBUG, + "Requester port GUID 0x%" PRIx64 "\n", + cl_ntoh64(osm_port_get_guid(requester_port))); osm_dump_path_record_v2(sa->p_log, p_pr, FILE_ID, OSM_LOG_DEBUG); + } /* Validate rate if supplied */ if ((p_sa_mad->comp_mask & IB_PR_COMPMASK_RATESELEC) &&