[openib-general] [PATCH][19/19] kDAPL: Remove typedefs DAT_IOV_OWNERSHIP & DAT_EP_CREATOR_FOR_PSP

Tom Duffy Tom.Duffy at Sun.COM
Sun May 15 11:27:20 PDT 2005


Signed-off-by: Tom Duffy <tduffy at sun.com>

diff -Nurp -X /home/tduffy/dontdiff linux-kernel18/dat/dat.h linux-kernel19/dat/dat.h
--- linux-kernel18/dat/dat.h	2005-05-13 16:08:45.452018000 -0700
+++ linux-kernel19/dat/dat.h	2005-05-15 09:44:20.544000000 -0700
@@ -1028,20 +1028,20 @@ struct dat_ia_attr {
 };
 
 /* Provider attributes */
-typedef enum dat_iov_ownership {
+enum dat_iov_ownership {
 	/* Not a modification by the Provider; the Consumer can use anytime. */
 	DAT_IOV_CONSUMER = 0x0,
 	/* Provider does not modify returned IOV DTO on completion.   */
 	DAT_IOV_PROVIDER_NOMOD = 0x1,
 	/* Provider can modify IOV DTO on completion; can't trust it. */
 	DAT_IOV_PROVIDER_MOD = 0x2
-} DAT_IOV_OWNERSHIP;
+};
 
-typedef enum dat_ep_creator_for_psp {
-	DAT_PSP_CREATES_EP_NEVER,	/* Provider never creates Endpoint.    */
-	DAT_PSP_CREATES_EP_IFASKED,	/* Provider creates Endpoint if asked. */
-	DAT_PSP_CREATES_EP_ALWAYS	/* Provider always creates Endpoint.   */
-} DAT_EP_CREATOR_FOR_PSP;
+enum dat_ep_creator_for_psp {
+	DAT_PSP_CREATES_EP_NEVER,	/* Provider never creates Endpoint.   */
+	DAT_PSP_CREATES_EP_IFASKED,	/* Provider creates Endpoint if asked.*/
+	DAT_PSP_CREATES_EP_ALWAYS	/* Provider always creates Endpoint.  */
+};
 
 /* The evd_stream_merging_supported is a 2D binary matrix where each row 
  * and column represents an event stream type. An entry is a 1 if the event 
@@ -1062,13 +1062,13 @@ struct dat_provider_attr {
 	u32 dat_version_major;
 	u32 dat_version_minor;
 	enum dat_mem_type lmr_mem_types_supported;
-	DAT_IOV_OWNERSHIP iov_ownership_on_return;
+	enum dat_iov_ownership iov_ownership_on_return;
 	enum dat_qos dat_qos_supported;
 	enum dat_completion_flags completion_flags_supported;
 	boolean_t is_thread_safe;
 	int max_private_data_size;
 	boolean_t supports_multipath;
-	DAT_EP_CREATOR_FOR_PSP ep_creator;
+	enum dat_ep_creator_for_psp ep_creator;
 	enum dat_upcall_policy upcall_policy;
 	u32 optimal_buffer_alignment;
 	const boolean_t evd_stream_merging_supported[6][6];




More information about the general mailing list