Skip to contentSkip to conversation

infiniband-diags: saquery: add qkey to -g output

PATCH New Ira Weiny 1 participant 1 message Oct 7, 2011 InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: saquery: add qkey to -g output

---
 src/saquery.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
src/saquery.c +2 -0
index bdf5e9a..1f30d2a 100644
@@ -344,12 +344,14 @@ static void dump_multicast_group_record(void *data)
 	ib_member_get_sl_flow_hop(p_mcmr->sl_flow_hop, &sl, NULL, NULL);
 	printf("MCMemberRecord group dump:\n"
 	       "\t\tMGID....................%s\n"
+	       "\t\tQ_Key...................0x%X\n"
 	       "\t\tMlid....................0x%X\n"
 	       "\t\tMtu.....................0x%X\n"
 	       "\t\tpkey....................0x%X\n"
 	       "\t\tRate....................0x%X\n"
 	       "\t\tSL......................0x%X\n",
 	       inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str, sizeof gid_str),
+	       cl_ntoh32(p_mcmr->qkey),
 	       cl_ntoh16(p_mcmr->mlid),
 	       p_mcmr->mtu, cl_ntoh16(p_mcmr->pkey), p_mcmr->rate, sl);
 }
Signature · 6 lines
1.7.1

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