From 0070112441ba6b9fa2f09126be36cd4b1009d8af Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 20 Sep 2012 14:23:56 -0700 Subject: [PATCH] refresh --- meta | 7 +++---- patches/refresh-temp | 10 ---------- patches/verbs-ext | 26 ++++++++++++++++++++++++-- 3 files changed, 27 insertions(+), 16 deletions(-) delete mode 100644 patches/refresh-temp diff --git a/meta b/meta index 46fba2a..f07def0 100644 --- 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 index bd1e8f6..0000000 --- a/patches/refresh-temp +++ /dev/null @@ -1,10 +0,0 @@ -Bottom: b2b2b839d978bb240b0641dff8459eaee9553d17 -Top: b2b2b839d978bb240b0641dff8459eaee9553d17 -Author: Sean Hefty -Date: 2012-09-20 14:23:22 -0700 - -Refresh of verbs-ext - ---- - - diff --git a/patches/verbs-ext b/patches/verbs-ext index 82b6318..00c1de0 100644 --- a/patches/verbs-ext +++ b/patches/verbs-ext @@ -3,8 +3,30 @@ Top: b2b2b839d978bb240b0641dff8459eaee9553d17 Author: Yishai Hadas 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 Signed-off-by: Tzahi Oved -- 2.41.0