LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches
RESOURCE net_context

The network context resource. More...

Collaboration diagram for RESOURCE net_context:

Classes

class  lci::net_context_t
 The actual implementation for RESOURCE net_context. More...
 

Detailed Description

The network context resource.

Parameters
[in,out]backendof type attr_backend_t; The network backend to use.
[in,out]ofi_provider_nameof type std::string; For the OFI backend: the provider name.
[in,out]max_msg_sizeof type size_t; The maximum message size.
[in,out]max_inject_sizeof type size_t; The maximum inject size.
[in,out]ibv_gid_idxof type int; For the IBV backend: the GID index by default (only needed by RoCE).
[in,out]ibv_force_gid_auto_selectof type bool; For the IBV backend: whether to force GID auto selection.
[in,out]ibv_odp_strategyof type attr_ibv_odp_strategy_t; For the IBV backend: the on-demand paging strategy.
[in,out]ibv_prefetch_strategyof type attr_ibv_prefetch_strategy_t; For the IBV backend: the mr prefetch strategy.
[out]support_putimmof type bool; Whether the network context supports put with immediate data.
[in,out]use_dmabufof type bool; Whether to use dmabuf for cuda buffer registration.
[in,out]nameof type const char*; Name of the resource.
[in,out]user_contextof type void*; User context for the resource.