Skip to contentSkip to conversation

infiniband-diags/saquery.c: PortInfoRecord now has an options field

PATCH New Hal Rosenstock 1 participant 1 message Jul 26, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infiniband-diags/saquery.c: PortInfoRecord now has an options field

rather than reserved field

This is for coordination with the latest ib_types.h

---

src/saquery.c +2 -2
index 88abb39..f82772f 100644
@@ -300,9 +300,9 @@ static void dump_one_portinfo_record(void *data)
 	       "\tRID:\n"
 	       "\t\tEndPortLid..............%u\n"
 	       "\t\tPortNum.................%u\n"
-	       "\t\tReserved................0x%x\n"
+	       "\t\tOptions.................0x%x\n"
 	       "\tPortInfo dump:\n\t\t%s",
-	       cl_ntoh16(pir->lid), pir->port_num, pir->resv, buf2);
+	       cl_ntoh16(pir->lid), pir->port_num, pir->options, buf2);
 }
 
 static void dump_one_mcmember_record(void *data)

--
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