Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c52 case IB_QPS_RESET: in usnic_ib_qp_grp_state_to_string()
405 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
407 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
426 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
491 case IB_QPS_RESET: in usnic_ib_qp_grp_modify()
709 qp_grp->state = IB_QPS_RESET; in usnic_ib_qp_grp_create()
744 WARN_ON(qp_grp->state != IB_QPS_RESET); in usnic_ib_qp_grp_destroy()
Dusnic_ib_verbs.c254 WARN_ON(qp_grp->state != IB_QPS_RESET); in qp_grp_destroy()
544 if (usnic_ib_qp_grp_modify(qp_grp, IB_QPS_RESET, NULL)) { in usnic_ib_destroy_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c637 qp->state = IB_QPS_RESET; in create_qp_rss()
845 qp->state = IB_QPS_RESET; in create_rq()
1023 qp->state = IB_QPS_RESET; in create_qp_common()
1252 case IB_QPS_RESET: return MLX4_QP_STATE_RST; in to_mlx4_state()
1334 if (qp->state != IB_QPS_RESET) { in destroy_qp_rss()
1368 if (qp->state != IB_QPS_RESET) { in destroy_qp_common()
2182 if (new_state == IB_QPS_RESET && qp->counter_index) in __mlx4_ib_modify_qp()
2185 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx4_ib_modify_qp()
2399 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
2466 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c255 qp->state = IB_QPS_RESET; in pvrdma_create_qp()
584 if (cur_state == next_state && cur_state == IB_QPS_RESET) { in pvrdma_modify_qp()
633 if (ret == 0 && next_state == IB_QPS_RESET) in pvrdma_modify_qp()
904 if (qp->state == IB_QPS_RESET) { in pvrdma_post_recv()
995 if (qp->state == IB_QPS_RESET) { in pvrdma_query_qp()
996 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
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()
915 if (cur_state == new_state && cur_state == IB_QPS_RESET) { in mthca_modify_qp()
1174 qp->state = IB_QPS_RESET; in mthca_alloc_qp_common()
1467 if (qp->state != IB_QPS_RESET) in mthca_free_qp()
[all …]
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c761 [IB_QPS_RESET] = {
762 [IB_QPS_RESET] = { .valid = 1 },
771 [IB_QPS_RESET] = { .valid = 1 },
786 [IB_QPS_RESET] = { .valid = 1 },
798 [IB_QPS_RESET] = { .valid = 1 },
811 [IB_QPS_RESET] = { .valid = 1 },
825 [IB_QPS_RESET] = { .valid = 1 },
834 [IB_QPS_RESET] = { .valid = 1 },
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c813 IB_QPS_RESET, IB_QPS_INIT); in hns_roce_v1_rsv_lp_qp()
2524 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in hns_roce_v1_m_sqp()
2618 if (new_state == IB_QPS_RESET) { in hns_roce_v1_m_sqp()
2643 [IB_QPS_RESET] = { [IB_QPS_RESET] = true, in check_qp_state()
2645 [IB_QPS_INIT] = { [IB_QPS_RESET] = true, in check_qp_state()
2649 [IB_QPS_RTR] = { [IB_QPS_RESET] = true, in check_qp_state()
2652 [IB_QPS_RTS] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true }, in check_qp_state()
2655 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true } in check_qp_state()
2711 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in hns_roce_v1_m_qp()
3242 if (new_state == IB_QPS_RESET && !ibqp->uobject) { in hns_roce_v1_m_qp()
[all …]
Dhns_roce_hw_v2.c362 } else if (unlikely(hr_qp->state == IB_QPS_RESET || in check_send_valid()
712 else if (hr_qp->state == IB_QPS_RESET) in check_recv_valid()
4503 [IB_QPS_RESET] = { [IB_QPS_RESET] = true, in check_qp_state()
4505 [IB_QPS_INIT] = { [IB_QPS_RESET] = true, in check_qp_state()
4509 [IB_QPS_RTR] = { [IB_QPS_RESET] = true, in check_qp_state()
4512 [IB_QPS_RTS] = { [IB_QPS_RESET] = true, in check_qp_state()
4517 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, [IB_QPS_ERR] = true } in check_qp_state()
4539 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in hns_roce_v2_set_abs_fields()
4825 if (new_state == IB_QPS_RESET && !ibqp->uobject) { in hns_roce_v2_modify_qp()
4848 [HNS_ROCE_QP_ST_RST] = IB_QPS_RESET, in to_ib_qp_st()
[all …]
Dhns_roce_qp.c190 case IB_QPS_RESET: in to_hns_roce_state()
919 hr_qp->state = IB_QPS_RESET; in hns_roce_create_qp_common()
1188 if (cur_state == new_state && cur_state == IB_QPS_RESET) { in hns_roce_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c1299 [IB_QPS_RESET] = {
1300 [IB_QPS_RESET] = { .valid = 1 },
1328 [IB_QPS_RESET] = { .valid = 1 },
1401 [IB_QPS_RESET] = { .valid = 1 },
1453 [IB_QPS_RESET] = { .valid = 1 },
1499 [IB_QPS_RESET] = { .valid = 1 },
1579 [IB_QPS_RESET] = { .valid = 1 },
1596 [IB_QPS_RESET] = { .valid = 1 },
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c716 case IB_QPS_RESET: return MLX5_QP_STATE_RST; in to_mlx5_state()
2349 if (qp->state != IB_QPS_RESET) { in destroy_qp_common()
2435 qp->state = IB_QPS_RESET; in create_dct()
3831 cur_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
3940 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
3943 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
3958 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
3982 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
4049 if (new_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
4099 if (new_state == IB_QPS_RESET) { in modify_dci_qp_is_ok()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c111 [IB_QPS_RESET] = 0,
742 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
924 if (qp->state != IB_QPS_RESET) { in _rvt_reset_qp()
925 qp->state = IB_QPS_RESET; in _rvt_reset_qp()
1195 qp->state = IB_QPS_RESET; in rvt_create_qp()
1352 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1585 case IB_QPS_RESET: in rvt_modify_qp()
1586 if (qp->state != IB_QPS_RESET) in rvt_modify_qp()
1698 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in rvt_modify_qp()
Dmcast.c289 if (ibqp->qp_num <= 1 || qp->state == IB_QPS_RESET) in rvt_attach_mcast()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c136 qp_attr.qp_state = IB_QPS_RESET; in ipoib_init_qp()
Dipoib_ib.c749 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
839 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop_default()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c340 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
681 case IB_QPS_RESET: in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c22 [IB_QPS_RESET] = SIW_QP_STATE_IDLE,
32 [IB_QPS_RESET] = "RESET", [IB_QPS_INIT] = "INIT", [IB_QPS_RTR] = "RTR",
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h621 case IB_QPS_RESET: in c4iw_convert_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c155 return IB_QPS_RESET; in get_ibqp_state()
176 case IB_QPS_RESET: in get_ocrdma_qp_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_verbs.c734 if (qp->state == IB_QPS_RESET) in sdma_complete()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1493 case IB_QPS_RESET: in __from_ib_qp_state()
1515 return IB_QPS_RESET; in __to_ib_qp_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2315 return IB_QPS_RESET; in qedr_get_ibqp_state()
2336 case IB_QPS_RESET: in qedr_get_state_from_ibqp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c901 case IB_QPS_RESET: in i40iw_modify_qp()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h1240 IB_QPS_RESET, enumerator