Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c1731 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 Dmthca_qp.c280 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 Dverbs.c1382 } 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 Dsecurity.c157 .qp_state = IB_QPS_ERR in qp_to_error()
H A Diwcm.c277 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c63 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 Dusnic_ib_main.c120 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 Drxe_qp.c562 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 Drxe_comp.c658 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 Drxe_resp.c1164 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 Drxe_verbs.c911 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 Drxe_req.c693 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in rxe_requester()
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c778 } 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 Diw_cxgb4.h624 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 Derdma_verbs.c1505 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 Dipoib_ib.c749 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 Dsiw_verbs.c22 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 Dqp.c68 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 Dhns_roce_qp.c54 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 Dhns_roce_hw_v2.c627 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 Dqp.c1297 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 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()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c805 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 Dsmc_ib.c119 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.c2334 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()

12