76 #define DOCA_IS_ERROR(r) doca_unlikely((r) != DOCA_SUCCESS)
83 #define DOCA_ERROR_PROPAGATE(r, t) \
85 if (r == DOCA_SUCCESS) \
#define DOCA_STABLE
To set a Symbol (or specifically a function) as stable API, i.e. it won't be changed.
enum doca_error doca_error_t
DOCA API return codes.
doca_error
DOCA API return codes.
DOCA_STABLE const char * doca_error_get_name(doca_error_t error)
Returns the string representation of an error code name.
DOCA_STABLE const char * doca_error_get_descr(doca_error_t error)
Returns the description string of an error code.
@ DOCA_ERROR_CONNECTION_ABORTED
@ DOCA_ERROR_INVALID_VALUE
@ DOCA_ERROR_INITIALIZATION
@ DOCA_ERROR_UNSUPPORTED_VERSION
@ DOCA_ERROR_OPERATING_SYSTEM
@ DOCA_ERROR_NOT_SUPPORTED
@ DOCA_ERROR_AUTHENTICATION
@ DOCA_ERROR_CONNECTION_INPROGRESS
@ DOCA_ERROR_NOT_CONNECTED
@ DOCA_ERROR_NOT_PERMITTED
@ DOCA_ERROR_CONNECTION_RESET
@ DOCA_ERROR_ALREADY_EXIST