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
+++ /dev/null
-Bottom: b2b2b839d978bb240b0641dff8459eaee9553d17
-Top: b2b2b839d978bb240b0641dff8459eaee9553d17
-Author: Sean Hefty <sean.hefty@intel.com>
-Date: 2012-09-20 14:23:22 -0700
-
-Refresh of verbs-ext
-
----
-
-
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>