26 #ifndef COMCH_UTILS_H_
27 #define COMCH_UTILS_H_
56 const char *rep_pci_addr,
85 const char *rep_pci_addr,
void * comch_utils_get_user_data(struct doca_comch_connection *connection)
doca_error_t comch_utils_fast_path_init(const char *server_name, const char *pci_addr, const char *rep_pci_addr, void *user_data, doca_comch_event_msg_recv_cb_t client_recv_event_cb, doca_comch_event_msg_recv_cb_t server_recv_event_cb, doca_comch_event_consumer_cb_t new_consumer_event_cb, doca_comch_event_consumer_cb_t expired_consumer_event_cb, struct comch_cfg **comch_cfg)
doca_error_t comch_utils_progress_connection(struct doca_comch_connection *connection)
doca_error_t comch_utils_destroy(struct comch_cfg *comch_cfg)
struct doca_comch_connection * comch_util_get_connection(struct comch_cfg *comch_cfg)
doca_error_t comch_utils_init(const char *server_name, const char *pci_addr, const char *rep_pci_addr, void *user_data, doca_comch_event_msg_recv_cb_t client_recv_event_cb, doca_comch_event_msg_recv_cb_t server_recv_event_cb, struct comch_cfg **comch_cfg)
doca_error_t comch_utils_send(struct doca_comch_connection *connection, const void *msg, uint32_t len)
uint32_t comch_utils_get_max_buffer_size(struct comch_cfg *comch_cfg)
void server_recv_event_cb(struct doca_comch_event_msg_recv *event, uint8_t *recv_buffer, uint32_t msg_len, struct doca_comch_connection *comch_connection)
void client_recv_event_cb(struct doca_comch_event_msg_recv *event, uint8_t *recv_buffer, uint32_t msg_len, struct doca_comch_connection *comch_connection)
void(* doca_comch_event_consumer_cb_t)(struct doca_comch_event_consumer *event, struct doca_comch_connection *comch_connection, uint32_t id)
void(* doca_comch_event_msg_recv_cb_t)(struct doca_comch_event_msg_recv *event, uint8_t *recv_buffer, uint32_t msg_len, struct doca_comch_connection *comch_connection)
enum doca_error doca_error_t
DOCA API return codes.