/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.c | 1731 static const u16 op[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = { in mthca_MODIFY_QP() 1734 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP() 1739 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP() 1745 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP() 1750 [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() 1765 [IB_QPS_ERR] = { in mthca_MODIFY_QP() 1767 [IB_QPS_ERR] = CMD_2ERR_QPEE, in mthca_MODIFY_QP()
|
H A D | mthca_qp.c | 280 case IB_QPS_ERR: return MTHCA_QP_STATE_ERR; in to_mthca_state() 368 case MTHCA_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state() 824 cur_state != IB_QPS_ERR && in __mthca_modify_qp() 826 new_state == IB_QPS_ERR)) in __mthca_modify_qp()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | verbs.c | 1382 } qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = { 1413 [IB_QPS_ERR] = { .valid = 1 }, 1486 [IB_QPS_ERR] = { .valid = 1 }, 1538 [IB_QPS_ERR] = { .valid = 1 }, 1584 [IB_QPS_ERR] = { .valid = 1 }, 1664 [IB_QPS_ERR] = { .valid = 1 }, 1679 [IB_QPS_ERR] = { 1681 [IB_QPS_ERR] = { .valid = 1 } 2817 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_sq() 2856 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_rq()
|
H A D | security.c | 157 .qp_state = IB_QPS_ERR in qp_to_error()
|
H A D | iwcm.c | 277 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.c | 63 case IB_QPS_ERR: in usnic_ib_qp_grp_state_to_string() 415 case IB_QPS_ERR: in usnic_ib_qp_grp_modify() 484 case IB_QPS_ERR: in usnic_ib_qp_grp_modify()
|
H A D | usnic_ib_main.c | 120 IB_QPS_ERR, in usnic_ib_qp_grp_modify_active_to_err() 128 (IB_QPS_ERR)); in usnic_ib_qp_grp_modify_active_to_err()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | 562 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error() 599 if (qp->attr.sq_draining && new_state != IB_QPS_ERR) in __qp_chk_state() 613 [IB_QPS_ERR] = "ERR", 647 case IB_QPS_ERR: in rxe_qp_from_attr()
|
H A D | rxe_comp.c | 658 if (!qp->valid || qp_state(qp) == IB_QPS_ERR || in rxe_completer() 660 bool notify = qp->valid && (qp_state(qp) == IB_QPS_ERR); in rxe_completer()
|
H A D | rxe_resp.c | 1164 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in do_complete() 1510 if (!qp->valid || qp_state(qp) == IB_QPS_ERR || in rxe_responder() 1512 bool notify = qp->valid && (qp_state(qp) == IB_QPS_ERR); in rxe_responder()
|
H A D | rxe_verbs.c | 911 if (qp_state(qp) == IB_QPS_ERR) in rxe_post_send_kernel() 1052 if (qp_state(qp) == IB_QPS_ERR) in rxe_post_recv()
|
H A D | rxe_req.c | 693 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in rxe_requester()
|
/openbmc/linux/drivers/infiniband/hw/efa/ |
H A D | efa_verbs.c | 778 } srd_qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = { 790 [IB_QPS_ERR] = { .valid = 1 }, 805 [IB_QPS_ERR] = { .valid = 1 }, 817 [IB_QPS_ERR] = { .valid = 1 }, 830 [IB_QPS_ERR] = { .valid = 1 }, 844 [IB_QPS_ERR] = { .valid = 1 }, 851 [IB_QPS_ERR] = { 853 [IB_QPS_ERR] = { .valid = 1 },
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 624 case IB_QPS_ERR: in c4iw_convert_state() 643 return IB_QPS_ERR; in to_ib_qp_state() 645 return IB_QPS_ERR; in to_ib_qp_state()
|
/openbmc/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.c | 1505 static int ib_qp_state_to_erdma_qp_state[IB_QPS_ERR + 1] = { 1512 [IB_QPS_ERR] = ERDMA_QP_STATE_ERROR 1553 return IB_QPS_ERR; in query_qp_state() 1555 return IB_QPS_ERR; in query_qp_state() 1557 return IB_QPS_ERR; in query_qp_state() 1559 return IB_QPS_ERR; in query_qp_state()
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 749 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print() 789 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop_default() 791 check_qp_movement_and_print(priv, priv->qp, IB_QPS_ERR); in ipoib_ib_dev_stop_default()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 22 static int ib_qp_state_to_siw_qp_state[IB_QPS_ERR + 1] = { 29 [IB_QPS_ERR] = SIW_QP_STATE_ERROR 32 static char ib_qp_state_to_string[IB_QPS_ERR + 1][sizeof("RESET")] = { 35 [IB_QPS_ERR] = "ERR"
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 68 const int ib_rvt_state_ops[IB_QPS_ERR + 1] = { 79 [IB_QPS_ERR] = RVT_POST_RECV_OK | RVT_FLUSH_RECV | 700 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean() 1294 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp() 1297 qp->state = IB_QPS_ERR; in rvt_error_qp() 1552 case IB_QPS_ERR: in rvt_modify_qp()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 54 attr.qp_state = IB_QPS_ERR; in flush_work_handle() 117 qp->state = IB_QPS_ERR; in hns_roce_qp_event() 1340 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
|
H A D | hns_roce_hw_v2.c | 627 if (unlikely(qp->state == IB_QPS_ERR)) { in update_sq_db() 644 if (unlikely(qp->state == IB_QPS_ERR)) { in update_rq_db() 4955 static const bool sm[][IB_QPS_ERR + 1] = { in check_qp_state() 4961 [IB_QPS_ERR] = true }, in check_qp_state() 4964 [IB_QPS_ERR] = true }, in check_qp_state() 4967 [IB_QPS_ERR] = true }, in check_qp_state() 4970 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, in check_qp_state() 4971 [IB_QPS_ERR] = true } in check_qp_state() 5190 hr_qp->state = IB_QPS_ERR; in v2_set_flushed_fields() 5233 if (new_state == IB_QPS_ERR) in hns_roce_v2_modify_qp() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 1297 case IB_QPS_ERR: return MLX4_QP_STATE_ERR; in to_mlx4_state() 2567 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && in __mlx4_ib_modify_qp() 2568 (new_state == IB_QPS_RESET || new_state == IB_QPS_ERR)) in __mlx4_ib_modify_qp() 3947 case MLX4_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state() 4200 return IB_QPS_ERR; in ib_wq2qp_state() 4449 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_sq() 4484 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_rq()
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 805 case IB_QPS_ERR: return MLX5_QP_STATE_ERR; in to_mlx5_state() 4478 } else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) { in modify_dci_qp_is_ok() 4773 case MLX5_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state() 4880 [MLX5_SQC_STATE_ERR] = IB_QPS_ERR, in sqrq_state_to_qp_state() 4881 [MLX5_SQ_STATE_NA] = IB_QPS_ERR, in sqrq_state_to_qp_state() 5740 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_sq() 5775 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_rq()
|
/openbmc/linux/net/smc/ |
H A D | smc_ib.c | 119 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
|
/openbmc/linux/drivers/infiniband/hw/qedr/ |
H A D | verbs.c | 2334 return IB_QPS_ERR; in qedr_get_ibqp_state() 2338 return IB_QPS_ERR; in qedr_get_ibqp_state() 2355 case IB_QPS_ERR: in qedr_get_state_from_ibqp() 2826 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
|