From patchwork Wed Jul 25 10:40:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1236261 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 1476EDFFCE for ; Wed, 25 Jul 2012 10:41:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756386Ab2GYKlE (ORCPT ); Wed, 25 Jul 2012 06:41:04 -0400 Received: from mail-qa0-f46.google.com ([209.85.216.46]:63305 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756247Ab2GYKlC (ORCPT ); Wed, 25 Jul 2012 06:41:02 -0400 Received: by mail-qa0-f46.google.com with SMTP id b17so2403797qad.19 for ; Wed, 25 Jul 2012 03:41:01 -0700 (PDT) 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=C0eVfh5dYI4CAAfIdhNVUAdrN9LP60dOqmKThdwT5DA=; b=BPT7cVcKolWb+x5x6dHigvXmSeClpFqtW8ouIFjnseQQRBD/VuvEAog0h7BXxTEOtS yR9sECjUCfhyYsEFVZJneGuk6Mlp0SH3t0kzi39HQ6KWVu3PupaKv4Jug68VtM/gInC3 fXCTtH6cHwMdLRLNY5uaIrmVrUMQXQ3c33IPWGxIo5yfXeAlbFgWdxnLq2N29jgXwrPZ j0nMD8efkTTv8Q2xYL+ldaytkF1HI1fsUtt+iOQmdRBycqZzRXikDWQh3jFs9kcSOVNl +MGyvP4qpfq9z/HfUmKViFXiQ9PJVo1K1TYw3bsvOi1aRFKkLIGaPlyr9CJK8xN8ZPLg zmnw== Received: by 10.224.194.137 with SMTP id dy9mr36822100qab.67.1343212861149; Wed, 25 Jul 2012 03:41:01 -0700 (PDT) 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 et6sm16410831qab.8.2012.07.25.03.41.00 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 03:41:00 -0700 (PDT) Message-ID: <500FCD3B.7000705@dev.mellanox.co.il> Date: Wed, 25 Jul 2012 06:40:59 -0400 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)" Subject: [PATCH 2/2] opensm/osm_helper.c: Add CapabilityMask2 to notice dump for trap 144 X-Gm-Message-State: ALoCoQmS3RgJGUgN11JyaoKTyjftX3RWqo38o6MjZRp+jbUGVHbpXlON42txjuqSt0M+tP9VQQ8L Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Per MgtWG RefID #4855 Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_helper.c b/opensm/osm_helper.c index 47d4ddb..afee3e1 100644 --- a/opensm/osm_helper.c +++ b/opensm/osm_helper.c @@ -2399,13 +2399,16 @@ static void osm_dump_notice_to_buf_generic(IN const ib_mad_notice_attr_t * p_ntc "\t\t\t\tlid......................%u\n" "\t\t\t\tlocal_changes............%u\n" "\t\t\t\tnew_cap_mask.............0x%08x\n" - "\t\t\t\tchange_flags.............0x%x\n", + "\t\t\t\tchange_flags.............0x%x\n" + "\t\t\t\tcap_mask2................0x%x\n", cl_ntoh16(p_ntci->data_details.ntc_144.lid), p_ntci->data_details.ntc_144.local_changes, cl_ntoh32(p_ntci->data_details.ntc_144. new_cap_mask), cl_ntoh16(p_ntci->data_details.ntc_144. - change_flgs)); + change_flgs), + cl_ntoh16(p_ntci->data_details.ntc_144. + cap_mask2)); break; case 145: sprintf(buff,