Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
749 if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET) in check_qp_movement_and_print()
753 new_state, qp_attr.qp_state); in check_qp_movement_and_print()
789 qp_attr.qp_state = IB_QPS_ERR; in ipoib_ib_dev_stop_default()
839 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()
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()
1131 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c344 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
399 attr->cur_qp_state : qp->attr.qp_state; in rxe_qp_chk_attr()
401 attr->qp_state : cur_state; in rxe_qp_chk_attr()
557 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
597 qp->attr.cur_qp_state = attr->qp_state; in rxe_qp_from_attr()
682 qp->attr.qp_state = attr->qp_state; in rxe_qp_from_attr()
684 switch (attr->qp_state) { in rxe_qp_from_attr()
Drxe_loc.h157 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() function
159 return qp->attr.qp_state; in qp_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmem.c350 qp_attr.qp_state = IB_QPS_INIT; in mlx5_ib_test_wc()
357 qp_attr.qp_state = IB_QPS_RTR; in mlx5_ib_test_wc()
362 qp_attr.qp_state = IB_QPS_RTS; in mlx5_ib_test_wc()
Dgsi.c250 attr.qp_state = IB_QPS_INIT; in modify_to_rts()
261 attr.qp_state = IB_QPS_RTR; in modify_to_rts()
269 attr.qp_state = IB_QPS_RTS; in modify_to_rts()
361 mlx5_ib_dbg(dev, "modifying GSI QP to state %d\n", attr->qp_state); in mlx5_ib_gsi_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c551 next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; in pvrdma_modify_qp()
594 cmd->attrs.qp_state = ib_qp_state_to_pvrdma(attr->qp_state); in pvrdma_modify_qp()
996 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
1012 attr->qp_state = pvrdma_qp_state_to_ib(resp->attrs.qp_state); in pvrdma_query_qp()
1041 qp->state = attr->qp_state; in pvrdma_query_qp()
1046 attr->cur_qp_state = attr->qp_state; in pvrdma_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_com_cmd.h45 u32 qp_state; member
58 u32 qp_state; member
Defa_admin_cmds_defs.h211 u32 qp_state; member
250 u32 qp_state; member
Defa_com_cmd.c74 cmd.qp_state = params->qp_state; in efa_com_modify_qp()
121 result->qp_state = resp.qp_state; in efa_com_query_qp()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c48 qp_attr.qp_state = IB_QPS_INIT; in smc_ib_modify_qp_init()
66 qp_attr.qp_state = IB_QPS_RTR; in smc_ib_modify_qp_rtr()
89 qp_attr.qp_state = IB_QPS_RTS; in smc_ib_modify_qp_rts()
108 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
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()
1166 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h253 __u32 qp_state; member
Dib_user_verbs.h536 __u32 qp_state; member
704 __u8 qp_state; member
735 __u8 qp_state; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h205 __u32 qp_state; member
Dib_user_verbs.h432 __u32 qp_state; member
573 __u8 qp_state; member
603 __u8 qp_state; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_cm.h181 __u32 qp_state; member
Dib_user_verbs.h404 __u32 qp_state; member
547 __u8 qp_state; member
577 __u8 qp_state; member
Dib_user_cm.h65 __u32 qp_state; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1376 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp()
1403 new_qps = attr->qp_state; in ocrdma_modify_qp()
1458 u32 qp_state; in ocrdma_query_qp() local
1524 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp()
1526 qp_attr->qp_state = get_ibqp_state(qp_state); in ocrdma_query_qp()
1527 qp_attr->cur_qp_state = qp_attr->qp_state; in ocrdma_query_qp()
1528 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp()
1536 ocrdma_qp_state_change(qp, qp_attr->qp_state, NULL); in ocrdma_query_qp()
1685 attrs.qp_state = IB_QPS_ERR; in ocrdma_destroy_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c402 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp()
572 status = usnic_ib_qp_grp_modify(qp_grp, attr->qp_state, NULL); in usnic_ib_modify_qp()
/kernel/linux/linux-5.10/include/linux/mlx4/
Dqp.h487 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dopfn.c265 attr->qp_state == IB_QPS_RTS) { in opfn_qp_init()

123