/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 87 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()
|
D | ipoib_ib.c | 352 __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() 838 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop() 887 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop()
|
D | ipoib_cm.c | 67 .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() 966 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler() 980 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler() 1095 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_qp.c | 1007 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 …]
|
D | ehca_classes_pSeries.h | 98 u32 qp_state; /* 09 */ member
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_qp.c | 148 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()
|
D | c2_ae.c | 203 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()
|
D | c2_wr.h | 647 u16 qp_state; member 950 u32 qp_state; /* Current QP State */ member 1118 __be32 qp_state; /* current QP State */ member
|
/linux-4.4.14/drivers/infiniband/core/ |
D | uverbs_marshall.c | 58 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
|
D | iwcm.c | 252 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()
|
D | cma.c | 639 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp() 648 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp() 653 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp() 665 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp() 731 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr() 740 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr() 772 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts() 796 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err() 851 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
|
D | ucm.c | 616 qp_attr.qp_state = cmd.qp_state; in ib_ucm_init_qp_attr()
|
D | mad.c | 2535 attr->qp_state = IB_QPS_RTS; in mad_error_handler() 3010 attr->qp_state = IB_QPS_INIT; in ib_mad_port_start() 3022 attr->qp_state = IB_QPS_RTR; in ib_mad_port_start() 3031 attr->qp_state = IB_QPS_RTS; in ib_mad_port_start()
|
D | ucma.c | 1147 qp_attr.qp_state = cmd.qp_state; in ucma_init_qp_attr()
|
D | uverbs_cmd.c | 2198 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp() 2303 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
|
D | cm.c | 3716 switch (qp_attr->qp_state) { in ib_cm_init_qp_attr()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 387 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp() 576 if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT) { in usnic_ib_modify_qp() 578 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTR) { in usnic_ib_modify_qp() 580 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTS) { in usnic_ib_modify_qp() 584 attr_mask & IB_QP_STATE, attr->qp_state); in usnic_ib_modify_qp()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_nodeqp.c | 830 newdev->qpairs->qp_state = SCIF_QP_OFFLINE; in scif_node_add() 863 if (qp->qp_state != SCIF_QP_ONLINE || in scif_poll_qp_state() 864 qp->remote_qp->qp_state != SCIF_QP_ONLINE) { in scif_poll_qp_state() 868 qp->qp_state); in scif_poll_qp_state() 879 __func__, __LINE__, peerdev->node, qp->qp_state); in scif_poll_qp_state() 880 qp->remote_qp->qp_state = SCIF_QP_OFFLINE; in scif_poll_qp_state() 930 qp->remote_qp->qp_state = SCIF_QP_ONLINE; in scif_node_add_ack()
|
D | scif_nodeqp.h | 166 u32 qp_state; member
|
/linux-4.4.14/include/uapi/rdma/ |
D | ib_user_verbs.h | 465 __u32 qp_state; member 608 __u8 qp_state; member 639 __u8 qp_state; member
|
D | rdma_user_cm.h | 232 __u32 qp_state; member
|
D | ib_user_cm.h | 109 __u32 qp_state; member
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1492 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp() 1521 new_qps = attr->qp_state; in ocrdma_modify_qp() 1577 u32 qp_state; in ocrdma_query_qp() local 1642 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp() 1644 qp_attr->qp_state = get_ibqp_state(qp_state); in ocrdma_query_qp() 1645 qp_attr->cur_qp_state = qp_attr->qp_state; in ocrdma_query_qp() 1646 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp() 1654 ocrdma_qp_state_change(qp, qp_attr->qp_state, NULL); in ocrdma_query_qp() 1804 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
|
D | ocrdma_hw.c | 2688 (get_ocrdma_qp_state(attrs->qp_state) << in ocrdma_mbx_modify_qp()
|
/linux-4.4.14/include/linux/mlx4/ |
D | qp.h | 481 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 209 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()
|
D | qp.c | 894 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument 918 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
|
D | mlx4_en.h | 293 enum mlx4_qp_state qp_state; member
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_qp.c | 462 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in ipath_modify_qp() 625 attr->qp_state = qp->state; in ipath_query_qp() 626 attr->cur_qp_state = attr->qp_state; in ipath_query_qp()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 586 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.4.14/drivers/infiniband/hw/mlx5/ |
D | main.c | 1127 attr->qp_state = IB_QPS_INIT; in create_umr_res() 1137 attr->qp_state = IB_QPS_RTR; in create_umr_res() 1147 attr->qp_state = IB_QPS_RTS; in create_umr_res()
|
D | qp.c | 1772 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp() 3056 qp_attr->qp_state = qp->state; in mlx5_ib_query_qp() 3090 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx5_ib_query_qp()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qp.c | 627 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hfi1_modify_qp() 896 attr->qp_state = qp->state; in hfi1_query_qp() 897 attr->cur_qp_state = attr->qp_state; in hfi1_query_qp()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 438 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.4.14/net/rds/ |
D | iw_cm.c | 602 qp_attr.qp_state = IB_QPS_ERR; in rds_iw_conn_shutdown()
|
D | ib_cm.c | 143 qp_attr.qp_state = IB_QPS_RTS; in rds_ib_cm_connect_complete()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2036 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx4_ib_modify_qp() 3241 qp_attr->qp_state = IB_QPS_RESET; in mlx4_ib_query_qp() 3254 qp_attr->qp_state = qp->state; in mlx4_ib_query_qp() 3273 if (qp_attr->qp_state == IB_QPS_INIT) in mlx4_ib_query_qp() 3293 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx4_ib_query_qp()
|
D | mad.c | 1660 attr.qp_state = IB_QPS_INIT; in create_pv_sqp() 1677 attr.qp_state = IB_QPS_RTR; in create_pv_sqp() 1684 attr.qp_state = IB_QPS_RTS; in create_pv_sqp()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1837 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in c4iw_ib_modify_qp() 1848 attrs.next_state = c4iw_convert_state(attr->qp_state); in c4iw_ib_modify_qp() 1891 attr->qp_state = to_ib_qp_state(qhp->attr.state); in c4iw_ib_query_qp()
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 959 attr->qp_state = IB_QPS_INIT; in srpt_init_ch_qp() 990 qp_attr.qp_state = IB_QPS_RTR; in srpt_ch_qp_rtr() 1020 qp_attr.qp_state = IB_QPS_RTS; in srpt_ch_qp_rts() 1040 qp_attr.qp_state = IB_QPS_ERR; in srpt_ch_qp_err()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 275 attr->qp_state = IB_QPS_INIT; in srp_init_qp() 459 static struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in srp_destroy_qp() 2275 qp_attr->qp_state = IB_QPS_RTR; in srp_cm_rep_handler() 2292 qp_attr->qp_state = IB_QPS_RTS; in srp_cm_rep_handler()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1086 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in iwch_ib_modify_qp() 1097 attrs.next_state = iwch_convert_state(attr->qp_state); in iwch_ib_modify_qp()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 1457 attr.qp_state = IB_QPS_ERR; in nes_destroy_qp() 2936 nesqp->hwqp.qp_id, attr->qp_state, nesqp->ibqp_state, in nes_modify_qp() 2947 switch (attr->qp_state) { in nes_modify_qp() 3076 nesqp->ibqp_state = attr->qp_state; in nes_modify_qp()
|
D | nes_cm.c | 3451 attr.qp_state = IB_QPS_RTS; in nes_accept() 3878 attr.qp_state = IB_QPS_RTS; in cm_event_connected()
|
/linux-4.4.14/include/rdma/ |
D | ib_verbs.h | 988 enum ib_qp_state qp_state; member
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2616 kiblnd_data.kib_error_qpa.qp_state = IB_QPS_ERR; in kiblnd_base_startup()
|