From patchwork Mon Dec 3 15:25:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1834251 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 4703DDF2F9 for ; Mon, 3 Dec 2012 15:25:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754582Ab2LCPZM (ORCPT ); Mon, 3 Dec 2012 10:25:12 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:40738 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752713Ab2LCPZL (ORCPT ); Mon, 3 Dec 2012 10:25:11 -0500 Received: by mail-la0-f46.google.com with SMTP id p5so2365349lag.19 for ; Mon, 03 Dec 2012 07:25:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=j/28aCVdKsA4pFsc096j7tMFrVjKYzw8a9FRAO4AfQg=; b=cjkrEPAGYRrB8PpzQsmd0DjHDiJpg0HrTUjq86htzf2eJNPQ2pctzzM1ke2qWcfVRG zQubCVVDW4NTbdYbblthp/bpCstPBejLFGUwmyf0Fegi90mLqMi1IH7TgRaYQfgb+DWj 7AQ76ynVs2vBM6gWSKiG0r8UQk/J2hfb/dNVjiwZiDj3ycxyNiaIkgHUzM3/5dpnxdQY qbgGehaQcEBXe6rMaeW8haPQHZOc5v6pneM6QA8etAf0S4SW3sW+OwL4tl/hTUXOPH2m EiB15f9Qs8HIAiq+Az1S2b3FM/VudkSvT+zC0e4VMzzzmN59FLrcUNohhh6+GAPH1N3q r5FA== Received: by 10.112.49.202 with SMTP id w10mr4295133lbn.2.1354548309893; Mon, 03 Dec 2012 07:25:09 -0800 (PST) Received: from [192.168.1.102] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id pw17sm5466045lab.5.2012.12.03.07.25.06 (version=SSLv3 cipher=OTHER); Mon, 03 Dec 2012 07:25:08 -0800 (PST) Message-ID: <50BCC450.4080506@dev.mellanox.co.il> Date: Mon, 03 Dec 2012 10:25:04 -0500 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" , Jim Foraker Subject: [PATCH] opensm/osm_req.c: In req_determine_mkey, add more info when ERR 1107 occurs X-Gm-Message-State: ALoCoQkpOxIWffaoa42Y0Roe0zmzRYHvtrUD3Zuir7bg6N4k0hVIGrlOSQLM/LUbjAMPVoiFfcbk Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Also dump DR path of SM class query Signed-off-by: Hal Rosenstock --- opensm/osm_req.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/opensm/osm_req.c b/opensm/osm_req.c index 1c3c172..1f5db3f 100644 --- a/opensm/osm_req.c +++ b/opensm/osm_req.c @@ -106,6 +106,7 @@ static ib_net64_t req_determine_mkey(IN osm_sm_t * sm, OSM_LOG(sm->p_log, OSM_LOG_ERROR, "req_determine_mkey: ERR 1107: " "Outgoing physp is null on non-hop_0!\n"); + osm_dump_dr_path_v2(sm->p_log, p_path, FILE_ID, OSM_LOG_ERROR); dest_port_guid = 0; goto Remote_Guid; }