Home
last modified time | relevance | path

Searched refs:IB_QPS_RESET (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c51 case IB_QPS_RESET: in usnic_ib_qp_grp_state_to_string()
404 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
406 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
425 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
490 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
702 qp_grp->state = IB_QPS_RESET; in usnic_ib_qp_grp_create()
734 WARN_ON(qp_grp->state != IB_QPS_RESET); in usnic_ib_qp_grp_destroy()
H A Dusnic_ib_verbs.c253 WARN_ON(qp_grp->state != IB_QPS_RESET); in qp_grp_destroy()
537 if (usnic_ib_qp_grp_modify(qp_grp, IB_QPS_RESET, NULL)) { in usnic_ib_destroy_qp()
/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c676 qp->state = IB_QPS_RESET; in create_qp_rss()
884 qp->state = IB_QPS_RESET; in create_rq()
1062 qp->state = IB_QPS_RESET; in create_qp_common()
1291 case IB_QPS_RESET: return MLX4_QP_STATE_RST; in to_mlx4_state()
1373 if (qp->state != IB_QPS_RESET) { in destroy_qp_rss()
1407 if (qp->state != IB_QPS_RESET) { in destroy_qp_common()
2219 if (new_state == IB_QPS_RESET && qp->counter_index) in __mlx4_ib_modify_qp()
2222 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx4_ib_modify_qp()
2436 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
2503 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c248 qp->state = IB_QPS_RESET; in pvrdma_create_qp()
576 if (cur_state == next_state && cur_state == IB_QPS_RESET) { in pvrdma_modify_qp()
625 if (ret == 0 && next_state == IB_QPS_RESET) in pvrdma_modify_qp()
888 if (qp->state == IB_QPS_RESET) { in pvrdma_post_recv()
979 if (qp->state == IB_QPS_RESET) { in pvrdma_query_qp()
980 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c274 case IB_QPS_RESET: return MTHCA_QP_STATE_RST; in to_mthca_state()
361 case MTHCA_QP_STATE_RST: return IB_QPS_RESET; in to_ib_qp_state()
443 if (qp->state == IB_QPS_RESET) { in mthca_query_qp()
444 qp_attr->qp_state = IB_QPS_RESET; in mthca_query_qp()
823 if (cur_state != IB_QPS_RESET && in __mthca_modify_qp()
825 (new_state == IB_QPS_RESET || in __mthca_modify_qp()
834 if (new_state == IB_QPS_RESET && !qp->ibqp.uobject) { in __mthca_modify_qp()
918 if (cur_state == new_state && cur_state == IB_QPS_RESET) { in mthca_modify_qp()
1177 qp->state = IB_QPS_RESET; in mthca_alloc_qp_common()
1470 if (qp->state != IB_QPS_RESET) in mthca_free_qp()
[all …]
H A Dmthca_cmd.c1732 [IB_QPS_RESET] = { in mthca_MODIFY_QP()
1733 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1738 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1744 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1749 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1755 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1761 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
1766 [IB_QPS_RESET] = CMD_ERR2RST_QPEE, in mthca_MODIFY_QP()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c795 [IB_QPS_RESET] = {
796 [IB_QPS_RESET] = { .valid = 1 },
805 [IB_QPS_RESET] = { .valid = 1 },
820 [IB_QPS_RESET] = { .valid = 1 },
832 [IB_QPS_RESET] = { .valid = 1 },
845 [IB_QPS_RESET] = { .valid = 1 },
859 [IB_QPS_RESET] = { .valid = 1 },
868 [IB_QPS_RESET] = { .valid = 1 },
/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c69 [IB_QPS_RESET] = 0,
700 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
884 if (qp->state != IB_QPS_RESET) { in _rvt_reset_qp()
885 qp->state = IB_QPS_RESET; in _rvt_reset_qp()
1151 qp->state = IB_QPS_RESET; in rvt_create_qp()
1294 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1530 case IB_QPS_RESET: in rvt_modify_qp()
1531 if (qp->state != IB_QPS_RESET) in rvt_modify_qp()
1643 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in rvt_modify_qp()
H A Dmcast.c247 if (ibqp->qp_num <= 1 || qp->state == IB_QPS_RESET) in rvt_attach_mcast()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_qp.c385 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
601 [IB_QPS_RESET] = "RESET",
635 case IB_QPS_RESET: in rxe_qp_from_attr()
H A Drxe_comp.c652 qp_state(qp) == IB_QPS_RESET) { in rxe_completer()
H A Drxe_req.c672 if (unlikely(qp_state(qp) == IB_QPS_RESET)) { in rxe_requester()
H A Drxe_resp.c1501 qp_state(qp) == IB_QPS_RESET) { in rxe_receiver()
/linux/drivers/infiniband/core/
H A Dverbs.c1398 [IB_QPS_RESET] = {
1399 [IB_QPS_RESET] = { .valid = 1 },
1427 [IB_QPS_RESET] = { .valid = 1 },
1500 [IB_QPS_RESET] = { .valid = 1 },
1552 [IB_QPS_RESET] = { .valid = 1 },
1598 [IB_QPS_RESET] = { .valid = 1 },
1678 [IB_QPS_RESET] = { .valid = 1 },
1695 [IB_QPS_RESET] = { .valid = 1 },
/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c799 case IB_QPS_RESET: return MLX5_QP_STATE_RST; in to_mlx5_state()
2674 if (qp->state != IB_QPS_RESET) { in destroy_qp_common()
2760 qp->state = IB_QPS_RESET; in create_dct()
4181 cur_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
4295 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
4298 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
4313 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
4337 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
4404 if (new_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
4454 if (new_state == IB_QPS_RESET) { in modify_dci_qp_is_ok()
[all …]
H A Dumr.c240 attr.qp_state = IB_QPS_RESET; in mlx5r_umr_recover()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c136 qp_attr.qp_state = IB_QPS_RESET; in ipoib_init_qp()
H A Dipoib_ib.c773 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
863 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop_default()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c378 if (unlikely(hr_qp->state == IB_QPS_RESET || in check_send_valid()
773 if (hr_qp->state == IB_QPS_RESET) in check_recv_valid()
5031 [IB_QPS_RESET] = { [IB_QPS_RESET] = true, in check_qp_state()
5033 [IB_QPS_INIT] = { [IB_QPS_RESET] = true, in check_qp_state()
5037 [IB_QPS_RTR] = { [IB_QPS_RESET] = true, in check_qp_state()
5040 [IB_QPS_RTS] = { [IB_QPS_RESET] = true, in check_qp_state()
5045 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, in check_qp_state()
5069 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in hns_roce_v2_set_abs_fields()
5336 if (new_state == IB_QPS_RESET && !ibqp->uobject) in hns_roce_v2_modify_qp()
5346 [HNS_ROCE_QP_ST_RST] = IB_QPS_RESET, in to_ib_qp_st()
[all …]
H A Dhns_roce_qp.c1136 hr_qp->state = IB_QPS_RESET; in hns_roce_create_qp_common()
1430 if (cur_state == new_state && cur_state == IB_QPS_RESET) in hns_roce_modify_qp()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c32 [IB_QPS_RESET] = SIW_QP_STATE_IDLE,
42 [IB_QPS_RESET] = "RESET", [IB_QPS_INIT] = "INIT", [IB_QPS_RTR] = "RTR",
/linux/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h651 case IB_QPS_RESET: in c4iw_convert_state()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c155 return IB_QPS_RESET; in get_ibqp_state()
176 case IB_QPS_RESET: in get_ocrdma_qp_state()
/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.c734 if (qp->state == IB_QPS_RESET) in sdma_complete()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c1510 [IB_QPS_RESET] = ERDMA_QP_STATE_IDLE,

12