NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_rdma.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <rdma/rdma_cma.h>
#include <doca_error.h>
#include <doca_types.h>
Include dependency graph for doca_rdma.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  doca_rdma_gid
 

Typedefs

typedef uint64_t doca_dpa_dev_rdma_t
 
typedef void(* doca_rdma_connection_request_cb_t) (struct doca_rdma_connection *rdma_connection, union doca_data ctx_user_data)
 Function to execute on connection request event. More...
 
typedef void(* doca_rdma_connection_established_cb_t) (struct doca_rdma_connection *rdma_connection, union doca_data connection_user_data, union doca_data ctx_user_data)
 Function to execute on connection established event. More...
 
typedef void(* doca_rdma_connection_failure_cb_t) (struct doca_rdma_connection *rdma_connection, union doca_data connection_user_data, union doca_data ctx_user_data)
 Function to execute on connection failure event. More...
 
typedef void(* doca_rdma_connection_disconnection_cb_t) (struct doca_rdma_connection *rdma_connection, union doca_data connection_user_data, union doca_data ctx_user_data)
 Function to execute on connection disconnection event. More...
 
typedef void(* doca_rdma_task_receive_completion_cb_t) (struct doca_rdma_task_receive *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a receive task. More...
 
typedef void(* doca_rdma_task_send_completion_cb_t) (struct doca_rdma_task_send *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a send task. More...
 
typedef void(* doca_rdma_task_send_imm_completion_cb_t) (struct doca_rdma_task_send_imm *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a send with immediate task. More...
 
typedef void(* doca_rdma_task_read_completion_cb_t) (struct doca_rdma_task_read *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a read task. More...
 
typedef void(* doca_rdma_task_write_completion_cb_t) (struct doca_rdma_task_write *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a write task. More...
 
typedef void(* doca_rdma_task_write_imm_completion_cb_t) (struct doca_rdma_task_write_imm *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a write with immediate task. More...
 
typedef void(* doca_rdma_task_atomic_cmp_swp_completion_cb_t) (struct doca_rdma_task_atomic_cmp_swp *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of an atomic compare and swap task. More...
 
typedef void(* doca_rdma_task_atomic_fetch_add_completion_cb_t) (struct doca_rdma_task_atomic_fetch_add *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of an atomic fetch and add task. More...
 
typedef void(* doca_rdma_task_remote_net_sync_event_get_completion_cb_t) (struct doca_rdma_task_remote_net_sync_event_get *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a remote_net_sync_event_get task. More...
 
typedef void(* doca_rdma_task_remote_net_sync_event_notify_set_completion_cb_t) (struct doca_rdma_task_remote_net_sync_event_notify_set *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a remote_net_sync_event_notify_set task. More...
 
typedef void(* doca_rdma_task_remote_net_sync_event_notify_add_completion_cb_t) (struct doca_rdma_task_remote_net_sync_event_notify_add *task, union doca_data task_user_data, union doca_data ctx_user_data)
 Function to execute on completion of a remote_net_sync_event_notify_add task. More...
 

Enumerations

enum  doca_rdma_transport_type { DOCA_RDMA_TRANSPORT_TYPE_RC , DOCA_RDMA_TRANSPORT_TYPE_DC }
 
enum  doca_rdma_addr_type { DOCA_RDMA_ADDR_TYPE_IPv4 , DOCA_RDMA_ADDR_TYPE_IPv6 , DOCA_RDMA_ADDR_TYPE_GID }
 
enum  doca_rdma_opcode { DOCA_RDMA_OPCODE_RECV_SEND = 0 , DOCA_RDMA_OPCODE_RECV_SEND_WITH_IMM , DOCA_RDMA_OPCODE_RECV_WRITE_WITH_IMM }
 

Functions

DOCA_EXPERIMENTAL doca_error_t doca_rdma_create (struct doca_dev *dev, struct doca_rdma **rdma)
 Create a DOCA RDMA instance. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_destroy (struct doca_rdma *rdma)
 Destroy a DOCA RDMA instance. More...
 
DOCA_EXPERIMENTAL struct doca_ctx * doca_rdma_as_ctx (struct doca_rdma *rdma)
 Convert doca_rdma instance into a generalized context for use with doca core objects. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_export (struct doca_rdma *rdma, const void **local_rdma_conn_details, size_t *local_rdma_conn_details_size, struct doca_rdma_connection **rdma_connection)
 Export doca_rdma connection details object The doca_rdma_conn_details are used in doca_rdma_connect(). Can only be called after calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connect (struct doca_rdma *rdma, const void *remote_rdma_conn_details, size_t remote_rdma_conn_details_size, struct doca_rdma_connection *rdma_connection)
 Connect to remote doca_rdma peer. Can only be called when the ctx is in DOCA_CTX_STATE_STARTING state (after calling doca_ctx_start()). Once called, doca_pe_progress() should be called, in order to transition the ctx to DOCA_CTX_STATE_RUNNING state. Only after that can tasks be allocated and submitted. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_addr_create (enum doca_rdma_addr_type addr_type, const char *address, uint16_t port, struct doca_rdma_addr **addr)
 Set connection address object for doca_rdma. The object can be queried using doca_rdma_connection_get_addr(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_addr_destroy (struct doca_rdma_addr *addr)
 Destroy connection address object for doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_start_listen_to_port (struct doca_rdma *rdma, uint16_t port)
 Start listening for a connection from a remote doca_rdma peer. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. Once called, doca_pe_progress() should be called, in order to evaluate possible connections requests. Only after a connection is established can send tasks be allocated and submitted. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_stop_listen_to_port (struct doca_rdma *rdma, uint16_t port)
 End the listen process for a connection from remote doca_rdma peers. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. Once called, Server just stop listening for incoming connection requests and do not disconnect any remote doca_rdma peer. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_accept (struct doca_rdma_connection *rdma_connection, void *private_data, uint8_t private_data_len)
 Accept an incoming connection request from remote doca_rdma peer. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. Only after a connection is established can send tasks be allocated and submitted. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_reject (struct doca_rdma_connection *rdma_connection)
 Reject an incoming connection request from remote doca_rdma peer. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connect_to_addr (struct doca_rdma *rdma, struct doca_rdma_addr *addr, union doca_data connection_user_data)
 Connect to a remote doca_rdma peer listening for a connection. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. Once called, doca_pe_progress() should be called, in order to evaluate connection response. Only after a connection is established can send tasks be allocated and submitted. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_disconnect (struct doca_rdma_connection *rdma_connection)
 Finalize a connection with a remote doca_rdma peer. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_bridge_prepare_connection (struct doca_rdma *rdma, struct rdma_cm_id *cm_id, struct doca_rdma_connection **rdma_connection)
 Prepare the connection and perform the doca connection to client side acting as a bridge. This method acts as a bridge to prepare and perform the doca connection to a connection request from an application that performs the listen process by itself. This function only prepare the DOCA connection, it is necessary to call doca_rdma_bridge_accept(), to continue the connection process. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_bridge_accept (struct doca_rdma *rdma, void *private_data, uint8_t private_data_len, struct doca_rdma_connection *rdma_connection)
 Accept the connection from client side acting as a bridge. This method acts as a bridge to accept a connection request from an application that performs the listen process by itself. Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. Only after a connection is established can send tasks be allocated and submitted. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_bridge_established (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection)
 Notify the server side of the successful established connection with client Can be called when the ctx is in DOCA_CTX_STATE_RUNNING state. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_max_recv_queue_size (const struct doca_devinfo *devinfo, uint32_t *max_recv_queue_size)
 Get the maximal recv queue size for a specific device. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_max_send_queue_size (const struct doca_devinfo *devinfo, uint32_t *max_send_queue_size)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_max_send_buf_list_len (const struct doca_devinfo *devinfo, uint32_t *max_send_buf_list_len)
 Get the maximal buffer list length property for buffers of tasks that are sent to the remote and in which linked list are supported (i.e. send, send_imm, read, write, write_imm). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_max_message_size (const struct doca_devinfo *devinfo, uint32_t *max_message_size)
 Get the maximal message size for a specific device. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_gid_table_size (const struct doca_devinfo *devinfo, uint32_t *gid_table_size)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_get_gid (const struct doca_devinfo *devinfo, uint32_t start_index, uint32_t num_entries, struct doca_rdma_gid *gid_array)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_transport_type_is_supported (const struct doca_devinfo *devinfo, enum doca_rdma_transport_type transport_type)
 Check if DOCA RDMA supports given transport type for a specific device. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_send_queue_size (struct doca_rdma *rdma, uint32_t send_queue_size)
 Set send queue size property for doca_rdma. The value can be queried using doca_rdma_get_send_queue_size(). Queue size will be rounded to the next power of 2. can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_recv_queue_size (struct doca_rdma *rdma, uint32_t recv_queue_size)
 Set recv queue size property for doca_rdma. The value can be queried using doca_rdma_get_recv_queue_size(). Queue size will be rounded to the next power of 2. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_max_send_buf_list_len (struct doca_rdma *rdma, uint32_t max_send_buf_list_len)
 Set the maximum buffer list length property for local buffers of tasks that are sent to the remote and in which linked list are supported (i.e. send, send_imm, read, write, write_imm). The value in use can be queried using doca_rdma_get_max_send_buf_list_len(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_transport_type (struct doca_rdma *rdma, enum doca_rdma_transport_type transport_type)
 Set transport type for doca_rdma. The value can be queried using doca_rdma_get_transport_type(). Can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_mtu (struct doca_rdma *rdma, enum doca_mtu_size mtu)
 Set MTU for doca_rdma. The value can be queried using doca_rdma_get_mtu(). Can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_permissions (struct doca_rdma *rdma, uint32_t permissions)
 Set rdma permissions for doca_rdma. The value can be queried using doca_rdma_get_permissions(). Can only be called after calling doca_ctx_dev_add() and before calling doca_ctx_start(). The supported permissions are the RDMA access flags. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_grh_enabled (struct doca_rdma *rdma, uint8_t grh_enabled)
 Set whether to use GRH in connection. The value can be queried using doca_rdma_get_grh_enabled(). Can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_gid_index (struct doca_rdma *rdma, uint32_t gid_index)
 Set GID index for doca_rdma. The value can be queried using doca_rdma_get_gid_index(). Can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_sl (struct doca_rdma *rdma, uint32_t sl)
 Set SL (service level) for doca_rdma. The value can be queried using doca_rdma_get_sl(). Can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_connection_request_timeout (struct doca_rdma *rdma, uint16_t timeout)
 Set timeout property for doca_rdma. The value can be queried using doca_rdma_get_connection_request_timeout(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_set_user_data (struct doca_rdma_connection *rdma_connection, union doca_data connection_user_data)
 Set user data to include in each connection. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_max_num_connections (struct doca_rdma *rdma, uint16_t max_num_connections)
 Set the maximum number of connections property for a context. The value can be queried using doca_rdma_get_max_num_connections(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_rnr_retry_count (struct doca_rdma *rdma, uint8_t rnr_retry_count)
 Set the rnr retry count property for a context. The value can be queried using doca_rdma_get_rnr_retry_count(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_send_queue_size (const struct doca_rdma *rdma, uint32_t *send_queue_size)
 Get send queue size property from doca_rdma. Returns the current send_queue_size set for the doca_rdma_context. The size returned is the actual size being used and might differ from the size set by the user, as the size may be increased. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_recv_queue_size (const struct doca_rdma *rdma, uint32_t *recv_queue_size)
 Get recv queue size property from doca_rdma. Returns the current recv_queue_size set for the doca_rdma_context. The size returned is the actual size being used and might differ from the size set by the user, as the size may be increased. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_max_send_buf_list_len (const struct doca_rdma *rdma, uint32_t *max_send_buf_list_len)
 Get the maximum buffer list length property for local buffers of tasks that are sent to the remote and in which linked list are supported (i.e. send, send_imm, read, write, write_imm). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_transport_type (const struct doca_rdma *rdma, enum doca_rdma_transport_type *transport_type)
 Get transport_type property from doca_rdma. Returns the current transport_type set for the doca_rdma_context. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_mtu (const struct doca_rdma *rdma, enum doca_mtu_size *mtu)
 Get the MTU property from doca_rdma. Returns the current MTU set for the doca_rdma context. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_permissions (struct doca_rdma *rdma, uint32_t *permissions)
 Get permissions property from doca_rdma. Returns the current permissions set for the doca_rdma_context. Can only be called after calling doca_ctx_dev_add(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_grh_enabled (const struct doca_rdma *rdma, uint8_t *grh_enabled)
 Get GRH setting from doca_rdma. Get the current GRH setting for doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_gid_index (const struct doca_rdma *rdma, uint32_t *gid_index)
 Get GID index from doca_rdma. Get the current GID index set for doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_sl (const struct doca_rdma *rdma, uint32_t *sl)
 Get SL (service level) from doca_rdma. Get the current SL set for doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_dpa_handle (struct doca_rdma *rdma, doca_dpa_dev_rdma_t *dpa_rdma)
 Retrieve the handle in the dpa memory space of a doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_gpu_handle (struct doca_rdma *rdma, struct doca_gpu_dev_rdma **gpu_rdma)
 Retrieve the handle in the gpu memory space of a doca_rdma. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_connection_request_timeout (const struct doca_rdma *rdma, uint16_t *timeout)
 Get timeout property for doca_rdma. Returns the current timeout set for the connection resolve related functions. The size returned is the actual size being used and might differ from the size set by the user, as the size may be increased. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_get_addr (const struct doca_rdma_connection *rdma_connection, struct doca_rdma_addr **addr)
 Get connection address object from a doca_rdma_connection. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_addr_get_params (struct doca_rdma_addr *addr, enum doca_rdma_addr_type *addr_type, const char **address, uint16_t *port)
 Get address object parameters from an address object. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_get_user_data (const struct doca_rdma_connection *rdma_connection, union doca_data *connection_user_data)
 Get user data included in a connection. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_connection_get_id (const struct doca_rdma_connection *rdma_connection, uint32_t *connection_id)
 Get connection ID from an rdma connection. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_max_num_connections (struct doca_rdma *rdma, uint16_t *max_num_connections)
 Get maximum number of connections property for doca_rdma. Returns the current maximum number of connections set for a context. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_get_rnr_retry_count (const struct doca_rdma *rdma, uint8_t *rnr_retry_count)
 Get rnr retry count property for doca_rdma. Returns the current rnr retry count set for a context. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_set_connection_state_callbacks (struct doca_rdma *rdma, doca_rdma_connection_request_cb_t doca_rdma_connect_request_cb, doca_rdma_connection_established_cb_t doca_rdma_connect_established_cb, doca_rdma_connection_failure_cb_t doca_rdma_connect_failure_cb, doca_rdma_connection_disconnection_cb_t doca_rdma_disconnect_cb)
 This method set the function executed on RDMA connection events. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_receive_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_receive_get_max_dst_buf_list_len (const struct doca_devinfo *devinfo, enum doca_rdma_transport_type transport_type, uint32_t *max_buf_list_len)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_receive_set_conf (struct doca_rdma *rdma, doca_rdma_task_receive_completion_cb_t successful_task_completion_cb, doca_rdma_task_receive_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the receive tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_receive_set_dst_buf_list_len (struct doca_rdma *rdma, uint32_t buf_list_len)
 Set the maximal destination buffer list length property for receive tasks. After starting the DOCA RDMA context the length may be increased and the value in use can be queried using doca_rdma_get_recv_buf_list_len(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_receive_get_dst_buf_list_len (const struct doca_rdma *rdma, uint32_t *buf_list_len)
 Get the maximal destination buffer list length property for receive tasks. The returned value is the actual value being used and might differ from the size set by the user, as it may be increased. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_receive_allocate_init (struct doca_rdma *rdma, struct doca_buf *dst_buf, union doca_data user_data, struct doca_rdma_task_receive **task)
 This method allocates and initializes a receive task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_receive_as_task (struct doca_rdma_task_receive *task)
 This method converts a receive task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_receive_set_dst_buf (struct doca_rdma_task_receive *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of a receive task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_receive_get_dst_buf (const struct doca_rdma_task_receive *task)
 This method gets the destination buffer of a receive task. More...
 
DOCA_EXPERIMENTAL enum doca_rdma_opcode doca_rdma_task_receive_get_result_opcode (const struct doca_rdma_task_receive *task)
 This method gets the opcode of the operation executed by the peer and received by the task. More...
 
DOCA_EXPERIMENTAL uint32_t doca_rdma_task_receive_get_result_len (const struct doca_rdma_task_receive *task)
 This method gets the length of data received by the task. More...
 
DOCA_EXPERIMENTAL doca_be32_t doca_rdma_task_receive_get_result_immediate_data (const struct doca_rdma_task_receive *task)
 This method gets the immediate data received by the task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_receive_get_result_rdma_connection (const struct doca_rdma_task_receive *task)
 This method gets the rdma connection of a receive task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_send_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_send_set_conf (struct doca_rdma *rdma, doca_rdma_task_send_completion_cb_t successful_task_completion_cb, doca_rdma_task_send_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the send tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_send_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_buf *src_buf, union doca_data user_data, struct doca_rdma_task_send **task)
 This method allocates and initializes a send task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_send_as_task (struct doca_rdma_task_send *task)
 This method converts a send task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_send_set_src_buf (struct doca_rdma_task_send *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a send task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_send_get_src_buf (const struct doca_rdma_task_send *task)
 This method gets the source buffer of a send task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_send_set_rdma_connection (struct doca_rdma_task_send *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a send task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_send_get_rdma_connection (const struct doca_rdma_task_send *task)
 This method gets the rdma connection of a send task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_send_imm_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_send_imm_set_conf (struct doca_rdma *rdma, doca_rdma_task_send_imm_completion_cb_t successful_task_completion_cb, doca_rdma_task_send_imm_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the send with immediate tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_send_imm_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_buf *src_buf, doca_be32_t immediate_data, union doca_data user_data, struct doca_rdma_task_send_imm **task)
 This method allocates and initializes a send with immediate task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_send_imm_as_task (struct doca_rdma_task_send_imm *task)
 This method converts a send with immediate task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_send_imm_set_src_buf (struct doca_rdma_task_send_imm *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a send with immediate task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_send_imm_get_src_buf (const struct doca_rdma_task_send_imm *task)
 This method gets the source buffer of a send with immediate task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_send_imm_set_immediate_data (struct doca_rdma_task_send_imm *task, doca_be32_t immediate_data)
 This method sets the immediate data of a send with immediate task. More...
 
DOCA_EXPERIMENTAL doca_be32_t doca_rdma_task_send_imm_get_immediate_data (const struct doca_rdma_task_send_imm *task)
 This method gets the immediate data of a send with immediate task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_send_imm_set_rdma_connection (struct doca_rdma_task_send_imm *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a send with immediate task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_send_imm_get_rdma_connection (const struct doca_rdma_task_send_imm *task)
 This method gets the rdma connection of a send with immediate task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_read_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_read_set_conf (struct doca_rdma *rdma, doca_rdma_task_read_completion_cb_t successful_task_completion_cb, doca_rdma_task_read_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the read tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_read_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_buf *src_buf, struct doca_buf *dst_buf, union doca_data user_data, struct doca_rdma_task_read **task)
 This method allocates and initializes a read task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_read_as_task (struct doca_rdma_task_read *task)
 This method converts a read task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_read_set_src_buf (struct doca_rdma_task_read *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a read task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_read_get_src_buf (const struct doca_rdma_task_read *task)
 This method gets the source buffer of a read task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_read_set_dst_buf (struct doca_rdma_task_read *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of a read task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_read_get_dst_buf (const struct doca_rdma_task_read *task)
 This method gets the destination buffer of a read task. More...
 
DOCA_EXPERIMENTAL uint32_t doca_rdma_task_read_get_result_len (const struct doca_rdma_task_read *task)
 This method gets the length of data read by the task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_read_set_rdma_connection (struct doca_rdma_task_read *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a read task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_read_get_rdma_connection (const struct doca_rdma_task_read *task)
 This method gets the rdma connection of a read task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_write_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_write_set_conf (struct doca_rdma *rdma, doca_rdma_task_write_completion_cb_t successful_task_completion_cb, doca_rdma_task_write_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the write tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_write_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_buf *src_buf, struct doca_buf *dst_buf, union doca_data user_data, struct doca_rdma_task_write **task)
 This method allocates and initializes a write task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_write_as_task (struct doca_rdma_task_write *task)
 This method converts a write task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_set_src_buf (struct doca_rdma_task_write *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a write task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_write_get_src_buf (const struct doca_rdma_task_write *task)
 This method gets the source buffer of a write task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_set_dst_buf (struct doca_rdma_task_write *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of a write task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_write_get_dst_buf (const struct doca_rdma_task_write *task)
 This method gets the destination buffer of a write task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_set_rdma_connection (struct doca_rdma_task_write *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a write task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_write_get_rdma_connection (const struct doca_rdma_task_write *task)
 This method gets the rdma connection of a write task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_write_imm_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_write_imm_set_conf (struct doca_rdma *rdma, doca_rdma_task_write_imm_completion_cb_t successful_task_completion_cb, doca_rdma_task_write_imm_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the write with immediate tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_write_imm_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_buf *src_buf, struct doca_buf *dst_buf, doca_be32_t immediate_data, union doca_data user_data, struct doca_rdma_task_write_imm **task)
 This method allocates and initializes a write with immediate task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_write_imm_as_task (struct doca_rdma_task_write_imm *task)
 This method converts a write with immediate task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_imm_set_src_buf (struct doca_rdma_task_write_imm *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a write with immediate task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_write_imm_get_src_buf (const struct doca_rdma_task_write_imm *task)
 This method gets the source buffer of a write with immediate task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_imm_set_dst_buf (struct doca_rdma_task_write_imm *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of a write with immediate task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_write_imm_get_dst_buf (const struct doca_rdma_task_write_imm *task)
 This method gets the destination buffer of a write with immediate task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_imm_set_immediate_data (struct doca_rdma_task_write_imm *task, doca_be32_t immediate_data)
 This method sets the immediate data of a write with immediate task. More...
 
DOCA_EXPERIMENTAL doca_be32_t doca_rdma_task_write_imm_get_immediate_data (const struct doca_rdma_task_write_imm *task)
 This method gets the immediate data of a write with immediate task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_write_imm_set_rdma_connection (struct doca_rdma_task_write_imm *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma connection of a write with immediate task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_write_imm_get_rdma_connection (const struct doca_rdma_task_write_imm *task)
 This method gets the rdma connection of a write with immediate task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_atomic_cmp_swp_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_atomic_cmp_swp_set_conf (struct doca_rdma *rdma, doca_rdma_task_atomic_cmp_swp_completion_cb_t successful_task_completion_cb, doca_rdma_task_atomic_cmp_swp_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the atomic compare and swap tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_atomic_cmp_swp_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, struct doca_buf *dst_buf, struct doca_buf *result_buf, uint64_t cmp_data, uint64_t swap_data, union doca_data user_data, struct doca_rdma_task_atomic_cmp_swp **task)
 This method allocates and initializes an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_atomic_cmp_swp_as_task (struct doca_rdma_task_atomic_cmp_swp *task)
 This method converts an atomic compare and swap task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_cmp_swp_set_dst_buf (struct doca_rdma_task_atomic_cmp_swp *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_atomic_cmp_swp_get_dst_buf (const struct doca_rdma_task_atomic_cmp_swp *task)
 This method gets the destination buffer of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_cmp_swp_set_result_buf (struct doca_rdma_task_atomic_cmp_swp *task, struct doca_buf *result_buf)
 This method sets the result buffer of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_atomic_cmp_swp_get_result_buf (const struct doca_rdma_task_atomic_cmp_swp *task)
 This method gets the result buffer of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_cmp_swp_set_cmp_data (struct doca_rdma_task_atomic_cmp_swp *task, uint64_t cmp_data)
 This method sets the compare data of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL uint64_t doca_rdma_task_atomic_cmp_swp_get_cmp_data (const struct doca_rdma_task_atomic_cmp_swp *task)
 This method gets the compare data of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_cmp_swp_set_swap_data (struct doca_rdma_task_atomic_cmp_swp *task, uint64_t swap_data)
 This method sets the swap data of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL uint64_t doca_rdma_task_atomic_cmp_swp_get_swap_data (const struct doca_rdma_task_atomic_cmp_swp *task)
 This method gets the swap data of an atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_cmp_swp_set_rdma_connection (struct doca_rdma_task_atomic_cmp_swp *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_atomic_cmp_swp_get_rdma_connection (const struct doca_rdma_task_atomic_cmp_swp *task)
 This method gets the rdma connection of a atomic compare and swap task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_atomic_fetch_add_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_atomic_fetch_add_set_conf (struct doca_rdma *rdma, doca_rdma_task_atomic_fetch_add_completion_cb_t successful_task_completion_cb, doca_rdma_task_atomic_fetch_add_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the atomic fetch and add tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_atomic_fetch_add_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, struct doca_buf *dst_buf, struct doca_buf *result_buf, uint64_t add_data, union doca_data user_data, struct doca_rdma_task_atomic_fetch_add **task)
 This method allocates and initializes an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_atomic_fetch_add_as_task (struct doca_rdma_task_atomic_fetch_add *task)
 This method converts an atomic fetch and add task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_fetch_add_set_dst_buf (struct doca_rdma_task_atomic_fetch_add *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_atomic_fetch_add_get_dst_buf (const struct doca_rdma_task_atomic_fetch_add *task)
 This method gets the destination buffer of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_fetch_add_set_result_buf (struct doca_rdma_task_atomic_fetch_add *task, struct doca_buf *result_buf)
 This method sets the result buffer of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_atomic_fetch_add_get_result_buf (const struct doca_rdma_task_atomic_fetch_add *task)
 This method gets the result buffer of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_fetch_add_set_add_data (struct doca_rdma_task_atomic_fetch_add *task, uint64_t add_data)
 This method sets the add data of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL uint64_t doca_rdma_task_atomic_fetch_add_get_add_data (const struct doca_rdma_task_atomic_fetch_add *task)
 This method gets the add data of an atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_atomic_fetch_add_set_rdma_connection (struct doca_rdma_task_atomic_fetch_add *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_atomic_fetch_add_get_rdma_connection (const struct doca_rdma_task_atomic_fetch_add *task)
 This method gets the rdma connection of a atomic fetch and add task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_remote_net_sync_event_get_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_get_set_conf (struct doca_rdma *rdma, doca_rdma_task_remote_net_sync_event_get_completion_cb_t successful_task_completion_cb, doca_rdma_task_remote_net_sync_event_get_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the remote_net_sync_event_get tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_get_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, const struct doca_sync_event_remote_net *event, struct doca_buf *dst_buf, union doca_data user_data, struct doca_rdma_task_remote_net_sync_event_get **task)
 This method allocates and initializes a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_remote_net_sync_event_get_as_task (struct doca_rdma_task_remote_net_sync_event_get *task)
 This method converts a remote_net_sync_event_get task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_get_set_sync_event (struct doca_rdma_task_remote_net_sync_event_get *task, const struct doca_sync_event_remote_net *event)
 This method sets the remote net sync event of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL const struct doca_sync_event_remote_net * doca_rdma_task_remote_net_sync_event_get_get_sync_event (const struct doca_rdma_task_remote_net_sync_event_get *task)
 This method gets the remote net sync event of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_get_set_dst_buf (struct doca_rdma_task_remote_net_sync_event_get *task, struct doca_buf *dst_buf)
 This method sets the destination buffer of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_remote_net_sync_event_get_get_dst_buf (const struct doca_rdma_task_remote_net_sync_event_get *task)
 This method gets the destination buffer of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL uint32_t doca_rdma_task_remote_net_sync_event_get_get_result_len (const struct doca_rdma_task_remote_net_sync_event_get *task)
 This method gets the length of data read by the task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_get_set_rdma_connection (struct doca_rdma_task_remote_net_sync_event_get *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_remote_net_sync_event_get_get_rdma_connection (const struct doca_rdma_task_remote_net_sync_event_get *task)
 This method gets the rdma connection of a remote_net_sync_event_get task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_remote_net_sync_event_notify_set_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_notify_set_set_conf (struct doca_rdma *rdma, doca_rdma_task_remote_net_sync_event_notify_set_completion_cb_t successful_task_completion_cb, doca_rdma_task_remote_net_sync_event_notify_set_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the remote_net_sync_event_notify_set tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_notify_set_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, struct doca_sync_event_remote_net *event, const struct doca_buf *src_buf, union doca_data user_data, struct doca_rdma_task_remote_net_sync_event_notify_set **task)
 This method allocates and initializes a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_remote_net_sync_event_notify_set_as_task (struct doca_rdma_task_remote_net_sync_event_notify_set *task)
 This method converts a remote_net_sync_event_notify_set task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_set_set_sync_event (struct doca_rdma_task_remote_net_sync_event_notify_set *task, struct doca_sync_event_remote_net *event)
 This method sets the remote net sync event of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL struct doca_sync_event_remote_net * doca_rdma_task_remote_net_sync_event_notify_set_get_sync_event (const struct doca_rdma_task_remote_net_sync_event_notify_set *task)
 This method gets the remote net sync event of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_set_set_rdma_connection (struct doca_rdma_task_remote_net_sync_event_notify_set *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_remote_net_sync_event_notify_set_get_rdma_connection (const struct doca_rdma_task_remote_net_sync_event_notify_set *task)
 This method gets the rdma connection of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_set_set_src_buf (struct doca_rdma_task_remote_net_sync_event_notify_set *task, const struct doca_buf *src_buf)
 This method sets the source buffer of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL const struct doca_buf * doca_rdma_task_remote_net_sync_event_notify_set_get_src_buf (const struct doca_rdma_task_remote_net_sync_event_notify_set *task)
 This method gets the source buffer of a remote_net_sync_event_notify_set task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_cap_task_remote_net_sync_event_notify_add_is_supported (const struct doca_devinfo *devinfo)
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_notify_add_set_conf (struct doca_rdma *rdma, doca_rdma_task_remote_net_sync_event_notify_add_completion_cb_t successful_task_completion_cb, doca_rdma_task_remote_net_sync_event_notify_add_completion_cb_t error_task_completion_cb, uint32_t num_tasks)
 This method sets the remote_net_sync_event_notify_add tasks configuration. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_task_remote_net_sync_event_notify_add_allocate_init (struct doca_rdma *rdma, struct doca_rdma_connection *rdma_connection, struct doca_sync_event_remote_net *event, struct doca_buf *result_buf, uint64_t add_data, union doca_data user_data, struct doca_rdma_task_remote_net_sync_event_notify_add **task)
 This method allocates and initializes a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL struct doca_task * doca_rdma_task_remote_net_sync_event_notify_add_as_task (struct doca_rdma_task_remote_net_sync_event_notify_add *task)
 This method converts a remote_net_sync_event_notify_add task to a doca_task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_add_set_sync_event (struct doca_rdma_task_remote_net_sync_event_notify_add *task, struct doca_sync_event_remote_net *event)
 This method sets the remote sync event of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL struct doca_sync_event_remote_net * doca_rdma_task_remote_net_sync_event_notify_add_get_sync_event (const struct doca_rdma_task_remote_net_sync_event_notify_add *task)
 This method gets the remote sync event of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_add_set_result_buf (struct doca_rdma_task_remote_net_sync_event_notify_add *task, struct doca_buf *result_buf)
 This method sets the result buffer of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL struct doca_buf * doca_rdma_task_remote_net_sync_event_notify_add_get_result_buf (const struct doca_rdma_task_remote_net_sync_event_notify_add *task)
 This method gets the result buffer of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_add_set_add_data (struct doca_rdma_task_remote_net_sync_event_notify_add *task, uint64_t add_data)
 This method sets the add data of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL uint64_t doca_rdma_task_remote_net_sync_event_notify_add_get_add_data (const struct doca_rdma_task_remote_net_sync_event_notify_add *task)
 This method gets the add data of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL void doca_rdma_task_remote_net_sync_event_notify_add_set_rdma_connection (struct doca_rdma_task_remote_net_sync_event_notify_add *task, struct doca_rdma_connection *rdma_connection)
 This method sets the rdma_connection of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL const struct doca_rdma_connection * doca_rdma_task_remote_net_sync_event_notify_add_get_rdma_connection (const struct doca_rdma_task_remote_net_sync_event_notify_add *task)
 This method gets the rdma connection of a remote_net_sync_event_notify_add task. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_dpa_completion_attach (struct doca_rdma *rdma, struct doca_dpa_completion *dpa_comp)
 Attach DOCA RDMA to DPA completion context. More...