/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
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()
|
D | ipoib_ib.c | 362 __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()
|
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-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 386 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init() 562 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error() 591 attr->cur_qp_state : qp->attr.qp_state; in __qp_chk_state() 593 attr->qp_state : cur_state; in __qp_chk_state() 623 qp->attr.cur_qp_state = attr->qp_state; in rxe_qp_from_attr() 631 qp->attr.qp_state = attr->qp_state; in rxe_qp_from_attr() 633 qps2str[attr->qp_state]); in rxe_qp_from_attr() 640 switch (attr->qp_state) { in rxe_qp_from_attr()
|
D | rxe_comp.c | 488 if (unlikely(qp_state(qp) == IB_QPS_SQD)) { in comp_check_sq_drain_done() 639 if (qp_state(qp) >= IB_QPS_RTS && in reset_retry_timer() 658 if (!qp->valid || qp_state(qp) == IB_QPS_ERR || in rxe_completer() 659 qp_state(qp) == IB_QPS_RESET) { in rxe_completer() 660 bool notify = qp->valid && (qp_state(qp) == IB_QPS_ERR); in rxe_completer()
|
D | rxe_loc.h | 126 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() function 128 return qp->attr.qp_state; in qp_state()
|
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()
|
D | rxe_req.c | 125 if (qp_state(qp) == IB_QPS_SQD) { in req_check_sq_drain_done() 187 if (unlikely((qp_state(qp) == IB_QPS_SQD) && in req_next_wqe() 692 if (unlikely(qp_state(qp) == IB_QPS_ERR)) { in rxe_requester() 701 if (unlikely(qp_state(qp) == IB_QPS_RESET)) { in rxe_requester()
|
D | rxe_net.c | 424 if ((is_request && (qp_state(qp) < IB_QPS_RTS)) || in rxe_xmit_packet() 425 (!is_request && (qp_state(qp) < IB_QPS_RTR))) { in rxe_xmit_packet()
|
D | rxe_verbs.c | 907 if (qp_state(qp) == IB_QPS_ERR) in rxe_post_send_kernel() 929 if (unlikely(qp_state(qp) < IB_QPS_RTS)) { in rxe_post_send() 1020 if (unlikely((qp_state(qp) < IB_QPS_INIT))) { in rxe_post_recv() 1048 if (qp_state(qp) == IB_QPS_ERR) in rxe_post_recv()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mem.c | 253 qp_attr.qp_state = IB_QPS_INIT; in mlx5_ib_test_wc() 260 qp_attr.qp_state = IB_QPS_RTR; in mlx5_ib_test_wc() 265 qp_attr.qp_state = IB_QPS_RTS; in mlx5_ib_test_wc()
|
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()
|
D | umr.c | 106 attr.qp_state = IB_QPS_INIT; in mlx5r_umr_qp_rst2rts() 116 attr.qp_state = IB_QPS_RTR; in mlx5r_umr_qp_rst2rts() 125 attr.qp_state = IB_QPS_RTS; in mlx5r_umr_qp_rst2rts() 208 attr.qp_state = IB_QPS_RESET; in mlx5r_umr_recover()
|
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/ |
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()
|
/linux-6.6.21/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.h | 45 u32 qp_state; member 58 u32 qp_state; member
|
D | efa_admin_cmds_defs.h | 215 u32 qp_state; member 254 u32 qp_state; member
|
D | efa_com_cmd.c | 68 cmd.qp_state = params->qp_state; in efa_com_modify_qp() 115 result->qp_state = resp.qp_state; in efa_com_query_qp()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | uverbs_marshall.c | 100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
|
D | iwcm.c | 277 qp_attr.qp_state = IB_QPS_ERR; in iwcm_modify_qp_err() 290 qp_attr.qp_state = IB_QPS_SQD; in iwcm_modify_qp_sqd() 1165 switch (qp_attr->qp_state) { in iw_cm_init_qp_attr()
|
/linux-6.6.21/net/smc/ |
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-6.6.21/include/uapi/rdma/ |
D | rdma_user_cm.h | 253 __u32 qp_state; member
|
D | ib_user_verbs.h | 550 __u32 qp_state; member 704 __u8 qp_state; member 735 __u8 qp_state; member
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1375 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps); in _ocrdma_modify_qp() 1405 new_qps = attr->qp_state; in ocrdma_modify_qp() 1460 u32 qp_state; in ocrdma_query_qp() local 1526 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >> in ocrdma_query_qp() 1528 qp_attr->qp_state = get_ibqp_state(qp_state); in ocrdma_query_qp() 1529 qp_attr->cur_qp_state = qp_attr->qp_state; in ocrdma_query_qp() 1530 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0; in ocrdma_query_qp() 1538 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()
|
/linux-6.6.21/drivers/infiniband/hw/usnic/ |
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-6.6.21/include/linux/mlx4/ |
D | qp.h | 488 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
|