[openib-general] [PATCH] kdapl: Eliminate vendor specific comments

Hal Rosenstock halr at voltaire.com
Tue May 10 05:51:16 PDT 2005


Eliminate vendor specific comments
Also, fix some typos

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

Index: dapl.h
===================================================================
--- dapl.h	(revision 2272)
+++ dapl.h	(working copy)
@@ -279,7 +279,7 @@
     /* Every EVD has a CQ unless it is a SOFTWARE_EVENT only EVD */
     ib_cq_handle_t      ib_cq_handle;
 
-    /* Mellanox Specific completion handle for registration/de-registration */
+    /* Completion handle for registration/de-registration */
     ib_comp_handle_t    ib_comp_handle;
 
     /* An Event Dispatcher cannot be freed while
@@ -325,12 +325,12 @@
 	/* What the DAT Consumer asked for */
 	DAT_EP_PARAM param;
 
-	/* The RC Queue Pair (IBM OS API) */
+	/* The RC Queue Pair */
 	ib_qp_handle_t qp_handle;
 	unsigned int qpn;	/* qp number */
 	ib_qp_state_t qp_state;
 
-	/* communications manager handle (IBM OS API) */
+	/* communications manager handle */
 	ib_cm_handle_t cm_handle;
 	/* store the remote IA address here, reference from the param
 	 * struct which only has a pointer, no storage
@@ -417,7 +417,7 @@
 
 	/* maintenence fields */
 	DAT_BOOLEAN listening;	/* PSP is registered & active */
-	ib_cm_srvc_handle_t cm_srvc_handle;	/* Used by Mellanox CM */
+	ib_cm_srvc_handle_t cm_srvc_handle;	/* Used by CM */
 	DAPL_LLIST_HEAD cr_list_head;	/* CR pending queue */
 	DAT_COUNT cr_list_count;	/* count of CRs on queue */
 };
Index: dapl_vendor.h
===================================================================
--- dapl_vendor.h	(revision 2272)
+++ dapl_vendor.h	(working copy)
@@ -105,8 +105,8 @@
  *
  * Values that might be used:
  *  #define VN_PREFIX		"ia"    (generic prefix)
- *  #define VN_PREFIX		"jni"	(JNI: OS Acces API)
- *  #define VN_PREFIX		"ibm"	(IBM: OS Acces API)
+ *  #define VN_PREFIX		"jni"	(JNI: OS Access API)
+ *  #define VN_PREFIX		"ibm"	(IBM: OS Access API)
  *  #define VN_PREFIX		""      (Mellanox: VAPI)
  *  #define VN_PREFIX		""      (Intel: IB Common API)
  */
Index: dapl_ep_util.c
===================================================================
--- dapl_ep_util.c	(revision 2272)
+++ dapl_ep_util.c	(working copy)
@@ -114,9 +114,6 @@
 		ep_ptr->param.ep_attr = *ep_attr;
 	}
 
-	/*
-	 * IBM OS API specific fields
-	 */
 	ep_ptr->qp_handle = IB_INVALID_HANDLE;
 	ep_ptr->qpn = 0;
 	ep_ptr->qp_state = DAPL_QP_STATE_UNATTACHED;






More information about the general mailing list