From patchwork Tue Jul 31 16:04:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Netes X-Patchwork-Id: 1260901 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 86A63DF26F for ; Tue, 31 Jul 2012 16:09:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755477Ab2GaQJB (ORCPT ); Tue, 31 Jul 2012 12:09:01 -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 S1755426Ab2GaQJA (ORCPT ); Tue, 31 Jul 2012 12:09:00 -0400 Received: by mail-vb0-f46.google.com with SMTP id ff1so5920363vbb.19 for ; Tue, 31 Jul 2012 09:08:59 -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=Q+rFLZprpu34OpXwmv2RKCDafMHOUDTg8so7Rt7oFM8=; b=Xdbcpbjz+WkN1PYzaxJifEEuEK/fMydQ9u7/J07c3SDag4s/gQu4zL6hOK52m6Q9rt FwPkh49UF8Dvm9bvxahv63lzkFfPNm8+Nl//z9k5j7CIDdyybn9fbAey3VO1QupbKJIg hvk6xur7d3M2NkxPcJGADJBeyMiuDNX42jXXt7EG3dBwUWY0R656rvP+Ctl6hVIQVg9H LEVKkONZKsn8AwrqEfDDA2koV+lKxlFgGcIvnaZCgBadOfb0gPbIF2t82UJGJduxaFzw VHwwx9FsY15jGJQu7jkGZb8m0w4tYfUR/E1Hc0ooKA9m8Tr8GAfLYaswLkkW9X1aYUII fOLA== Received: by 10.220.221.18 with SMTP id ia18mr14361207vcb.62.1343750939865; Tue, 31 Jul 2012 09:08:59 -0700 (PDT) Received: from localhost ([193.47.165.251]) by mx.google.com with ESMTPS id ek5sm430625vdb.5.2012.07.31.09.08.58 (version=SSLv3 cipher=OTHER); Tue, 31 Jul 2012 09:08:59 -0700 (PDT) From: Alex Netes To: linux-rdma@vger.kernel.org Cc: Hal Rosenstock , Alex Netes Subject: [PATCH 12/27] opensm/osm_sa_mcmember_record.c: Dump MCMemberRecord in mcmr_query_mgrp Date: Tue, 31 Jul 2012 19:04:40 +0300 Message-Id: <1343750695-28063-12-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: ALoCoQmyL1krcxlgyl5XKrt1wlz0ZMWJOoSfQMTatR2z1wzQEl5lIfar7EBTDoBkCyAB8RyfWXnh 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_mcmember_record.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opensm/osm_sa_mcmember_record.c b/opensm/osm_sa_mcmember_record.c index 651bc95..e591801 100644 --- a/opensm/osm_sa_mcmember_record.c +++ b/opensm/osm_sa_mcmember_record.c @@ -1405,6 +1405,11 @@ static void mcmr_query_mgrp(IN osm_sa_t * sa, IN osm_madw_t * p_madw) goto Exit; } + if (OSM_LOG_IS_ACTIVE_V2(sa->p_log, OSM_LOG_DEBUG)) { + OSM_LOG(sa->p_log, OSM_LOG_DEBUG, "Dump of record\n"); + osm_dump_mc_record_v2(sa->p_log, p_rcvd_rec, FILE_ID, OSM_LOG_DEBUG); + } + cl_qlist_init(&rec_list); CL_PLOCK_ACQUIRE(sa->p_lock);