Home
last modified time | relevance | path

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

123

/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c99 qp_attr.qp_state = IB_QPS_INIT; in ipoib_init_qp()
114 qp_attr.qp_state = IB_QPS_RTR; in ipoib_init_qp()
123 qp_attr.qp_state = IB_QPS_RTS; in ipoib_init_qp()
136 qp_attr.qp_state = IB_QPS_RESET; in ipoib_init_qp()
Dipoib_ib.c362 __func__, priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
365 if (qp_attr.qp_state == IB_QPS_SQE) { in ipoib_qp_state_validate_work()
366 qp_attr.qp_state = IB_QPS_RTS; in ipoib_qp_state_validate_work()
378 priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
746 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
750 new_state, qp_attr.qp_state); in check_qp_movement_and_print()
786 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop_default()
835 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop_default()
Dipoib_cm.c71 .qp_state = IB_QPS_ERR
281 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_rx_qp()
292 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_modify_rx_qp()
313 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_modify_rx_qp()
1002 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
1016 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1129 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
/drivers/infiniband/sw/rxe/
Drxe_qp.c368 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
418 attr->cur_qp_state : qp->attr.qp_state; in rxe_qp_chk_attr()
420 attr->qp_state : cur_state; in rxe_qp_chk_attr()
576 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
615 qp->attr.cur_qp_state = attr->qp_state; in rxe_qp_from_attr()
701 qp->attr.qp_state = attr->qp_state; in rxe_qp_from_attr()
703 switch (attr->qp_state) { in rxe_qp_from_attr()
Drxe_loc.h188 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() function
190 return qp->attr.qp_state; in qp_state()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c490 next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; in pvrdma_modify_qp()
533 cmd->attrs.qp_state = ib_qp_state_to_pvrdma(attr->qp_state); in pvrdma_modify_qp()
935 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
951 attr->qp_state = pvrdma_qp_state_to_ib(resp->attrs.qp_state); in pvrdma_query_qp()
980 qp->state = attr->qp_state; in pvrdma_query_qp()
985 attr->cur_qp_state = attr->qp_state; in pvrdma_query_qp()
Dpvrdma_verbs.h335 enum pvrdma_qp_state qp_state; member
/drivers/infiniband/hw/mlx5/
Dgsi.c281 attr.qp_state = IB_QPS_INIT; in modify_to_rts()
292 attr.qp_state = IB_QPS_RTR; in modify_to_rts()
300 attr.qp_state = IB_QPS_RTS; in modify_to_rts()
380 mlx5_ib_dbg(dev, "modifying GSI QP to state %d\n", attr->qp_state); in mlx5_ib_gsi_modify_qp()
Dqp.c3813 new_state = attr->qp_state; in mlx5_ib_modify_dct()
3943 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
5556 struct mlx5_ib_qp *qp, u8 *qp_state) in sqrq_state_to_qp_state() argument
5585 *qp_state = sqrq_trans[rq_state][sq_state]; in sqrq_state_to_qp_state()
5587 if (*qp_state == MLX5_QP_STATE_BAD) { in sqrq_state_to_qp_state()
5594 if (*qp_state == MLX5_QP_STATE) in sqrq_state_to_qp_state()
5595 *qp_state = qp->state; in sqrq_state_to_qp_state()
5726 qp_attr->qp_state = IB_QPS_RTR; in mlx5_ib_dct_query_qp()
5795 qp_attr->qp_state = qp->state; in mlx5_ib_query_qp()
5796 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx5_ib_query_qp()
[all …]
/drivers/infiniband/hw/efa/
Defa_com_cmd.h45 u32 qp_state; member
57 u32 qp_state; member
Defa_admin_cmds_defs.h205 u32 qp_state; member
244 u32 qp_state; member
Defa_com_cmd.c74 cmd.qp_state = params->qp_state; in efa_com_modify_qp()
120 result->qp_state = resp.qp_state; in efa_com_query_qp()
Defa_verbs.c378 qp_attr->qp_state = result.qp_state; in efa_query_qp()
840 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
853 params.qp_state = qp_attr->qp_state; in efa_modify_qp()
/drivers/misc/mic/scif/
Dscif_nodeqp.c821 newdev->qpairs->qp_state = SCIF_QP_OFFLINE; in scif_node_add()
854 if (qp->qp_state != SCIF_QP_ONLINE || in scif_poll_qp_state()
855 qp->remote_qp->qp_state != SCIF_QP_ONLINE) { in scif_poll_qp_state()
859 qp->qp_state); in scif_poll_qp_state()
870 __func__, __LINE__, peerdev->node, qp->qp_state); in scif_poll_qp_state()
871 qp->remote_qp->qp_state = SCIF_QP_OFFLINE; in scif_poll_qp_state()
921 qp->remote_qp->qp_state = SCIF_QP_ONLINE; in scif_node_add_ack()
Dscif_nodeqp.h166 u32 qp_state; member
/drivers/infiniband/core/
Duverbs_marshall.c100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
Diwcm.c276 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
289 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd()
1164 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
Dcma.c916 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp()
925 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp()
930 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp()
942 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp()
1008 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr()
1017 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr()
1044 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts()
1068 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err()
1123 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1391 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp()
1418 new_qps = attr->qp_state; in ocrdma_modify_qp()
1473 u32 qp_state; in ocrdma_query_qp() local
1539 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp()
1541 qp_attr->qp_state = get_ibqp_state(qp_state); in ocrdma_query_qp()
1542 qp_attr->cur_qp_state = qp_attr->qp_state; in ocrdma_query_qp()
1543 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp()
1551 ocrdma_qp_state_change(qp, qp_attr->qp_state, NULL); in ocrdma_query_qp()
1700 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
/drivers/crypto/hisilicon/
Dqm.h78 enum qp_state { enum
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c401 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp()
580 status = usnic_ib_qp_grp_modify(qp_grp, attr->qp_state, NULL); in usnic_ib_modify_qp()
/drivers/infiniband/hw/hfi1/
Dopfn.c265 attr->qp_state == IB_QPS_RTS) { in opfn_qp_init()
/drivers/infiniband/hw/qedr/
Dverbs.c1942 static enum ib_qp_state qedr_get_ibqp_state(enum qed_roce_qp_state qp_state) in qedr_get_ibqp_state() argument
1944 switch (qp_state) { in qedr_get_ibqp_state()
1964 enum ib_qp_state qp_state) in qedr_get_state_from_ibqp() argument
1966 switch (qp_state) { in qedr_get_state_from_ibqp()
2112 attr->qp_state); in qedr_modify_qp()
2116 new_qp_state = attr->qp_state; in qedr_modify_qp()
2137 qp_params.new_state = qedr_get_state_from_ibqp(attr->qp_state); in qedr_modify_qp()
2388 qp_attr->qp_state = qedr_get_ibqp_state(params.state); in qedr_query_qp()
2471 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
/drivers/net/ethernet/mellanox/mlx4/
Dqp.c916 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
940 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c764 attr->qp_state = iwqp->ibqp_state; in i40iw_query_qp()
765 attr->cur_qp_state = attr->qp_state; in i40iw_query_qp()
857 if (iwdev->closing && attr->qp_state != IB_QPS_ERR) { in i40iw_modify_qp()
862 switch (attr->qp_state) { in i40iw_modify_qp()
938 iwqp->ibqp_state = attr->qp_state; in i40iw_modify_qp()

123