Exemplo n.º 1
0
Arquivo: dc_mlx5.c Projeto: yosefe/ucx
static void uct_dc_mlx5_iface_handle_failure(uct_ib_iface_t *ib_iface, void *arg)
{
    struct mlx5_cqe64 *cqe   = arg;
    uint32_t          qp_num = ntohl(cqe->sop_drop_qpn) & UCS_MASK(UCT_IB_QPN_ORDER);

    uct_ib_mlx5_completion_with_err(arg, UCS_LOG_LEVEL_ERROR);
    uct_dc_handle_failure(ib_iface, qp_num);
}
Exemplo n.º 2
0
static UCS_F_NOINLINE void uct_dc_mlx5_iface_handle_failure(uct_ib_iface_t *ib_iface,
                                                            void *arg)
{
    struct mlx5_cqe64 *cqe = arg;
    uct_ib_mlx5_completion_with_err((void*)cqe, 0);
}