Skip to contentSkip to conversation

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

PATCH In review Hal Rosenstock 2 participants 2 messages Jul 25, 2012 – Jul 30, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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

Per MgtWG RefID #4855

---

opensm/osm_helper.c +5 -2
index 47d4ddb..afee3e1 100644
@@ -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,

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 500FCD3B.7000705-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org