Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c85 qp_attr.qp_state = IB_QPS_INIT; in ipoib_init_qp()
100 qp_attr.qp_state = IB_QPS_RTR; in ipoib_init_qp()
109 qp_attr.qp_state = IB_QPS_RTS; in ipoib_init_qp()
122 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()
962 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
976 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1078 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
Dipoib_ib.c815 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop()
864 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop()
/drivers/infiniband/hw/ehca/
Dehca_qp.c1003 mqpcb->qp_state = EHCA_QPS_INIT; in ehca_create_srq()
1032 mqpcb->qp_state = EHCA_QPS_RTR; in ehca_create_srq()
1270 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state); in internal_modify_qp()
1276 mqpcb->qp_state, my_qp, ibqp->qp_num); in internal_modify_qp()
1287 attr->qp_state == IB_QPS_INIT) { /* RESET -> INIT */ in internal_modify_qp()
1289 .qp_state = IB_QPS_INIT, in internal_modify_qp()
1320 my_qp, ibqp->qp_num, qp_cur_state, attr->qp_state, attr_mask); in internal_modify_qp()
1322 qp_new_state = attr_mask & IB_QP_STATE ? attr->qp_state : qp_cur_state; in internal_modify_qp()
1334 mqpcb->qp_state = ib2ehca_qp_state(qp_new_state); in internal_modify_qp()
1335 if (mqpcb->qp_state) in internal_modify_qp()
[all …]
Dehca_classes_pSeries.h98 u32 qp_state; /* 09 */ member
/drivers/infiniband/hw/amso1100/
Dc2_qp.c147 to_ib_state_str(attr->qp_state)); in c2_qp_modify()
164 if (attr->qp_state < 0 || attr->qp_state > IB_QPS_ERR) { in c2_qp_modify()
169 wr.next_qp_state = cpu_to_be32(to_c2_state(attr->qp_state)); in c2_qp_modify()
171 if (attr->qp_state == IB_QPS_ERR) { in c2_qp_modify()
182 next_state = attr->qp_state; in c2_qp_modify()
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_wr.h647 u16 qp_state; member
950 u32 qp_state; /* Current QP State */ member
1118 __be32 qp_state; /* current QP State */ member
/drivers/net/mlx4/
Dqp.c353 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
376 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
Den_tx.c166 ring->qp_state = MLX4_QP_STATE_RST; in mlx4_en_activate_tx_ring()
173 &ring->qp, &ring->qp_state); in mlx4_en_activate_tx_ring()
183 mlx4_qp_modify(mdev->dev, NULL, ring->qp_state, in mlx4_en_deactivate_tx_ring()
Dmlx4_en.h254 enum mlx4_qp_state qp_state; member
/drivers/infiniband/core/
Diwcm.c227 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
240 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd()
989 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
Dcma.c409 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp()
418 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp()
423 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp()
435 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp()
500 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr()
509 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr()
534 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts()
558 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err()
604 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
Duverbs_cmd.c1192 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp()
1282 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
Ducma.c779 qp_attr.qp_state = cmd.qp_state; in ucma_init_qp_attr()
Dmad.c2211 attr->qp_state = IB_QPS_RTS; in mad_error_handler()
2650 attr->qp_state = IB_QPS_INIT; in ib_mad_port_start()
2661 attr->qp_state = IB_QPS_RTR; in ib_mad_port_start()
2669 attr->qp_state = IB_QPS_RTS; in ib_mad_port_start()
Ducm.c625 qp_attr.qp_state = cmd.qp_state; in ib_ucm_init_qp_attr()
Dcm.c3560 switch (qp_attr->qp_state) { in ib_cm_init_qp_attr()
/drivers/infiniband/hw/ipath/
Dipath_qp.c461 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in ipath_modify_qp()
624 attr->qp_state = qp->state; in ipath_query_qp()
625 attr->cur_qp_state = attr->qp_state; in ipath_query_qp()
/drivers/infiniband/hw/mlx4/
Dqp.c1171 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx4_ib_modify_qp()
1871 qp_attr->qp_state = IB_QPS_RESET; in mlx4_ib_query_qp()
1884 qp_attr->qp_state = qp->state; in mlx4_ib_query_qp()
1903 if (qp_attr->qp_state == IB_QPS_INIT) in mlx4_ib_query_qp()
1923 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx4_ib_query_qp()
/drivers/infiniband/ulp/srp/
Dib_srp.c189 attr->qp_state = IB_QPS_INIT; in srp_init_qp()
562 qp_attr.qp_state = IB_QPS_RESET; in srp_reconnect_target()
1257 qp_attr->qp_state = IB_QPS_RTR; in srp_cm_handler()
1270 qp_attr->qp_state = IB_QPS_RTS; in srp_cm_handler()
/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()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1028 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in iwch_ib_modify_qp()
1039 attrs.next_state = iwch_convert_state(attr->qp_state); in iwch_ib_modify_qp()
/drivers/infiniband/hw/nes/
Dnes_verbs.c1524 attr.qp_state = IB_QPS_ERR; in nes_destroy_qp()
2863 nesqp->hwqp.qp_id, attr->qp_state, nesqp->ibqp_state, in nes_modify_qp()
2874 switch (attr->qp_state) { in nes_modify_qp()
3002 nesqp->ibqp_state = attr->qp_state; in nes_modify_qp()
Dnes_cm.c2754 attr.qp_state = IB_QPS_RTS; in nes_accept()
3157 attr.qp_state = IB_QPS_RTS; in cm_event_connected()