23 #ifndef DOCA_PCC_DEV_SERVICES_H_
24 #define DOCA_PCC_DEV_SERVICES_H_
31 #define DOCA_DPA_DEVICE
58 uint32_t request_size,
59 uint32_t max_response_size,
86 void doca_pcc_dev_trace_5(
int format_id, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5);
#define __attribute__(_x_)
To allow compiling functions and structs that are using GCC attributes using attribute() in compilers...
#define DOCA_EXPERIMENTAL
To set a Symbol (or specifically a function) as experimental.
#define DOCA_STABLE
To set a Symbol (or specifically a function) as stable API, i.e. it won't be changed.
doca_pcc_dev_error_t
API functions return status.
DOCA_EXPERIMENTAL doca_pcc_dev_error_t doca_pcc_dev_user_mailbox_handle(void *request, uint32_t request_size, uint32_t max_response_size, void *response, uint32_t *response_size) __attribute__((weak))
User callback to process a request from host to device.
DOCA_EXPERIMENTAL unsigned int doca_pcc_dev_thread_rank(void)
Obtains the thread rank.
DOCA_STABLE void doca_pcc_dev_trace_flush(void)
Flush the trace message buffer to Host.
DOCA_STABLE void DOCA_STABLE void doca_pcc_dev_trace_5(int format_id, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5)
Creates trace message entry with 5 arguments.
DOCA_STABLE void doca_pcc_dev_printf(const char *format,...) __attribute__((format(printf
Print to Host.