]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
refresh
authorSean Hefty <sean.hefty@intel.com>
Thu, 20 Sep 2012 21:23:56 +0000 (14:23 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 20 Sep 2012 21:23:56 +0000 (14:23 -0700)
meta
patches/refresh-temp [deleted file]
patches/verbs-ext

diff --git a/meta b/meta
index 46fba2a58693b07273053ece331b9aece9390735..f07def01f15fda2baa816ab6913c74d1cc0ea947 100644 (file)
--- a/meta
+++ b/meta
@@ -1,9 +1,8 @@
 Version: 1
-Previous: b85b300ff4fb85661a17e02642250a05cec03773
-Head: 683ba9155c8ba0638261d493f8b6683202c53f15
+Previous: 6c1fc6eb5ed3aca5823c5cb6567ec8de4a3c5865
+Head: b3d744f488bc97442df7e6cef8536d3b0352a786
 Applied:
-  verbs-ext: 6fbf2b29ca68fc10b7ee47dc0c09f54db0b32320
-  refresh-temp: 683ba9155c8ba0638261d493f8b6683202c53f15
+  verbs-ext: b3d744f488bc97442df7e6cef8536d3b0352a786
 Unapplied:
   compat-ex: fb8aa3e0b8ed628564d7d774907fd17a72a23522
   xrcd: 71fa003681345f671bdef05c9548263252e949de
diff --git a/patches/refresh-temp b/patches/refresh-temp
deleted file mode 100644 (file)
index bd1e8f6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Bottom: b2b2b839d978bb240b0641dff8459eaee9553d17
-Top:    b2b2b839d978bb240b0641dff8459eaee9553d17
-Author: Sean Hefty <sean.hefty@intel.com>
-Date:   2012-09-20 14:23:22 -0700
-
-Refresh of verbs-ext
-
----
-
-
index 82b63184508aa062fca247f0a327982c11a3461f..00c1de06e938db02bd8b0b8b1b659cb506596e6f 100644 (file)
@@ -3,8 +3,30 @@ Top:    b2b2b839d978bb240b0641dff8459eaee9553d17
 Author: Yishai Hadas <yishaih@mellanox.com>
 Date:   2012-08-26 16:43:30 +0300
 
-From 88a5bc75122c8bb6ce45fbaae79c06a2440fea65 Mon Sep 17 00:00:00 2001
-Subject: [PATCH V0 libibverbs] infra-structure changes to support verbs extension
+Infrastructure to support verbs extensions
+
+Infrastructure to support extended verbs capabilities in a forward/backward
+manner.
+
+The general operation as shown in the following pseudo-code:
+
+ibv_open_device()
+{
+       context = device->ops.alloc_context();
+       if (context == -1) {
+               context_ex = malloc(verbs_context + verbs_device->context_size);
+               verbs_device->init_context(context_ex);
+               context_ex->context.abi_compat = -1;
+       }
+}
+
+If the underlying provider supports extensions, it returns -1 from its
+alloc_context() call.  Ibverbs then allocates the ibv_context structure and
+calls into the provider to finish initializing it.
+
+When extensions are supported, the ibv_device structure is embedded in a
+larger verbs_device structure.  Similarly, ibv_context is embedded inside
+a larger verbs_context structure.
 
 Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
 Signed-off-by: Tzahi Oved <tzahio@mellanox.com>