Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/infiniband/hw/usnic/
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()
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-6.1.9/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()
2180 if (new_state == IB_QPS_RESET && qp->counter_index) in __mlx4_ib_modify_qp()
2183 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx4_ib_modify_qp()
2397 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
2464 cur_state == IB_QPS_RESET && in __mlx4_ib_modify_qp()
[all …]
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
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()
896 if (qp->state == IB_QPS_RESET) { in pvrdma_post_recv()
987 if (qp->state == IB_QPS_RESET) { in pvrdma_query_qp()
988 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
/linux-6.1.9/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()
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 …]
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-6.1.9/drivers/infiniband/hw/efa/
Defa_verbs.c769 [IB_QPS_RESET] = {
770 [IB_QPS_RESET] = { .valid = 1 },
779 [IB_QPS_RESET] = { .valid = 1 },
794 [IB_QPS_RESET] = { .valid = 1 },
806 [IB_QPS_RESET] = { .valid = 1 },
819 [IB_QPS_RESET] = { .valid = 1 },
833 [IB_QPS_RESET] = { .valid = 1 },
842 [IB_QPS_RESET] = { .valid = 1 },
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c1381 [IB_QPS_RESET] = {
1382 [IB_QPS_RESET] = { .valid = 1 },
1410 [IB_QPS_RESET] = { .valid = 1 },
1483 [IB_QPS_RESET] = { .valid = 1 },
1535 [IB_QPS_RESET] = { .valid = 1 },
1581 [IB_QPS_RESET] = { .valid = 1 },
1661 [IB_QPS_RESET] = { .valid = 1 },
1678 [IB_QPS_RESET] = { .valid = 1 },
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c69 [IB_QPS_RESET] = 0,
702 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean()
886 if (qp->state != IB_QPS_RESET) { in _rvt_reset_qp()
887 qp->state = IB_QPS_RESET; in _rvt_reset_qp()
1153 qp->state = IB_QPS_RESET; in rvt_create_qp()
1296 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_error_qp()
1532 case IB_QPS_RESET: in rvt_modify_qp()
1533 if (qp->state != IB_QPS_RESET) in rvt_modify_qp()
1645 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in rvt_modify_qp()
Dmcast.c247 if (ibqp->qp_num <= 1 || qp->state == IB_QPS_RESET) in rvt_attach_mcast()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c718 case IB_QPS_RESET: return MLX5_QP_STATE_RST; in to_mlx5_state()
2588 if (qp->state != IB_QPS_RESET) { in destroy_qp_common()
2674 qp->state = IB_QPS_RESET; in create_dct()
4075 cur_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
4184 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
4187 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
4202 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp()
4226 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp()
4293 if (new_state == IB_QPS_RESET && in __mlx5_ib_modify_qp()
4343 if (new_state == IB_QPS_RESET) { in modify_dci_qp_is_ok()
[all …]
Dumr.c208 attr.qp_state = IB_QPS_RESET; in mlx5r_umr_recover()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_qp.c341 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
688 case IB_QPS_RESET: in rxe_qp_from_attr()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c384 } else if (unlikely(hr_qp->state == IB_QPS_RESET || in check_send_valid()
788 if (hr_qp->state == IB_QPS_RESET) in check_recv_valid()
5083 [IB_QPS_RESET] = { [IB_QPS_RESET] = true, in check_qp_state()
5085 [IB_QPS_INIT] = { [IB_QPS_RESET] = true, in check_qp_state()
5089 [IB_QPS_RTR] = { [IB_QPS_RESET] = true, in check_qp_state()
5092 [IB_QPS_RTS] = { [IB_QPS_RESET] = true, in check_qp_state()
5097 [IB_QPS_ERR] = { [IB_QPS_RESET] = true, in check_qp_state()
5120 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in hns_roce_v2_set_abs_fields()
5389 if (new_state == IB_QPS_RESET && !ibqp->uobject) in hns_roce_v2_modify_qp()
5399 [HNS_ROCE_QP_ST_RST] = IB_QPS_RESET, in to_ib_qp_st()
[all …]
Dhns_roce_qp.c1122 hr_qp->state = IB_QPS_RESET; in hns_roce_create_qp_common()
1409 if (cur_state == new_state && cur_state == IB_QPS_RESET) in hns_roce_modify_qp()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c23 [IB_QPS_RESET] = SIW_QP_STATE_IDLE,
33 [IB_QPS_RESET] = "RESET", [IB_QPS_INIT] = "INIT", [IB_QPS_RTR] = "RTR",
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h615 case IB_QPS_RESET: in c4iw_convert_state()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1255 [IB_QPS_RESET] = ERDMA_QP_STATE_IDLE,
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_verbs.c734 if (qp->state == IB_QPS_RESET) in sdma_complete()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1478 case IB_QPS_RESET: in __from_ib_qp_state()
1500 return IB_QPS_RESET; in __to_ib_qp_state()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c1364 case IB_QPS_RESET: in irdma_modify_qp_roce()
1571 case IB_QPS_RESET: in irdma_modify_qp()

12