]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
refresh
authorSean Hefty <sean.hefty@intel.com>
Wed, 26 Sep 2012 22:06:42 +0000 (15:06 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 26 Sep 2012 22:06:42 +0000 (15:06 -0700)
meta
patches/open_qp
patches/refresh-temp [deleted file]

diff --git a/meta b/meta
index b3e7c56e34cbb1c626dee80b3c1054fd8c36f2fc..a2322fa7c9ab1dbc30cb66150c417c552ac7bf5f 100644 (file)
--- a/meta
+++ b/meta
@@ -1,13 +1,12 @@
 Version: 1
-Previous: ac82cc98e873ed46dd45c4294b2c361716fd27a3
-Head: 458e314bf7e6413035fb46ab115cf38ea8677439
+Previous: db0cc1314f9303bb1f95a9b7c7365b91e0b58a46
+Head: 53bafbcd1bb32a3aa8d2e344fa9e5b6872c3ff1c
 Applied:
   verbs-ext: b3d744f488bc97442df7e6cef8536d3b0352a786
   xrcd: 07cc711dd4091666de3c99545c64578ce6472da7
   srq_ex: 9698473fabcdee089e866558fb1bfc9dbc867609
   xrc_qp: db63132ca115254044900ae234e123e8c963e8ee
-  open_qp: 4bb4a33e5148c746357ce3c5eba91b6ae1231003
-  refresh-temp: 458e314bf7e6413035fb46ab115cf38ea8677439
+  open_qp: 53bafbcd1bb32a3aa8d2e344fa9e5b6872c3ff1c
 Unapplied:
   compat-ex: 81b9e1927e19f096b0c34a461b5a0f102b672d43
   open_qp_man: 6cf6dc5761417ce54613251a1f16131b443da5ca
index c0bbe7b02757e9b0734997d888fbd30de0afe25a..0f0e08f72c397f940a142fd30e46306a36b230e4 100644 (file)
@@ -1,5 +1,5 @@
 Bottom: b66e97fee148aae0ef83ec03c25a6d56d444f6ea
-Top:    b712a07be07aca050238082e1b2ac1a12b5c8351
+Top:    8acc5160ff1885d6af90923f891dbc7ad02d3921
 Author: Sean Hefty <sean.hefty@intel.com>
 Date:   2012-09-19 09:19:59 -0700
 
@@ -77,7 +77,7 @@ index b6d5ce9..e24fa4f 100644
  
  struct ibv_destroy_cq_v1 {
 diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
-index 799822d..d0c3e1d 100644
+index 799822d..1e3003e 100644
 --- a/include/infiniband/verbs.h
 +++ b/include/infiniband/verbs.h
 @@ -484,6 +484,20 @@ struct ibv_qp_init_attr_ex {
@@ -127,7 +127,7 @@ index 799822d..d0c3e1d 100644
 + * ibv_open_qp - Open a shareable queue pair.
 + */
 +static inline struct ibv_qp *
-+ibv_open_qp(struct ibv_xrcd *xrcd, struct ibv_qp_open_attr *qp_open_attr);
++ibv_open_qp(struct ibv_xrcd *xrcd, struct ibv_qp_open_attr *qp_open_attr)
 +{
 +      struct verbs_context *vctx = verbs_get_ctx_op(xrcd->context, open_qp);
 +      if (!vctx) {
@@ -142,7 +142,7 @@ index 799822d..d0c3e1d 100644
   */
  int ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
 diff --git a/src/cmd.c b/src/cmd.c
-index 3bde238..fd9531b 100644
+index 3bde238..a45dfd6 100644
 --- a/src/cmd.c
 +++ b/src/cmd.c
 @@ -797,6 +797,41 @@ int ibv_cmd_create_qp(struct ibv_pd *pd,
@@ -178,7 +178,7 @@ index 3bde238..fd9531b 100644
 +      qp->qp.events_completed = 0;
 +      pthread_mutex_init(&qp->qp.mutex, NULL);
 +      pthread_cond_init(&qp->qp.cond, NULL);
-+      qp->comp_mask     = IBV_QP_XRCD;
++      qp->comp_mask     = VERBS_QP_XRCD;
 +      qp->xrcd          = xrcd;
 +
 +      return 0;
diff --git a/patches/refresh-temp b/patches/refresh-temp
deleted file mode 100644 (file)
index c9e2966..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Bottom: b712a07be07aca050238082e1b2ac1a12b5c8351
-Top:    8acc5160ff1885d6af90923f891dbc7ad02d3921
-Author: Sean Hefty <sean.hefty@intel.com>
-Date:   2012-09-26 15:06:41 -0700
-
-Refresh of open_qp
-
----
-
-diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
-index d0c3e1d..1e3003e 100644
---- a/include/infiniband/verbs.h
-+++ b/include/infiniband/verbs.h
-@@ -1180,7 +1180,7 @@ ibv_create_qp_ex(struct ibv_context *context, struct ibv_qp_init_attr_ex *qp_ini
-  * ibv_open_qp - Open a shareable queue pair.
-  */
- static inline struct ibv_qp *
--ibv_open_qp(struct ibv_xrcd *xrcd, struct ibv_qp_open_attr *qp_open_attr);
-+ibv_open_qp(struct ibv_xrcd *xrcd, struct ibv_qp_open_attr *qp_open_attr)
- {
-       struct verbs_context *vctx = verbs_get_ctx_op(xrcd->context, open_qp);
-       if (!vctx) {
-diff --git a/src/cmd.c b/src/cmd.c
-index fd9531b..a45dfd6 100644
---- a/src/cmd.c
-+++ b/src/cmd.c
-@@ -826,7 +826,7 @@ int ibv_cmd_open_qp(struct verbs_xrcd *xrcd, struct verbs_qp *qp,
-       qp->qp.events_completed = 0;
-       pthread_mutex_init(&qp->qp.mutex, NULL);
-       pthread_cond_init(&qp->qp.cond, NULL);
--      qp->comp_mask     = IBV_QP_XRCD;
-+      qp->comp_mask     = VERBS_QP_XRCD;
-       qp->xrcd          = xrcd;
-       return 0;