Home
last modified time | relevance | path

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

12

/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c87 qp_attr.qp_state = IB_QPS_INIT; in ipoib_init_qp()
102 qp_attr.qp_state = IB_QPS_RTR; in ipoib_init_qp()
111 qp_attr.qp_state = IB_QPS_RTS; in ipoib_init_qp()
124 qp_attr.qp_state = IB_QPS_RESET; in ipoib_init_qp()
Dipoib_cm.c67 .qp_state = IB_QPS_ERR
280 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_rx_qp()
291 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_modify_rx_qp()
312 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_modify_rx_qp()
972 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
986 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1098 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
Dipoib_ib.c827 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop()
876 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop()
/drivers/infiniband/hw/ehca/
Dehca_qp.c1007 mqpcb->qp_state = EHCA_QPS_INIT; in ehca_create_srq()
1036 mqpcb->qp_state = EHCA_QPS_RTR; in ehca_create_srq()
1277 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state); in internal_modify_qp()
1283 mqpcb->qp_state, my_qp, ibqp->qp_num); in internal_modify_qp()
1294 attr->qp_state == IB_QPS_INIT) { /* RESET -> INIT */ in internal_modify_qp()
1296 .qp_state = IB_QPS_INIT, in internal_modify_qp()
1327 my_qp, ibqp->qp_num, qp_cur_state, attr->qp_state, attr_mask); in internal_modify_qp()
1329 qp_new_state = attr_mask & IB_QP_STATE ? attr->qp_state : qp_cur_state; in internal_modify_qp()
1341 mqpcb->qp_state = ib2ehca_qp_state(qp_new_state); in internal_modify_qp()
1342 if (mqpcb->qp_state) in internal_modify_qp()
[all …]
Dehca_classes_pSeries.h98 u32 qp_state; /* 09 */ member
/drivers/infiniband/hw/amso1100/
Dc2_qp.c148 to_ib_state_str(attr->qp_state)); in c2_qp_modify()
165 if (attr->qp_state < 0 || attr->qp_state > IB_QPS_ERR) { in c2_qp_modify()
170 wr.next_qp_state = cpu_to_be32(to_c2_state(attr->qp_state)); in c2_qp_modify()
172 if (attr->qp_state == IB_QPS_ERR) { in c2_qp_modify()
183 next_state = attr->qp_state; in c2_qp_modify()
Dc2_ae.c203 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state))); in c2_ae_event()
205 c2_set_qp_state(qp, be32_to_cpu(wr->ae.ae_generic.qp_state)); in c2_ae_event()
Dc2_wr.h647 u16 qp_state; member
950 u32 qp_state; /* Current QP State */ member
1118 __be32 qp_state; /* current QP State */ member
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c368 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp()
557 if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT) { in usnic_ib_modify_qp()
559 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTR) { in usnic_ib_modify_qp()
561 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTS) { in usnic_ib_modify_qp()
565 attr_mask & IB_QP_STATE, attr->qp_state); in usnic_ib_modify_qp()
/drivers/infiniband/core/
Duverbs_marshall.c58 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
Diwcm.c252 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
265 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd()
1027 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
Dcma.c525 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp()
534 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp()
539 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp()
551 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp()
617 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr()
626 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr()
665 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts()
689 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err()
746 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
Ducm.c616 qp_attr.qp_state = cmd.qp_state; in ib_ucm_init_qp_attr()
Dmad.c2319 attr->qp_state = IB_QPS_RTS; in mad_error_handler()
2781 attr->qp_state = IB_QPS_INIT; in ib_mad_port_start()
2793 attr->qp_state = IB_QPS_RTR; in ib_mad_port_start()
2802 attr->qp_state = IB_QPS_RTS; in ib_mad_port_start()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c200 ring->qp_state = MLX4_QP_STATE_RST; in mlx4_en_activate_tx_ring()
210 &ring->qp, &ring->qp_state); in mlx4_en_activate_tx_ring()
223 mlx4_qp_modify(mdev->dev, NULL, ring->qp_state, in mlx4_en_deactivate_tx_ring()
Dqp.c606 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
628 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
Dmlx4_en.h293 enum mlx4_qp_state qp_state; member
/drivers/infiniband/hw/ipath/
Dipath_qp.c463 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in ipath_modify_qp()
626 attr->qp_state = qp->state; in ipath_query_qp()
627 attr->cur_qp_state = attr->qp_state; in ipath_query_qp()
/drivers/infiniband/hw/qib/
Dqib_qp.c586 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in qib_modify_qp()
860 attr->qp_state = qp->state; in qib_query_qp()
861 attr->cur_qp_state = attr->qp_state; in qib_query_qp()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1317 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp()
1346 new_qps = attr->qp_state; in ocrdma_modify_qp()
1402 u32 qp_state; in ocrdma_query_qp() local
1413 qp_attr->qp_state = get_ibqp_state(IB_QPS_INIT); in ocrdma_query_qp()
1467 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp()
1469 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp()
1625 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
Docrdma_main.c565 attrs.qp_state = IB_QPS_ERR; in ocrdma_close()
/drivers/infiniband/hw/mlx5/
Dmain.c1105 attr->qp_state = IB_QPS_INIT; in create_umr_res()
1115 attr->qp_state = IB_QPS_RTR; in create_umr_res()
1125 attr->qp_state = IB_QPS_RTS; in create_umr_res()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c438 qp_attr->qp_state = IB_QPS_RESET; in mthca_query_qp()
459 qp_attr->qp_state = qp->state; in mthca_query_qp()
497 qp_attr->cur_qp_state = qp_attr->qp_state; in mthca_query_qp()
861 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mthca_modify_qp()
/drivers/infiniband/hw/mlx4/
Dqp.c1896 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx4_ib_modify_qp()
3062 qp_attr->qp_state = IB_QPS_RESET; in mlx4_ib_query_qp()
3075 qp_attr->qp_state = qp->state; in mlx4_ib_query_qp()
3094 if (qp_attr->qp_state == IB_QPS_INIT) in mlx4_ib_query_qp()
3114 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx4_ib_query_qp()
/drivers/infiniband/hw/cxgb4/
Dqp.c1824 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in c4iw_ib_modify_qp()
1835 attrs.next_state = c4iw_convert_state(attr->qp_state); in c4iw_ib_modify_qp()
1878 attr->qp_state = to_ib_qp_state(qhp->attr.state); in c4iw_ib_query_qp()

12