Home
last modified time | relevance | path

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

123

/linux/drivers/infiniband/ulp/ipoib/
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()
A 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()
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/sw/rxe/
A Drxe_qp.c355 qp->attr.qp_state = IB_QPS_RESET; in rxe_qp_from_init()
411 attr->cur_qp_state : qp->attr.qp_state; in rxe_qp_chk_attr()
413 attr->qp_state : cur_state; in rxe_qp_chk_attr()
569 qp->attr.qp_state = IB_QPS_ERR; in rxe_qp_error()
609 qp->attr.cur_qp_state = attr->qp_state; in rxe_qp_from_attr()
694 qp->attr.qp_state = attr->qp_state; in rxe_qp_from_attr()
696 switch (attr->qp_state) { in rxe_qp_from_attr()
A Drxe_loc.h146 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() function
148 return qp->attr.qp_state; in qp_state()
/linux/drivers/infiniband/hw/mlx5/
A Dmem.c254 qp_attr.qp_state = IB_QPS_INIT; in mlx5_ib_test_wc()
261 qp_attr.qp_state = IB_QPS_RTR; in mlx5_ib_test_wc()
266 qp_attr.qp_state = IB_QPS_RTS; in mlx5_ib_test_wc()
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()
/linux/drivers/infiniband/hw/vmw_pvrdma/
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()
988 attr->qp_state = IB_QPS_RESET; in pvrdma_query_qp()
1004 attr->qp_state = pvrdma_qp_state_to_ib(resp->attrs.qp_state); in pvrdma_query_qp()
1033 qp->state = attr->qp_state; in pvrdma_query_qp()
1038 attr->cur_qp_state = attr->qp_state; in pvrdma_query_qp()
A Dpvrdma_verbs.h300 enum pvrdma_qp_state qp_state; member
/linux/drivers/infiniband/hw/efa/
A Defa_com_cmd.h45 u32 qp_state; member
58 u32 qp_state; member
A Defa_com_cmd.c68 cmd.qp_state = params->qp_state; in efa_com_modify_qp()
115 result->qp_state = resp.qp_state; in efa_com_query_qp()
A Defa_admin_cmds_defs.h214 u32 qp_state; member
253 u32 qp_state; member
/linux/drivers/infiniband/core/
A Duverbs_marshall.c100 dst->qp_state = src->qp_state; in ib_copy_qp_attr_to_user()
A Diwcm.c277 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/net/smc/
A Dsmc_ib.c50 qp_attr.qp_state = IB_QPS_INIT; in smc_ib_modify_qp_init()
69 qp_attr.qp_state = IB_QPS_RTR; in smc_ib_modify_qp_rtr()
98 qp_attr.qp_state = IB_QPS_RTS; in smc_ib_modify_qp_rts()
117 qp_attr.qp_state = IB_QPS_ERR; in smc_ib_modify_qp_error()
/linux/include/uapi/rdma/
A Dib_user_verbs.h536 __u32 qp_state; member
690 __u8 qp_state; member
721 __u8 qp_state; member
A Drdma_user_cm.h253 __u32 qp_state; member
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.c1373 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()
/linux/drivers/infiniband/hw/irdma/
A Dverbs.c1049 attr->qp_state = iwqp->ibqp_state; in irdma_query_qp()
1276 __builtin_return_address(0), ibqp->qp_num, attr->qp_state, in irdma_modify_qp_roce()
1281 if (!ib_modify_qp_is_ok(iwqp->ibqp_state, attr->qp_state, in irdma_modify_qp_roce()
1285 attr->qp_state); in irdma_modify_qp_roce()
1291 switch (attr->qp_state) { in irdma_modify_qp_roce()
1378 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1394 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1407 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp_roce()
1479 switch (attr->qp_state) { in irdma_modify_qp()
1582 iwqp->ibqp_state = attr->qp_state; in irdma_modify_qp()
[all …]
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_verbs.c402 qp_attr->qp_state = qp_grp->state; in usnic_ib_query_qp()
570 status = usnic_ib_qp_grp_modify(qp_grp, attr->qp_state, NULL); in usnic_ib_modify_qp()
/linux/include/linux/mlx4/
A Dqp.h487 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state);
/linux/drivers/infiniband/hw/hfi1/
A Dopfn.c265 attr->qp_state == IB_QPS_RTS) { in opfn_qp_init()
/linux/drivers/infiniband/hw/qedr/
A Dverbs.c2308 static enum ib_qp_state qedr_get_ibqp_state(enum qed_roce_qp_state qp_state) in qedr_get_ibqp_state() argument
2310 switch (qp_state) { in qedr_get_ibqp_state()
2330 enum ib_qp_state qp_state) in qedr_get_state_from_ibqp() argument
2332 switch (qp_state) { in qedr_get_state_from_ibqp()
2466 attr->qp_state); in qedr_modify_qp()
2473 new_qp_state = attr->qp_state; in qedr_modify_qp()
2494 qp_params.new_state = qedr_get_state_from_ibqp(attr->qp_state); in qedr_modify_qp()
2744 qp_attr->qp_state = qedr_get_ibqp_state(params.state); in qedr_query_qp()
2746 qp_attr->qp_state = qedr_get_ibqp_state(QED_ROCE_QP_STATE_RTS); in qedr_query_qp()
2812 attr.qp_state = IB_QPS_ERR; in qedr_destroy_qp()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dqp.c916 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready() argument
940 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
/linux/drivers/crypto/hisilicon/
A Dqm.h105 enum qp_state { enum

Completed in 73 milliseconds

123