[openib-general] [PATCH] mad: Comment change (Roland's branch)

Hal Rosenstock halr at voltaire.com
Thu Oct 28 05:14:26 PDT 2004


mad: Comment change (Roland's branch)

Index: mad.c
===================================================================
--- mad.c	(revision 1088)
+++ mad.c	(working copy)
@@ -1771,7 +1771,7 @@
 		qp_init_attr.cap.max_recv_wr = IB_MAD_QP_RECV_SIZE;
 		qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG;
 		qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG;
-		qp_init_attr.qp_type = i;
+		qp_init_attr.qp_type = i;	/* Relies on ib_qp_type enum ordering of
IB_QPT_SMI and IB_QPT_GSI */
 		qp_init_attr.port_num = port_priv->port_num;
 		port_priv->qp[i] = ib_create_qp(port_priv->pd, &qp_init_attr,
 						&qp_cap);







More information about the general mailing list