qp_context->srqn = cl_hton32(1 << 24 |
to_msrq(ibqp->srq)->srqn);
- if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD &&
+ if (cur_state == IBQPS_RTS && new_state == IBQPS_SQD &&
attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY &&
attr->en_sqd_async_notify)
sqd_event = (u32)(1 << 31);
* If we moved a kernel QP to RESET, clean up all old CQ
* entries and reinitialize the QP.
*/
- if (new_state == IB_QPS_RESET && !qp->ibqp.ucontext) {
+ if (new_state == IBQPS_RESET && !qp->ibqp.ucontext) {
mthca_cq_clean(dev, to_mcq(qp->ibqp.send_cq)->cqn, qp->qpn,
qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL);
if (qp->ibqp.send_cq != qp->ibqp.recv_cq)