Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c1380 } qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
1411 [IB_QPS_ERR] = { .valid = 1 },
1484 [IB_QPS_ERR] = { .valid = 1 },
1536 [IB_QPS_ERR] = { .valid = 1 },
1582 [IB_QPS_ERR] = { .valid = 1 },
1662 [IB_QPS_ERR] = { .valid = 1 },
1677 [IB_QPS_ERR] = {
1679 [IB_QPS_ERR] = { .valid = 1 }
2748 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_sq()
2787 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.c277 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
/linux-6.1.9/drivers/infiniband/hw/usnic/
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()
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()
/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_verbs.c768 } srd_qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
780 [IB_QPS_ERR] = { .valid = 1 },
795 [IB_QPS_ERR] = { .valid = 1 },
807 [IB_QPS_ERR] = { .valid = 1 },
820 [IB_QPS_ERR] = { .valid = 1 },
834 [IB_QPS_ERR] = { .valid = 1 },
841 [IB_QPS_ERR] = {
843 [IB_QPS_ERR] = { .valid = 1 },
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
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()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_qp.c412 new_state != IB_QPS_ERR) in rxe_qp_chk_attr()
560 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
721 case IB_QPS_ERR: in rxe_qp_from_attr()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/sw/siw/
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"
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c68 const int ib_rvt_state_ops[IB_QPS_ERR + 1] = {
79 [IB_QPS_ERR] = RVT_POST_RECV_OK | RVT_FLUSH_RECV |
702 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
1296 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1299 qp->state = IB_QPS_ERR; in rvt_error_qp()
1554 case IB_QPS_ERR: in rvt_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/hns/
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()
1386 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
Dhns_roce_hw_v2.c629 if (unlikely(qp->state == IB_QPS_ERR)) { in update_sq_db()
646 if (unlikely(qp->state == IB_QPS_ERR)) { in update_rq_db()
5082 static const bool sm[][IB_QPS_ERR + 1] = { in check_qp_state()
5088 [IB_QPS_ERR] = true }, in check_qp_state()
5091 [IB_QPS_ERR] = true }, in check_qp_state()
5094 [IB_QPS_ERR] = true }, in check_qp_state()
5097 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, in check_qp_state()
5098 [IB_QPS_ERR] = true } in check_qp_state()
5317 hr_qp->state = IB_QPS_ERR; in v2_set_flushed_fields()
5360 if (new_state == IB_QPS_ERR) in hns_roce_v2_modify_qp()
[all …]
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1258 case IB_QPS_ERR: return MLX4_QP_STATE_ERR; in to_mlx4_state()
2528 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && in __mlx4_ib_modify_qp()
2529 (new_state == IB_QPS_RESET || new_state == IB_QPS_ERR)) in __mlx4_ib_modify_qp()
3908 case MLX4_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4161 return IB_QPS_ERR; in ib_wq2qp_state()
4410 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_sq()
4445 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx4_ib_drain_rq()
/linux-6.1.9/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.c1687 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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c724 case IB_QPS_ERR: return MLX5_QP_STATE_ERR; in to_mlx5_state()
4363 } else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) { in modify_dci_qp_is_ok()
4658 case MLX5_QP_STATE_ERR: return IB_QPS_ERR; in to_ib_qp_state()
4765 [MLX5_SQC_STATE_ERR] = IB_QPS_ERR, in sqrq_state_to_qp_state()
4766 [MLX5_SQ_STATE_NA] = IB_QPS_ERR, in sqrq_state_to_qp_state()
5625 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_sq()
5660 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in mlx5_ib_drain_rq()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1254 static int ib_qp_state_to_erdma_qp_state[IB_QPS_ERR + 1] = {
1261 [IB_QPS_ERR] = ERDMA_QP_STATE_ERROR
/linux-6.1.9/net/smc/
Dsmc_ib.c119 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/linux-6.1.9/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()
2817 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dcm.c1240 iwqp->ibqp_state = IB_QPS_ERR; in irdma_handle_close_entry()
3457 attr.qp_state = IB_QPS_ERR; in irdma_cm_disconn_true()
4245 attr.qp_state = IB_QPS_ERR; in irdma_cm_teardown_connections()
Dverbs.c1332 iwqp->ibqp_state == IB_QPS_ERR) { in irdma_modify_qp_roce()
1363 case IB_QPS_ERR: in irdma_modify_qp_roce()
1570 case IB_QPS_ERR: in irdma_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dmain.c1150 qp_attr.qp_state = IB_QPS_ERR; in bnxt_re_dev_stop()

12