[openib-general][PATCH][kdapl]: dapl.h for FMR and evd trigger changes

Guy German guyg at voltaire.com
Thu Aug 11 06:34:47 PDT 2005


This changes are neede for the FMR and evd patch

Signed-off-by: Guy German <guyg at voltaire.com>

Index: dapl.h
===================================================================
--- dapl.h	(revision 3056)
+++ dapl.h	(working copy)
@@ -40,9 +40,9 @@
 #include <asm/atomic.h>
 
 #include <kdapl.h>
-
-#include "ib_verbs.h"
-#include "ib_cm.h"
+#include <ib_verbs.h>
+#include <ib_cm.h>
+#include <ib_fmr_pool.h>
 
 /*********************************************************************
  *                                                                   *
@@ -179,6 +179,7 @@ struct dapl_evd {
 	struct dapl_ring_buffer pending_event_queue;
 	enum dat_upcall_policy  upcall_policy;
 	struct dat_upcall_object upcall;
+	int is_triggered;
 };
 
 struct dapl_ep {
@@ -235,6 +236,7 @@ struct dapl_pz {
 	struct list_head list;
 	struct ib_pd *pd;
 	atomic_t pz_ref_count;
+	struct ib_fmr_pool *fmr_pool;
 };
 
 struct dapl_lmr {
@@ -243,6 +245,7 @@ struct dapl_lmr {
 	struct list_head list;
 	struct dat_lmr_param param;
 	struct ib_mr *mr;
+	struct ib_pool_fmr *fmr;
 	atomic_t lmr_ref_count;
 };
 
@@ -634,4 +637,6 @@ extern void dapl_dbg_log(enum dapl_dbg_t
 #define dapl_dbg_log(...)
 #endif /* KDAPL_INFINIBAND_DEBUG */
 
+extern void set_fmr_params (struct ib_fmr_pool_param *fmr_param_s);
+extern unsigned int active_fmr;
 #endif /* DAPL_H */
-------------- next part --------------
Index: dapl.h
===================================================================
--- dapl.h	(revision 3056)
+++ dapl.h	(working copy)
@@ -40,9 +40,9 @@
 #include <asm/atomic.h>
 
 #include <kdapl.h>
-
-#include "ib_verbs.h"
-#include "ib_cm.h"
+#include <ib_verbs.h>
+#include <ib_cm.h>
+#include <ib_fmr_pool.h>
 
 /*********************************************************************
  *                                                                   *
@@ -179,6 +179,7 @@ struct dapl_evd {
 	struct dapl_ring_buffer pending_event_queue;
 	enum dat_upcall_policy  upcall_policy;
 	struct dat_upcall_object upcall;
+	int is_triggered;
 };
 
 struct dapl_ep {
@@ -235,6 +236,7 @@ struct dapl_pz {
 	struct list_head list;
 	struct ib_pd *pd;
 	atomic_t pz_ref_count;
+	struct ib_fmr_pool *fmr_pool;
 };
 
 struct dapl_lmr {
@@ -243,6 +245,7 @@ struct dapl_lmr {
 	struct list_head list;
 	struct dat_lmr_param param;
 	struct ib_mr *mr;
+	struct ib_pool_fmr *fmr;
 	atomic_t lmr_ref_count;
 };
 
@@ -634,4 +637,6 @@ extern void dapl_dbg_log(enum dapl_dbg_t
 #define dapl_dbg_log(...)
 #endif /* KDAPL_INFINIBAND_DEBUG */
 
+extern void set_fmr_params (struct ib_fmr_pool_param *fmr_param_s);
+extern unsigned int active_fmr;
 #endif /* DAPL_H */


More information about the general mailing list