Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/sw/rxe/
H A Drxe_qp.c434 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
607 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
634 attr->cur_qp_state : qp->attr.qp_state; in __qp_chk_state()
636 attr->qp_state : cur_state; in __qp_chk_state()
666 qp->attr.cur_qp_state = attr->qp_state; in rxe_qp_from_attr()
674 qp->attr.qp_state = attr->qp_state; in rxe_qp_from_attr()
676 qps2str[attr->qp_state]); in rxe_qp_from_attr()
683 switch (attr->qp_state) { in rxe_qp_from_attr()
827 attr->cur_qp_state = qp_state(qp); in rxe_qp_to_attr()
H A Drxe_comp.c479 if (unlikely(qp_state(qp) == IB_QPS_SQD)) { in comp_check_sq_drain_done()
630 if (qp_state(qp) >= IB_QPS_RTS && in reset_retry_timer()
651 if (!qp->valid || qp_state(qp) == IB_QPS_ERR || in rxe_completer()
652 qp_state(qp) == IB_QPS_RESET) { in rxe_completer()
653 bool notify = qp->valid && (qp_state(qp) == IB_QPS_ERR); in rxe_completer()
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_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.c502 if ((is_request && (qp_state(qp) < IB_QPS_RTS)) || in rxe_xmit_packet()
503 (!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/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()
/linux/drivers/infiniband/ulp/ipoib/
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/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/drivers/infiniband/core/
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()
H A Dverbs.c1856 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp()
2412 if (attr.qp_state >= IB_QPS_INIT) { in is_valid_mcast_lid()
2838 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_sq()
2877 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_rq()
2936 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in __ib_drain_srq()
H A Dcma.c1085 qp_attr.qp_state = IB_QPS_INIT; in cma_init_ud_qp()
1094 qp_attr.qp_state = IB_QPS_RTR; in cma_init_ud_qp()
1099 qp_attr.qp_state = IB_QPS_RTS; in cma_init_ud_qp()
1111 qp_attr.qp_state = IB_QPS_INIT; in cma_init_conn_qp()
1185 qp_attr.qp_state = IB_QPS_INIT; in cma_modify_qp_rtr()
1194 qp_attr.qp_state = IB_QPS_RTR; in cma_modify_qp_rtr()
1221 qp_attr.qp_state = IB_QPS_RTS; in cma_modify_qp_rts()
1245 qp_attr.qp_state = IB_QPS_ERR; in cma_modify_qp_err()
1300 if (qp_attr->qp_state == IB_QPS_RTR) in rdma_init_qp_attr()
H A Ducma.c1296 if (cmd.qp_state > IB_QPS_ERR) in ucma_init_qp_attr()
1305 qp_attr.qp_state = cmd.qp_state; in ucma_init_qp_attr()
H A Dsecurity.c157 .qp_state = IB_QPS_ERR in qp_to_error()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h566 __u32 qp_state; member
720 __u8 qp_state; member
751 __u8 qp_state; member
H A Drdma_user_cm.h262 __u32 qp_state; member
/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/infiniband/hw/irdma/
H A Dverbs.c1184 attr->qp_state = iwqp->ibqp_state; in irdma_query_qp()
1469 __builtin_return_address(0), ibqp->qp_num, attr->qp_state, in irdma_modify_qp_roce()
1474 if (!ib_modify_qp_is_ok(iwqp->ibqp_state, attr->qp_state, in irdma_modify_qp_roce()
1478 attr->qp_state); in irdma_modify_qp_roce()
1484 switch (attr->qp_state) { in irdma_modify_qp_roce()
1565 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1586 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1599 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1673 __builtin_return_address(0), ibqp->qp_num, attr->qp_state, in irdma_modify_qp()
1680 switch (attr->qp_state) { in irdma_modify_qp()
[all …]
/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()
/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c4535 new_state = attr->qp_state; in mlx5_ib_modify_dct()
4741 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
4898 struct mlx5_ib_qp *qp, u8 *qp_state) in sqrq_state_to_qp_state() argument
4927 *qp_state = sqrq_trans[rq_state][sq_state]; in sqrq_state_to_qp_state()
4929 if (*qp_state == MLX5_QP_STATE_BAD) { in sqrq_state_to_qp_state()
4936 if (*qp_state == MLX5_QP_STATE) in sqrq_state_to_qp_state()
4937 *qp_state = qp->state; in sqrq_state_to_qp_state()
5067 qp_attr->qp_state = IB_QPS_RTR; in mlx5_ib_dct_query_qp()
5136 qp_attr->qp_state = qp->state; in mlx5_ib_query_qp()
5137 qp_attr->cur_qp_state = qp_attr->qp_state; in mlx5_ib_query_qp()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c444 qp_attr->qp_state = IB_QPS_RESET; in mthca_query_qp()
465 qp_attr->qp_state = qp->state; in mthca_query_qp()
504 qp_attr->cur_qp_state = qp_attr->qp_state; in mthca_query_qp()
880 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mthca_modify_qp()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c377 qp_attr->qp_state = result.qp_state; in efa_query_qp()
1014 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
1029 params.qp_state = new_state; in efa_modify_qp()
/linux/include/linux/
H A Dhisi_acc_qm.h123 enum qp_state { enum
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c72 attr.qp_state = IB_QPS_ERR; in flush_work_handle()
1431 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp()

12