Home
last modified time | relevance | path

Searched refs:IB_QPS_ERR (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/drivers/infiniband/core/
Dverbs.c1208 } qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
1239 [IB_QPS_ERR] = { .valid = 1 },
1312 [IB_QPS_ERR] = { .valid = 1 },
1364 [IB_QPS_ERR] = { .valid = 1 },
1410 [IB_QPS_ERR] = { .valid = 1 },
1490 [IB_QPS_ERR] = { .valid = 1 },
1505 [IB_QPS_ERR] = {
1507 [IB_QPS_ERR] = { .valid = 1 }
2479 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_sq()
2518 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_rq()
Dsecurity.c154 .qp_state = IB_QPS_ERR in qp_to_error()
Diwcm.c275 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
Ducma.c1188 if (cmd.qp_state > IB_QPS_ERR) in ucma_init_qp_attr()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_cmd.c1737 static const u16 op[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = { in mthca_MODIFY_QP()
1740 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1745 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1751 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1756 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1762 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1768 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
1771 [IB_QPS_ERR] = { in mthca_MODIFY_QP()
1773 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
Dmthca_qp.c279 case IB_QPS_ERR: return MTHCA_QP_STATE_ERR; in to_mthca_state()
367 case MTHCA_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
820 cur_state != IB_QPS_ERR && in __mthca_modify_qp()
822 new_state == IB_QPS_ERR)) in __mthca_modify_qp()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c64 case IB_QPS_ERR: in usnic_ib_qp_grp_state_to_string()
416 case IB_QPS_ERR: in usnic_ib_qp_grp_modify()
485 case IB_QPS_ERR: in usnic_ib_qp_grp_modify()
Dusnic_ib_main.c114 IB_QPS_ERR, in usnic_ib_qp_grp_modify_active_to_err()
122 (IB_QPS_ERR)); in usnic_ib_qp_grp_modify_active_to_err()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c535 if (qp->state == IB_QPS_ERR) { in hns_roce_v2_post_send()
537 attr.qp_state = IB_QPS_ERR; in hns_roce_v2_post_send()
540 qp->state, IB_QPS_ERR); in hns_roce_v2_post_send()
636 if (hr_qp->state == IB_QPS_ERR) { in hns_roce_v2_post_recv()
638 attr.qp_state = IB_QPS_ERR; in hns_roce_v2_post_recv()
642 IB_QPS_ERR); in hns_roce_v2_post_recv()
2141 attr.qp_state = IB_QPS_ERR; in hns_roce_v2_poll_one()
2144 (*cur_qp)->state, IB_QPS_ERR); in hns_roce_v2_poll_one()
3486 (cur_state == IB_QPS_ERR && new_state == IB_QPS_RESET) || in hns_roce_v2_modify_qp()
3487 (cur_state == IB_QPS_INIT && new_state == IB_QPS_ERR) || in hns_roce_v2_modify_qp()
[all …]
Dhns_roce_hw_v1.c3284 (cur_state == IB_QPS_INIT && new_state == IB_QPS_ERR) || in hns_roce_v1_m_qp()
3286 (cur_state == IB_QPS_RTR && new_state == IB_QPS_ERR) || in hns_roce_v1_m_qp()
3288 (cur_state == IB_QPS_RTS && new_state == IB_QPS_ERR) || in hns_roce_v1_m_qp()
3289 (cur_state == IB_QPS_ERR && new_state == IB_QPS_RESET) || in hns_roce_v1_m_qp()
3290 (cur_state == IB_QPS_ERR && new_state == IB_QPS_ERR))) { in hns_roce_v1_m_qp()
3390 return IB_QPS_ERR; in to_ib_qp_state()
3392 return IB_QPS_ERR; in to_ib_qp_state()
3818 IB_QPS_ERR); in check_qp_reset_state()
Dhns_roce_qp.c137 case IB_QPS_ERR: in to_hns_roce_state()
945 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_qp.c420 new_state != IB_QPS_ERR) in rxe_qp_chk_attr()
566 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
728 case IB_QPS_ERR: in rxe_qp_from_attr()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h702 case IB_QPS_ERR: in c4iw_convert_state()
721 return IB_QPS_ERR; in to_ib_qp_state()
723 return IB_QPS_ERR; in to_ib_qp_state()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_provider.h287 case IB_QPS_ERR: in iwch_convert_state()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c105 const int ib_rvt_state_ops[IB_QPS_ERR + 1] = {
116 [IB_QPS_ERR] = RVT_POST_RECV_OK | RVT_FLUSH_RECV |
557 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
1058 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1061 qp->state = IB_QPS_ERR; in rvt_error_qp()
1307 case IB_QPS_ERR: in rvt_modify_qp()
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c746 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
786 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop_default()
788 check_qp_movement_and_print(priv, priv->qp, IB_QPS_ERR); in ipoib_ib_dev_stop_default()
Dipoib_cm.c71 .qp_state = IB_QPS_ERR
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c1230 case IB_QPS_ERR: return MLX4_QP_STATE_ERR; in to_mlx4_state()
2501 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && in __mlx4_ib_modify_qp()
2502 (new_state == IB_QPS_RESET || new_state == IB_QPS_ERR)) in __mlx4_ib_modify_qp()
3873 case MLX4_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4126 return IB_QPS_ERR; in ib_wq2qp_state()
4396 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_sq()
4431 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_rq()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dqp.c603 case IB_QPS_ERR: return MLX5_QP_STATE_ERR; in to_mlx5_state()
3264 } else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) { in modify_dci_qp_is_ok()
3353 qp->state = IB_QPS_ERR; in mlx5_ib_modify_dct()
4786 case MLX5_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4907 [MLX5_SQC_STATE_ERR] = IB_QPS_ERR, in sqrq_state_to_qp_state()
4908 [MLX5_SQ_STATE_NA] = IB_QPS_ERR, in sqrq_state_to_qp_state()
5767 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_sq()
5802 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_rq()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c168 return IB_QPS_ERR; in get_ibqp_state()
170 return IB_QPS_ERR; in get_ibqp_state()
188 case IB_QPS_ERR: in get_ocrdma_qp_state()
667 enum ib_qp_state new_ib_qps = IB_QPS_ERR; in ocrdma_process_qpcat_error()
Docrdma_verbs.c1761 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
2563 ocrdma_qp_state_change(qp, IB_QPS_ERR, NULL); in ocrdma_update_err_cqe()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c2075 return IB_QPS_ERR; in qedr_get_ibqp_state()
2079 return IB_QPS_ERR; in qedr_get_ibqp_state()
2096 case IB_QPS_ERR: in qedr_get_state_from_ibqp()
2593 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c900 if (iwdev->closing && attr->qp_state != IB_QPS_ERR) { in i40iw_modify_qp()
958 case IB_QPS_ERR: in i40iw_modify_qp()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dmain.c1056 qp_attr.qp_state = IB_QPS_ERR; in bnxt_re_dev_stop()
Dib_verbs.c1262 case IB_QPS_ERR: in __from_ib_qp_state()
1285 return IB_QPS_ERR; in __to_ib_qp_state()

12