Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/ulp/ipoib/
H A 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()
H A Dipoib_ib.c363 __func__, priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
366 if (qp_attr.qp_state == IB_QPS_SQE) { in ipoib_qp_state_validate_work()
367 qp_attr.qp_state = IB_QPS_RTS; in ipoib_qp_state_validate_work()
379 priv->qp->qp_num, qp_attr.qp_state); in ipoib_qp_state_validate_work()
774 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
778 new_state, qp_attr.qp_state); in check_qp_movement_and_print()
818 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop_default()
868 qp_attr.qp_state = IB_QPS_RESET; in ipoib_ib_dev_stop_default()
H A 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()
1004 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
1018 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1127 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
/linux/drivers/infiniband/hw/mlx5/
H A Dgsi.c228 attr.qp_state = IB_QPS_INIT; in modify_to_rts()
239 attr.qp_state = IB_QPS_RTR; in modify_to_rts()
247 attr.qp_state = IB_QPS_RTS; in modify_to_rts()
329 mlx5_ib_dbg(dev, "modifying GSI QP to state %d\n", attr->qp_state); in mlx5_ib_gsi_modify_qp()
H A Dumr.c108 attr.qp_state = IB_QPS_INIT; in mlx5r_umr_qp_rst2rts()
118 attr.qp_state = IB_QPS_RTR; in mlx5r_umr_qp_rst2rts()
127 attr.qp_state = IB_QPS_RTS; in mlx5r_umr_qp_rst2rts()
317 attr.qp_state = IB_QPS_RESET; in mlx5r_umr_recover()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c543 next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; in pvrdma_modify_qp()
586 cmd->attrs.qp_state = ib_qp_state_to_pvrdma(attr->qp_state); in pvrdma_modify_qp()
980 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
996 attr->qp_state = pvrdma_qp_state_to_ib(resp->attrs.qp_state); in pvrdma_query_qp()
1025 qp->state = attr->qp_state; in pvrdma_query_qp()
1030 attr->cur_qp_state = attr->qp_state; in pvrdma_query_qp()
H A Dpvrdma_verbs.h300 enum pvrdma_qp_state qp_state; member
/linux/drivers/infiniband/core/
H A Duverbs_marshall.c100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
H A Diwcm.c278 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err()
291 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd()
1162 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
/linux/drivers/infiniband/hw/efa/
H A Defa_com_cmd.h47 u32 qp_state; member
60 u32 qp_state; member
H A Defa_admin_cmds_defs.h209 * 0 : qp_state
223 u32 qp_state; member
262 u32 qp_state; member
H A Defa_com_cmd.c72 cmd.qp_state = params->qp_state; in efa_com_modify_qp()
119 result->qp_state = resp.qp_state; in efa_com_query_qp()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_recv.c44 if (unlikely(qp_state(qp) < IB_QPS_RTR)) { in check_type_state()
49 if (unlikely(qp_state(qp) < IB_QPS_RTS)) { in check_type_state()
H A Drxe_loc.h130 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() function
132 return qp->attr.qp_state; in qp_state()
H A Drxe_req.c124 if (qp_state(qp) == IB_QPS_SQD) { in req_check_sq_drain_done()
186 if (unlikely((qp_state(qp) == IB_QPS_SQD) && in req_next_wqe()
662 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in rxe_requester()
673 if (unlikely(qp_state(qp) == IB_QPS_RESET)) { in rxe_requester()
H A Drxe_net.c437 if ((is_request && (qp_state(qp) < IB_QPS_RTS)) || in rxe_xmit_packet()
438 (!is_request && (qp_state(qp) < IB_QPS_RTR))) { in rxe_xmit_packet()
H A Drxe_resp.c1169 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in do_complete()
1515 if (!qp->valid || qp_state(qp) == IB_QPS_ERR || in rxe_receiver()
1516 qp_state(qp) == IB_QPS_RESET) { in rxe_receiver()
1517 bool notify = qp->valid && (qp_state(qp) == IB_QPS_ERR); in rxe_receiver()
/linux/net/smc/
H A Dsmc_ib.c52 qp_attr.qp_state = IB_QPS_INIT; in smc_ib_modify_qp_init()
71 qp_attr.qp_state = IB_QPS_RTR; in smc_ib_modify_qp_rtr()
100 qp_attr.qp_state = IB_QPS_RTS; in smc_ib_modify_qp_rts()
119 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/linux/include/uapi/rdma/
H A Drdma_user_cm.h253 __u32 qp_state; member
H A Dib_user_verbs.h566 __u32 qp_state; member
720 __u8 qp_state; member
751 __u8 qp_state; member
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c1689 nxt_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : in erdma_check_qp_attrs()
1726 nxt_state = ib_to_rocev2_qps(attr->qp_state); in erdma_init_mod_qp_params_rocev2()
1779 params.iwarp.state = ib_to_iwarp_qps(attr->qp_state); in erdma_modify_qp()
1854 qp_attr->qp_state = rocev2_to_ib_qps(FIELD_GET( in erdma_query_qp()
1856 qp_attr->cur_qp_state = qp_attr->qp_state; in erdma_query_qp()
1867 qp_attr->qp_state = query_qp_state(qp); in erdma_query_qp()
1868 qp_attr->cur_qp_state = qp_attr->qp_state; in erdma_query_qp()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c402 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp()
568 status = usnic_ib_qp_grp_modify(qp_grp, attr->qp_state, NULL); in usnic_ib_modify_qp()
/linux/include/linux/mlx4/
H A Dqp.h488 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
/linux/drivers/infiniband/hw/hfi1/
H A Dopfn.c265 attr->qp_state == IB_QPS_RTS) { in opfn_qp_init()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c921 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
945 *qp_state = states[i + 1]; in mlx4_qp_to_ready()

12