diff mbox

[2/2] opensm/osm_helper.c: Add CapabilityMask2 to notice dump for trap 144

Message ID 500FCD3B.7000705@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Alex Netes
Headers show

Commit Message

Hal Rosenstock July 25, 2012, 10:40 a.m. UTC
Per MgtWG RefID #4855

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
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

Comments

Alex Netes July 30, 2012, 7:06 a.m. UTC | #1
Hi Hal,

On 06:40 Wed 25 Jul     , Hal Rosenstock wrote:
> 
> Per MgtWG RefID #4855
> 
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>
> ---

Applied, thanks.
--
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 mbox

Patch

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,