/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 99 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 D | ipoib_ib.c | 363 __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 D | ipoib_cm.c | 71 .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 D | gsi.c | 228 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 D | umr.c | 108 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 D | pvrdma_qp.c | 543 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 D | pvrdma_verbs.h | 300 enum pvrdma_qp_state qp_state; member
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
|
H A D | iwcm.c | 278 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 D | efa_com_cmd.h | 47 u32 qp_state; member 60 u32 qp_state; member
|
H A D | efa_admin_cmds_defs.h | 209 * 0 : qp_state 223 u32 qp_state; member 262 u32 qp_state; member
|
H A D | efa_com_cmd.c | 72 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 D | rxe_recv.c | 44 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 D | rxe_loc.h | 130 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 D | rxe_req.c | 124 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 D | rxe_net.c | 437 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 D | rxe_resp.c | 1169 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 D | smc_ib.c | 52 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 D | rdma_user_cm.h | 253 __u32 qp_state; member
|
H A D | ib_user_verbs.h | 566 __u32 qp_state; member 720 __u8 qp_state; member 751 __u8 qp_state; member
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.c | 1689 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 D | usnic_ib_verbs.c | 402 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 D | qp.h | 488 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | opfn.c | 265 attr->qp_state == IB_QPS_RTS) { in opfn_qp_init()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 921 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()
|