[openib-general] [PATCH] [TRIVIAL] [kdapl] CM: Message and commentary changes

Hal Rosenstock halr at voltaire.com
Thu Jun 9 11:57:14 PDT 2005


Message and commentary changes to make consistent with ongoing code
changes

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: dapl_openib_cm.c
===================================================================
--- dapl_openib_cm.c	(revision 2577)
+++ dapl_openib_cm.c	(working copy)
@@ -81,8 +81,7 @@
 	int status;
 
 	if (conn->ep->qp == NULL) {
-		dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: invalid qp "
-			     "handle\n");
+		dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: invalid qp\n");
 		goto disc;
 	}
 
@@ -416,6 +415,7 @@
  *        ep
  *        remote_ia_address
  *        remote_conn_qual
+ *        timeout
  *        private_data_size    size of private data and structure
  *        private_data         pointats_entry->semer to private data structure
  *
@@ -440,7 +440,7 @@
 
 	ep_ptr = (struct dapl_ep *)ep;
 	if (ep_ptr->qp == NULL) {
-		printk(KERN_ERR "dapl_ib_connect: qp handle invalid\n");
+		printk(KERN_ERR "dapl_ib_connect: qp invalid\n");
 		return DAT_INTERNAL_ERROR;
 	}
 
@@ -550,7 +550,7 @@
  * after the final disconnect callback has occurred.
  *
  * Input:
- *      ep_ptr          struct dapl_ep
+ *      ep_ptr          pointer to dapl_ep struct
  *      active          Indicates active side of connection
  *
  * Output:
@@ -581,7 +581,7 @@
 					"on transition to error\n", status);
 	} else
 		dapl_dbg_log(DAPL_DBG_TYPE_ERR, "dapl_ib_disconnect_clean: "
-						"invalid qp handle\n");
+						"invalid qp\n");
 }
 
 /*
@@ -590,7 +590,7 @@
  * Move the QP to INIT state again.
  *
  * Input:
- *      ep_ptr          DAPL_EP
+ *      ep_ptr          pointer to dapl_ep struct
  *
  * Output:
  *      none
@@ -641,8 +641,8 @@
  * Have the CM set up a connection listener.
  *
  * Input:
- *        ib_hca_handle            HCA handle
- *        qp_handle                QP handle
+ *        ia_ptr                   pointer to dapl_ia struct
+ *        sp_ptr                   pointer to dapl_sp struct
  *
  * Output:
  *         none
@@ -685,8 +685,8 @@
  * Have the CM remove a connection listener.
  *
  * Input:
- *      ia               IA handle
- *      ServiceID               IB Channel Service ID
+ *      ia_ptr                  pointer to dapl_ia struct
+ *      sp_ptr                  pointer to dapl_sp struct
  *
  * Output:
  *      none
@@ -719,7 +719,7 @@
  * Perform necessary steps to reject a connection
  *
  * Input:
- *        cm
+ *      cm                      pointer to dapl_cm_id struct
  *
  * Output:
  *         none
@@ -863,7 +863,7 @@
  *
  * Input:
  *	cr
- *	private data structure handle (only if not using ATS)
+ *	private data structure pointer (only if not using ATS)
  *
  * Output:
  *	remote_ia_address: where to place the remote address






More information about the general mailing list