Lines Matching refs:qp_attr
2175 struct ib_qp_attr qp_attr;
2178 qp_attr.qp_state = IB_QPS_INIT;
2179 ret = rdma_init_qp_attr(&chanp->chan_rdma_cm, &qp_attr, &qp_attr_mask);
2183 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask);
2187 qp_attr.qp_state = IB_QPS_RTR;
2188 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE);
2192 qp_attr.qp_state = IB_QPS_RTS;
2193 qp_attr.sq_psn = 0;
2194 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN);
2202 struct ib_qp_attr qp_attr;
2205 qp_attr.qp_state = IB_QPS_INIT;
2206 ret = rdma_init_qp_attr(&chanp->chan_rdma_cm, &qp_attr, &qp_attr_mask);
2210 return (ib_modify_qp(qp, &qp_attr, qp_attr_mask));