Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
60e0e3a
Added APIs to support crossed and crossing MKey registration.
yqin Jun 29, 2021
42af845
WIP xgvmi cap
yosefe Feb 21, 2022
38d13de
WIP
yosefe Feb 21, 2022
4456a62
WIP2
yosefe Feb 21, 2022
4f411ce
UCP: cross-gvmi draft
brminich Feb 21, 2022
47d6090
WIP3
yosefe Feb 21, 2022
6525191
UCP: Cleanup using UCT API
brminich Feb 21, 2022
41ac423
WIP4
yosefe Feb 21, 2022
1c08b9a
UCP: compilation fixes
brminich Feb 21, 2022
9cd1fa4
UCT: Cross-gvmi support
brminich Feb 21, 2022
fcb63c2
GTEST: Fix + hack to run the test without connection
brminich Feb 21, 2022
2eb3f95
UCP/GTEST: Hack to unpack rkey on worker
brminich Feb 21, 2022
fe2f035
WIP5
yosefe Feb 21, 2022
55da8e5
Fix UCT rcache
yosefe Feb 21, 2022
c9d7bd0
UCP: Prints and bug fixes
brminich Feb 21, 2022
b31b854
Fix UCT rcache
yosefe Feb 21, 2022
e255fe5
TEST: test fixes (revert to make send-recv)
brminich Feb 22, 2022
0c8770a
Merge remote-tracking branch 'yossi/hack/xgvmi' into hktn/cross_mkey
brminich Feb 22, 2022
ae68576
UCP: Add user memh prints
brminich Feb 22, 2022
0088628
UCP: Fix import memh init
brminich Feb 22, 2022
1f272f4
WIP5: Cross gvmi alias key
yosefe Feb 22, 2022
6985ccf
WIP6: Fix error status
yosefe Feb 22, 2022
934287a
Merge remote-tracking branch 'yossi/hack/xgvmi' into hktn/cross_mkey
brminich Feb 22, 2022
9a2e2bc
UCT/UCP: Add SHARED rkey to MEM MD flags
brminich Feb 22, 2022
2bfce29
UCP: Fix mem_map for non-shared mem
brminich Feb 22, 2022
b4877e0
WIP7: Limit page size in umem
yosefe Feb 22, 2022
475e6aa
UCP: Fix memh init for memmap reg
brminich Feb 22, 2022
c3c6460
UCP/CORE: Don't dereg on MD which was used for allocation
dmitrygx Feb 22, 2022
7eb1dce
Fix md_index for import
brminich Feb 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/ucp/api/ucp.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,9 @@ enum ucp_mem_map_params_field {
@ref ucp_mem_map routine.*/
UCP_MEM_MAP_PARAM_FIELD_FLAGS = UCS_BIT(2), /**< Allocation flags. */
UCP_MEM_MAP_PARAM_FIELD_PROT = UCS_BIT(3), /**< Memory protection mode. */
UCP_MEM_MAP_PARAM_FIELD_MEMORY_TYPE = UCS_BIT(4) /**< Memory type. */
UCP_MEM_MAP_PARAM_FIELD_MEMORY_TYPE = UCS_BIT(4), /**< Memory type. */
UCP_MEM_MAP_PARAM_FIELD_PEER_ID = UCS_BIT(5), /**< peer_id field */
UCP_MEM_MAP_PARAM_FIELD_RKEY = UCS_BIT(6) /**< rkey field */
};

/**
Expand Down Expand Up @@ -530,10 +532,11 @@ enum {
if passed address is not a null-pointer
then it will be used as a hint or direct
address for allocation. */
UCP_MEM_MAP_FIXED = UCS_BIT(2) /**< Don't interpret address as a hint:
UCP_MEM_MAP_FIXED = UCS_BIT(2), /**< Don't interpret address as a hint:
place the mapping at exactly that
address. The address must be a multiple
of the page size. */
UCP_MEM_MAP_SHARED = UCS_BIT(3)
};


Expand Down Expand Up @@ -1587,6 +1590,11 @@ typedef struct ucp_mem_map_params {
* internally.
*/
ucs_memory_type_t memory_type;

/* Id of the peer to create a shared memh for */
uint8_t peer_id;

ucp_rkey_h rkey;
} ucp_mem_map_params_t;


Expand Down Expand Up @@ -3009,6 +3017,8 @@ void ucp_rkey_buffer_release(void *rkey_buffer);
ucs_status_t ucp_ep_rkey_unpack(ucp_ep_h ep, const void *rkey_buffer,
ucp_rkey_h *rkey_p);

ucs_status_t ucp_worker_rkey_unpack(ucp_worker_h worker, const void *rkey_buffer,
ucp_rkey_h *rkey_p);

/**
* @ingroup UCP_MEM
Expand Down
Loading