Commit 3e31775
committed
btl/base: add a subsystem for supporting active-message "RDMA"
This commit adds a new subsystem to the btl base: active-message
RDMA. The subsystem can be activated on any non-RDMA or partial-
RDMA btl (for example tcp) by calling:
```c
mca_btl_base_am_rdma_init(mca_btl_base_module_t *btl).
```
Once called the btl module supplied with be augmented to have
btl_get, btl_put, btl_fop, and btl_cswap functions. Flags will
be set to indicate that the BTL is using active-message
versions of these functions.
Calling this function on a btl will register a progress
function for handling retries of intiator or target-side
operations. There may be some overhead once the progress
function is registered.
Active-message "RDMA" support is not activated on any BTL
module by default.
Signed-off-by: Nathan Hjelm <hjelmn@google.com>1 parent 8f8e9b8 commit 3e31775
File tree
6 files changed
+1205
-7
lines changed- opal/mca/btl
- base
6 files changed
+1205
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments