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

Go to the source code of this file.

Typedefs

typedef void(* doca_eth_txq_gpu_event_error_send_packet_cb_t) (struct doca_eth_txq_gpu_event_error_send_packet *event_error, union doca_data event_user_data)
 Function to be executed on send packet error event occurrence. More...
 
typedef void(* doca_eth_txq_gpu_event_notify_send_packet_cb_t) (struct doca_eth_txq_gpu_event_notify_send_packet *event_notify, union doca_data event_user_data)
 Function to be executed on send packet notify event occurrence. More...
 

Functions

DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_event_error_send_packet_register (struct doca_eth_txq *eth_txq, doca_eth_txq_gpu_event_error_send_packet_cb_t event_error_send_packet_cb, union doca_data event_user_data)
 This method registers a doca_eth_txq_gpu_event_error_send_packet event. can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_event_notify_send_packet_register (struct doca_eth_txq *eth_txq, doca_eth_txq_gpu_event_notify_send_packet_cb_t event_notify_send_packet_cb, union doca_data event_user_data)
 This method registers a doca_eth_txq_gpu_event_notify_send_packet event. can only be called before calling doca_ctx_start(). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_event_error_send_packet_get_position (const struct doca_eth_txq_gpu_event_error_send_packet *event_error, uint16_t *packet_index)
 This method returns the index in the send queue of the packet which caused the error. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_event_notify_send_packet_get_position (const struct doca_eth_txq_gpu_event_notify_send_packet *event_notify, uint16_t *packet_index)
 This method returns the index in the send queue of the packet which reported the notify info. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_event_notify_send_packet_get_timestamp (const struct doca_eth_txq_gpu_event_notify_send_packet *event_notify, uint64_t *packet_timestamp)
 This method returns the timestamp at which the packet in the send queue was actually sent (fired over the network). More...
 
DOCA_EXPERIMENTAL doca_error_t doca_eth_txq_gpu_set_completion_on_gpu (struct doca_eth_txq *eth_txq)
 By default, the Eth Txq completion can be checked on th CPU. With this method set the Eth Txq completion on the GPU. This way CUDA GPUNetIO functions can be used to check the completion of a send. More...