Home
last modified time | relevance | path

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

/linux-4.1.27/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_ib.c352 __func__, priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
355 if (qp_attr.qp_state == IB_QPS_SQE) { in ipoib_qp_state_validate_work()
356 qp_attr.qp_state = IB_QPS_RTS; in ipoib_qp_state_validate_work()
368 priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
852 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop()
901 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop()
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()
/linux-4.1.27/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
/linux-4.1.27/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()
Ducma.c1059 qp_attr.qp_state = cmd.qp_state; in ucma_init_qp_attr()
Duverbs_cmd.c1947 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp()
2051 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
Dcm.c3640 switch (qp_attr->qp_state) { in ib_cm_init_qp_attr()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
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_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_wr.h647 u16 qp_state; member
950 u32 qp_state; /* Current QP State */ member
1118 __be32 qp_state; /* current QP State */ member
/linux-4.1.27/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()
/linux-4.1.27/include/uapi/rdma/
Dib_user_verbs.h445 __u32 qp_state; member
563 __u8 qp_state; member
594 __u8 qp_state; member
Drdma_user_cm.h232 __u32 qp_state; member
Dib_user_cm.h109 __u32 qp_state; member
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1421 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp()
1450 new_qps = attr->qp_state; in ocrdma_modify_qp()
1506 u32 qp_state; in ocrdma_query_qp() local
1571 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp()
1573 qp_attr->qp_state = get_ibqp_state(qp_state); in ocrdma_query_qp()
1574 qp_attr->cur_qp_state = qp_attr->qp_state; in ocrdma_query_qp()
1575 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp()
1583 ocrdma_qp_state_change(qp, qp_attr->qp_state, NULL); in ocrdma_query_qp()
1733 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
Docrdma_main.c571 attrs.qp_state = IB_QPS_ERR; in ocrdma_close()
Docrdma_hw.c2618 (get_ocrdma_qp_state(attrs->qp_state) << in ocrdma_mbx_modify_qp()
/linux-4.1.27/include/linux/mlx4/
Dqp.h466 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c209 ring->qp_state = MLX4_QP_STATE_RST; in mlx4_en_activate_tx_ring()
219 &ring->qp, &ring->qp_state); in mlx4_en_activate_tx_ring()
232 mlx4_qp_modify(mdev->dev, NULL, ring->qp_state, in mlx4_en_deactivate_tx_ring()
Dqp.c880 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
904 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
Dmlx4_en.h292 enum mlx4_qp_state qp_state; member
/linux-4.1.27/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()
/linux-4.1.27/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()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmain.c1024 attr->qp_state = IB_QPS_INIT; in create_umr_res()
1034 attr->qp_state = IB_QPS_RTR; in create_umr_res()
1044 attr->qp_state = IB_QPS_RTS; in create_umr_res()
Dqp.c1788 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
3065 qp_attr->qp_state = qp->state; in mlx5_ib_query_qp()
3099 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx5_ib_query_qp()
/linux-4.1.27/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()
/linux-4.1.27/net/rds/
Dib_cm.c173 qp_attr.qp_state = IB_QPS_RTS; in rds_ib_cm_connect_complete()
Diw_cm.c598 qp_attr.qp_state = IB_QPS_ERR; in rds_iw_conn_shutdown()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dqp.c1927 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx4_ib_modify_qp()
3127 qp_attr->qp_state = IB_QPS_RESET; in mlx4_ib_query_qp()
3140 qp_attr->qp_state = qp->state; in mlx4_ib_query_qp()
3159 if (qp_attr->qp_state == IB_QPS_INIT) in mlx4_ib_query_qp()
3179 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx4_ib_query_qp()
Dmad.c1634 attr.qp_state = IB_QPS_INIT; in create_pv_sqp()
1651 attr.qp_state = IB_QPS_RTR; in create_pv_sqp()
1658 attr.qp_state = IB_QPS_RTS; in create_pv_sqp()
/linux-4.1.27/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()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
Dib_srpt.c960 attr->qp_state = IB_QPS_INIT; in srpt_init_ch_qp()
991 qp_attr.qp_state = IB_QPS_RTR; in srpt_ch_qp_rtr()
1021 qp_attr.qp_state = IB_QPS_RTS; in srpt_ch_qp_rts()
1041 qp_attr.qp_state = IB_QPS_ERR; in srpt_ch_qp_err()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c276 attr->qp_state = IB_QPS_INIT; in srp_init_qp()
468 static struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in srp_destroy_qp()
2216 qp_attr->qp_state = IB_QPS_RTR; in srp_cm_rep_handler()
2233 qp_attr->qp_state = IB_QPS_RTS; in srp_cm_rep_handler()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1057 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in iwch_ib_modify_qp()
1068 attrs.next_state = iwch_convert_state(attr->qp_state); in iwch_ib_modify_qp()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_verbs.c1477 attr.qp_state = IB_QPS_ERR; in nes_destroy_qp()
2944 nesqp->hwqp.qp_id, attr->qp_state, nesqp->ibqp_state, in nes_modify_qp()
2955 switch (attr->qp_state) { in nes_modify_qp()
3084 nesqp->ibqp_state = attr->qp_state; in nes_modify_qp()
Dnes_cm.c3445 attr.qp_state = IB_QPS_RTS; in nes_accept()
3870 attr.qp_state = IB_QPS_RTS; in cm_event_connected()
/linux-4.1.27/include/rdma/
Dib_verbs.h924 enum ib_qp_state qp_state; member
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c2862 kiblnd_data.kib_error_qpa.qp_state = IB_QPS_ERR; in kiblnd_base_startup()