23 #ifndef DOCA_ETH_TXQ_GPU_DATA_PATH_H_
24 #define DOCA_ETH_TXQ_GPU_DATA_PATH_H_
43 struct doca_eth_txq_gpu_event_error_send_packet;
44 struct doca_eth_txq_gpu_event_notify_send_packet;
56 struct doca_eth_txq_gpu_event_error_send_packet *event_error,
69 struct doca_eth_txq_gpu_event_notify_send_packet *event_notify,
93 struct doca_eth_txq *eth_txq,
118 struct doca_eth_txq *eth_txq,
141 const struct doca_eth_txq_gpu_event_error_send_packet *event_error,
142 uint16_t *packet_index);
163 const struct doca_eth_txq_gpu_event_notify_send_packet *event_notify,
164 uint16_t *packet_index);
185 const struct doca_eth_txq_gpu_event_notify_send_packet *event_notify,
186 uint64_t *packet_timestamp);
#define DOCA_EXPERIMENTAL
To set a Symbol (or specifically a function) as experimental.
enum doca_error doca_error_t
DOCA API return codes.
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 ca...
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 cal...
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.
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.
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...
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.
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.
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 complet...
Convenience type for representing opaque data.