Searched refs:qp_state (Results 1 - 25 of 37) sorted by relevance

12

/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c87 qp_attr.qp_state = IB_QPS_INIT;
102 qp_attr.qp_state = IB_QPS_RTR;
111 qp_attr.qp_state = IB_QPS_RTS;
124 qp_attr.qp_state = IB_QPS_RESET;
H A Dipoib_cm.c67 .qp_state = IB_QPS_ERR
280 qp_attr.qp_state = IB_QPS_INIT;
291 qp_attr.qp_state = IB_QPS_RTR;
312 qp_attr.qp_state = IB_QPS_RTS;
972 qp_attr.qp_state = IB_QPS_RTR;
986 qp_attr.qp_state = IB_QPS_RTS;
1098 qp_attr.qp_state = IB_QPS_INIT;
H A Dipoib_ib.c827 qp_attr.qp_state = IB_QPS_ERR;
876 qp_attr.qp_state = IB_QPS_RESET;
/drivers/infiniband/core/
H A Duverbs_marshall.c58 dst->qp_state = src->qp_state;
H A Diwcm.c252 qp_attr.qp_state = IB_QPS_ERR;
265 qp_attr.qp_state = IB_QPS_SQD;
1027 switch (qp_attr->qp_state) {
H A Dcma.c525 qp_attr.qp_state = IB_QPS_INIT;
534 qp_attr.qp_state = IB_QPS_RTR;
539 qp_attr.qp_state = IB_QPS_RTS;
551 qp_attr.qp_state = IB_QPS_INIT;
617 qp_attr.qp_state = IB_QPS_INIT;
626 qp_attr.qp_state = IB_QPS_RTR;
665 qp_attr.qp_state = IB_QPS_RTS;
689 qp_attr.qp_state = IB_QPS_ERR;
746 if (qp_attr->qp_state == IB_QPS_RTR)
H A Ducm.c615 qp_attr.qp_state = cmd.qp_state;
/drivers/infiniband/hw/amso1100/
H A Dc2_ae.c197 "resource=%x, qp_state=%s\n",
203 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state)));
205 c2_set_qp_state(qp, be32_to_cpu(wr->ae.ae_generic.qp_state));
H A Dc2_qp.c148 to_ib_state_str(attr->qp_state));
165 if (attr->qp_state < 0 || attr->qp_state > IB_QPS_ERR) {
170 wr.next_qp_state = cpu_to_be32(to_c2_state(attr->qp_state));
172 if (attr->qp_state == IB_QPS_ERR) {
183 next_state = attr->qp_state;
H A Dc2_wr.h647 u16 qp_state; member in struct:c2wr_qp_query_rep
950 u32 qp_state; /* Current QP State */ member in struct:c2wr_ce
1118 __be32 qp_state; /* current QP State */ member in struct:c2wr_ae_hdr
/drivers/infiniband/hw/ehca/
H A Dehca_qp.c95 * ib2ehca_qp_state maps IB to ehca qp_state
122 * ehca2ib_qp_state maps ehca to IB qp_state
1007 mqpcb->qp_state = EHCA_QPS_INIT;
1036 mqpcb->qp_state = EHCA_QPS_RTR;
1277 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state);
1283 mqpcb->qp_state, my_qp, ibqp->qp_num);
1294 attr->qp_state == IB_QPS_INIT) { /* RESET -> INIT */
1296 .qp_state = IB_QPS_INIT,
1325 ehca_dbg(ibqp->device, "ehca_qp=%p qp_num=%x current qp_state=%x "
1326 "new qp_state
[all...]
H A Dehca_classes_pSeries.h98 u32 qp_state; /* 09 */ member in struct:hcp_modify_qp_control_block
/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c368 qp_attr->qp_state = qp_grp->state;
557 if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT) {
559 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTR) {
561 } else if ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_RTS) {
565 attr_mask & IB_QP_STATE, attr->qp_state);
/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c606 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state)
628 *qp_state = states[i + 1];
604 mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_qp_context *context, struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) argument
H A Den_tx.c197 ring->qp_state = MLX4_QP_STATE_RST;
207 &ring->qp, &ring->qp_state);
220 mlx4_qp_modify(mdev->dev, NULL, ring->qp_state,
H A Dmlx4_en.h292 enum mlx4_qp_state qp_state; member in struct:mlx4_en_tx_ring
/drivers/infiniband/hw/ipath/
H A Dipath_qp.c463 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
626 attr->qp_state = qp->state;
627 attr->cur_qp_state = attr->qp_state;
/drivers/infiniband/hw/qib/
H A Dqib_qp.c585 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
859 attr->qp_state = qp->state;
860 attr->cur_qp_state = attr->qp_state;
/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c1317 status = ocrdma_qp_state_change(qp, attr->qp_state, &old_qps);
1346 new_qps = attr->qp_state;
1402 u32 qp_state; local
1413 qp_attr->qp_state = get_ibqp_state(IB_QPS_INIT);
1467 qp_state = (params.max_sge_recv_flags & OCRDMA_QP_PARAMS_STATE_MASK) >>
1469 qp_attr->sq_draining = (qp_state == OCRDMA_QPS_SQ_DRAINING) ? 1 : 0;
1625 attrs.qp_state = IB_QPS_ERR;
H A Docrdma_main.c565 attrs.qp_state = IB_QPS_ERR;
/drivers/infiniband/hw/mlx5/
H A Dmain.c1103 attr->qp_state = IB_QPS_INIT;
1113 attr->qp_state = IB_QPS_RTR;
1123 attr->qp_state = IB_QPS_RTS;
/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c438 qp_attr->qp_state = IB_QPS_RESET;
459 qp_attr->qp_state = qp->state;
497 qp_attr->cur_qp_state = qp_attr->qp_state;
861 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
/drivers/infiniband/hw/mlx4/
H A Dqp.c1894 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
3061 qp_attr->qp_state = IB_QPS_RESET;
3074 qp_attr->qp_state = qp->state;
3093 if (qp_attr->qp_state == IB_QPS_INIT)
3113 qp_attr->cur_qp_state = qp_attr->qp_state;
H A Dmad.c1613 attr.qp_state = IB_QPS_INIT;
1630 attr.qp_state = IB_QPS_RTR;
1637 attr.qp_state = IB_QPS_RTS;
/drivers/infiniband/hw/cxgb4/
H A Dqp.c1824 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR))
1835 attrs.next_state = c4iw_convert_state(attr->qp_state);
1878 attr->qp_state = to_ib_qp_state(qhp->attr.state);

Completed in 439 milliseconds

12