示例#1
0
文件: dc_mlx5.c 项目: 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);
}
示例#2
0
文件: dc_mlx5.c 项目: alex--m/ucx
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);
}