/Linux-v4.19/drivers/infiniband/core/ |
D | verbs.c | 1208 } 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()
|
D | security.c | 154 .qp_state = IB_QPS_ERR in qp_to_error()
|
D | iwcm.c | 275 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
|
D | ucma.c | 1188 if (cmd.qp_state > IB_QPS_ERR) in ucma_init_qp_attr()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 1737 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()
|
D | mthca_qp.c | 279 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/ |
D | usnic_ib_qp_grp.c | 64 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()
|
D | usnic_ib_main.c | 114 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/ |
D | hns_roce_hw_v2.c | 535 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 …]
|
D | hns_roce_hw_v1.c | 3284 (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()
|
D | hns_roce_qp.c | 137 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/ |
D | rxe_qp.c | 420 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/ |
D | iw_cxgb4.h | 702 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/ |
D | iwch_provider.h | 287 case IB_QPS_ERR: in iwch_convert_state()
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 105 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/ |
D | ipoib_ib.c | 746 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()
|
D | ipoib_cm.c | 71 .qp_state = IB_QPS_ERR
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1230 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/ |
D | qp.c | 603 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/ |
D | ocrdma_hw.c | 168 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()
|
D | ocrdma_verbs.c | 1761 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/ |
D | verbs.c | 2075 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/ |
D | i40iw_verbs.c | 900 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/ |
D | main.c | 1056 qp_attr.qp_state = IB_QPS_ERR; in bnxt_re_dev_stop()
|
D | ib_verbs.c | 1262 case IB_QPS_ERR: in __from_ib_qp_state() 1285 return IB_QPS_ERR; in __to_ib_qp_state()
|