Home
last modified time | relevance | path

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

12

/linux-2.6.39/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.c66 .qp_state = IB_QPS_ERR
278 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_rx_qp()
289 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_modify_rx_qp()
310 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_modify_rx_qp()
963 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
977 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1079 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
Dipoib_ib.c819 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop()
868 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop()
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_qp.c1008 mqpcb->qp_state = EHCA_QPS_INIT; in ehca_create_srq()
1037 mqpcb->qp_state = EHCA_QPS_RTR; in ehca_create_srq()
1278 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state); in internal_modify_qp()
1284 mqpcb->qp_state, my_qp, ibqp->qp_num); in internal_modify_qp()
1295 attr->qp_state == IB_QPS_INIT) { /* RESET -> INIT */ in internal_modify_qp()
1297 .qp_state = IB_QPS_INIT, in internal_modify_qp()
1328 my_qp, ibqp->qp_num, qp_cur_state, attr->qp_state, attr_mask); in internal_modify_qp()
1330 qp_new_state = attr_mask & IB_QP_STATE ? attr->qp_state : qp_cur_state; in internal_modify_qp()
1342 mqpcb->qp_state = ib2ehca_qp_state(qp_new_state); in internal_modify_qp()
1343 if (mqpcb->qp_state) in internal_modify_qp()
[all …]
Dehca_classes_pSeries.h98 u32 qp_state; /* 09 */ member
/linux-2.6.39/drivers/infiniband/hw/amso1100/
Dc2_ae.c201 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state))); in c2_ae_event()
203 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-2.6.39/drivers/infiniband/core/
Duverbs_marshall.c57 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
Diwcm.c229 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
242 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd()
998 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
Dcma.c461 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp()
470 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp()
475 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp()
487 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp()
552 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr()
561 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr()
586 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts()
610 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err()
666 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
Duverbs_cmd.c1223 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp()
1313 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
Ducm.c627 qp_attr.qp_state = cmd.qp_state; in ib_ucm_init_qp_attr()
/linux-2.6.39/include/rdma/
Dib_user_verbs.h352 __u32 qp_state; member
459 __u8 qp_state; member
490 __u8 qp_state; member
Drdma_user_cm.h186 __u32 qp_state; member
Dib_user_cm.h108 __u32 qp_state; member
/linux-2.6.39/drivers/net/mlx4/
Dqp.c352 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
375 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
Den_tx.c174 ring->qp_state = MLX4_QP_STATE_RST; in mlx4_en_activate_tx_ring()
183 &ring->qp, &ring->qp_state); in mlx4_en_activate_tx_ring()
193 mlx4_qp_modify(mdev->dev, NULL, ring->qp_state, in mlx4_en_deactivate_tx_ring()
Dmlx4_en.h246 enum mlx4_qp_state qp_state; member
/linux-2.6.39/include/linux/mlx4/
Dqp.h323 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
/linux-2.6.39/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-2.6.39/drivers/infiniband/hw/qib/
Dqib_qp.c563 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in qib_modify_qp()
831 attr->qp_state = qp->state; in qib_query_qp()
832 attr->cur_qp_state = attr->qp_state; in qib_query_qp()
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dqp.c1250 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx4_ib_modify_qp()
2036 qp_attr->qp_state = IB_QPS_RESET; in mlx4_ib_query_qp()
2049 qp_attr->qp_state = qp->state; in mlx4_ib_query_qp()
2068 if (qp_attr->qp_state == IB_QPS_INIT) in mlx4_ib_query_qp()
2088 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx4_ib_query_qp()
/linux-2.6.39/drivers/infiniband/ulp/srp/
Dib_srp.c188 attr->qp_state = IB_QPS_INIT; in srp_init_qp()
609 qp_attr.qp_state = IB_QPS_RESET; in srp_reconnect_target()
1395 qp_attr->qp_state = IB_QPS_RTR; in srp_cm_rep_handler()
1411 qp_attr->qp_state = IB_QPS_RTS; in srp_cm_rep_handler()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_qp.c441 qp_attr->qp_state = IB_QPS_RESET; in mthca_query_qp()
465 qp_attr->qp_state = qp->state; in mthca_query_qp()
503 qp_attr->cur_qp_state = qp_attr->qp_state; in mthca_query_qp()
870 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mthca_modify_qp()

12