Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
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()
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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c1300 } qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
1331 [IB_QPS_ERR] = { .valid = 1 },
1404 [IB_QPS_ERR] = { .valid = 1 },
1456 [IB_QPS_ERR] = { .valid = 1 },
1502 [IB_QPS_ERR] = { .valid = 1 },
1582 [IB_QPS_ERR] = { .valid = 1 },
1597 [IB_QPS_ERR] = {
1599 [IB_QPS_ERR] = { .valid = 1 }
2704 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_sq()
2743 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_rq()
Dsecurity.c157 .qp_state = IB_QPS_ERR in qp_to_error()
Diwcm.c278 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c760 } srd_qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
772 [IB_QPS_ERR] = { .valid = 1 },
787 [IB_QPS_ERR] = { .valid = 1 },
799 [IB_QPS_ERR] = { .valid = 1 },
812 [IB_QPS_ERR] = { .valid = 1 },
826 [IB_QPS_ERR] = { .valid = 1 },
833 [IB_QPS_ERR] = {
835 [IB_QPS_ERR] = { .valid = 1 },
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c407 new_state != IB_QPS_ERR) in rxe_qp_chk_attr()
553 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
712 case IB_QPS_ERR: in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h630 case IB_QPS_ERR: in c4iw_convert_state()
649 return IB_QPS_ERR; in to_ib_qp_state()
651 return IB_QPS_ERR; in to_ib_qp_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c56 attr.qp_state = IB_QPS_ERR; in flush_work_handle()
103 qp->state = IB_QPS_ERR; in hns_roce_qp_event()
200 case IB_QPS_ERR: in to_hns_roce_state()
1162 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
Dhns_roce_hw_v2.c622 if (qp->state == IB_QPS_ERR) { in update_sq_db()
813 if (hr_qp->state == IB_QPS_ERR) { in hns_roce_v2_post_recv()
4513 static const bool sm[][IB_QPS_ERR + 1] = { in check_qp_state()
4519 [IB_QPS_ERR] = true }, in check_qp_state()
4522 [IB_QPS_ERR] = true }, in check_qp_state()
4525 [IB_QPS_ERR] = true }, in check_qp_state()
4528 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true } in check_qp_state()
4783 if (new_state == IB_QPS_ERR) { in hns_roce_v2_modify_qp()
4785 hr_qp->state = IB_QPS_ERR; in hns_roce_v2_modify_qp()
4865 [HNS_ROCE_QP_ST_ERR] = IB_QPS_ERR, in to_ib_qp_st()
Dhns_roce_hw_v1.c2713 static const bool sm[][IB_QPS_ERR + 1] = { in check_qp_state()
2719 [IB_QPS_ERR] = true }, in check_qp_state()
2722 [IB_QPS_ERR] = true }, in check_qp_state()
2723 [IB_QPS_RTS] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true }, in check_qp_state()
2726 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true } in check_qp_state()
3357 return IB_QPS_ERR; in to_ib_qp_state()
3359 return IB_QPS_ERR; in to_ib_qp_state()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
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()
Dipoib_cm.c71 .qp_state = IB_QPS_ERR
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c21 static int ib_qp_state_to_siw_qp_state[IB_QPS_ERR + 1] = {
28 [IB_QPS_ERR] = SIW_QP_STATE_ERROR
31 static char ib_qp_state_to_string[IB_QPS_ERR + 1][sizeof("RESET")] = {
34 [IB_QPS_ERR] = "ERR"
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c110 const int ib_rvt_state_ops[IB_QPS_ERR + 1] = {
121 [IB_QPS_ERR] = RVT_POST_RECV_OK | RVT_FLUSH_RECV |
740 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
1350 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1353 qp->state = IB_QPS_ERR; in rvt_error_qp()
1605 case IB_QPS_ERR: in rvt_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c1262 case IB_QPS_ERR: return MLX4_QP_STATE_ERR; in to_mlx4_state()
2534 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && in __mlx4_ib_modify_qp()
2535 (new_state == IB_QPS_RESET || new_state == IB_QPS_ERR)) in __mlx4_ib_modify_qp()
3914 case MLX4_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4165 return IB_QPS_ERR; in ib_wq2qp_state()
4414 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_sq()
4449 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_rq()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c108 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c722 case IB_QPS_ERR: return MLX5_QP_STATE_ERR; in to_mlx5_state()
4119 } else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) { in modify_dci_qp_is_ok()
4421 case MLX5_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4528 [MLX5_SQC_STATE_ERR] = IB_QPS_ERR, in sqrq_state_to_qp_state()
4529 [MLX5_SQ_STATE_NA] = IB_QPS_ERR, in sqrq_state_to_qp_state()
5381 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_sq()
5416 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_rq()
/kernel/linux/linux-5.10/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.c1685 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
2481 ocrdma_qp_state_change(qp, IB_QPS_ERR, NULL); in ocrdma_update_err_cqe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c400 attr.qp_state = IB_QPS_ERR; in i40iw_destroy_qp()
842 if (iwdev->closing && attr->qp_state != IB_QPS_ERR) { in i40iw_modify_qp()
900 case IB_QPS_ERR: in i40iw_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2325 return IB_QPS_ERR; in qedr_get_ibqp_state()
2329 return IB_QPS_ERR; in qedr_get_ibqp_state()
2346 case IB_QPS_ERR: in qedr_get_state_from_ibqp()
2826 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dmain.c1165 qp_attr.qp_state = IB_QPS_ERR; in bnxt_re_dev_stop()

12