CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
EfaEndpointState Struct Reference

Structure used to hold EFA endpoint state data. More...

#include <adapter_efa.h>

Data Fields

AdapterEndpointStateadapter_endpoint_ptr
 Pointer to adapter endpoint data (here for convenience).
 
union { 
 
   EfaTxState   tx_state 
 The internal state of the structure if adapter_endpoint_ptr->direction is kEndpointDirectionSend.
 
   EfaRxState   rx_state 
 The internal state of the structure if adapter_endpoint_ptr->direction is kEndpointDirectionReceive.
 
};  
 
int tx_control_dest_port
 Transmitter control interface destination port.
 
ProbeEndpointHandle probe_endpoint_handle
 Handle of probe for this endpoint.
 
struct fid_cq * completion_queue_ptr
 Data for completion events. Used by PollThread().
 
struct fi_info * fabric_info_ptr
 Pointer to libfabric structures used by the endpoint.
 
struct fid_fabric * fabric_ptr
 Pointer to fabric provider.
 
struct fid_domain * domain_ptr
 Pointer to fabric access domain.
 
struct fid_ep * endpoint_ptr
 Pointer to fabric endpoint (transport level communication portal)
 
struct fid_av * address_vector_ptr
 Pointer to address vector map (high-level to fabric address map)
 
fi_addr_t remote_fi_addr
 Remote memory address (we don't use so it is always FI_ADDR_UNSPEC)
 
volatile bool fabric_initialized
 True of libfabric has been initialized.
 
uint64_t mr_key
 Key used for memory registration. Must be unique for each fi_mr_reg(). Only used if FI_MR_PROV_KEY for the domain is not enabled. Currently, this value is only used by the socket provider.
 
uint8_t local_ipv6_gid_array [MAX_IPV6_GID_LENGTH]
 Pointer to local device GID for this endpoint.
 
uint8_t remote_ipv6_gid_array [MAX_IPV6_GID_LENGTH]
 Pointer to remote device GID related to this endpoint.
 
int dest_control_port
 
LibfabricApilibfabric_api_next_ptr
 Pointer to next version of libfabric API V-table to use.
 
LibfabricApilibfabric_api_ptr
 Pointer to current libfabric API V-table.
 

Detailed Description

Structure used to hold EFA endpoint state data.

Field Documentation

◆ completion_queue_ptr

struct fid_cq* EfaEndpointState::completion_queue_ptr

Data for completion events. Used by PollThread().

Pointer to libfabric completion queue

◆ dest_control_port

int EfaEndpointState::dest_control_port

Destination control port. For socket-based we use the next higher port number for the data port.

◆ fabric_info_ptr

struct fi_info* EfaEndpointState::fabric_info_ptr

Pointer to libfabric structures used by the endpoint.

Pointer to description of a libfabric endpoint


The documentation for this struct was generated from the following file: