Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/uct/api/uct_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,12 @@ typedef ucs_status_t (*uct_pending_callback_t)(uct_pending_req_t *self);
* passed in @a status.
* @param [in] status Status indicating error.
*
* @return @ref UCS_OK - The error was handled successfully.
* Otherwise - The error was not handled and is returned back to
* the transport.
* @return @ref UCS_OK - The error was handled successfully.
* @ref UCS_INPROGRESS - The error handling is in progress and the
* transport should not purge outstanding
* operations.
* Otherwise - The error was not handled and is returned back
* to the transport.
*/
typedef ucs_status_t (*uct_error_handler_t)(void *arg, uct_ep_h ep,
ucs_status_t status);
Expand Down
2 changes: 1 addition & 1 deletion src/uct/base/uct_iface.h
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ ucs_log_level_t uct_base_iface_failure_log_level(uct_base_iface_t *iface,
ucs_status_t err_handler_status,
ucs_status_t status)
{
if (err_handler_status != UCS_OK) {
if (UCS_STATUS_IS_ERR(err_handler_status)) {
return UCS_LOG_LEVEL_FATAL;
} else if ((status == UCS_ERR_ENDPOINT_TIMEOUT) ||
(status == UCS_ERR_CONNECTION_RESET)) {
Expand Down