Searched refs:mthca_state (Results 1 – 1 of 1) sorted by relevance
358 static inline enum ib_qp_state to_ib_qp_state(int mthca_state) in to_ib_qp_state() argument360 switch (mthca_state) { in to_ib_qp_state()439 int mthca_state; in mthca_query_qp() local462 mthca_state = be32_to_cpu(context->flags) >> 28; in mthca_query_qp()464 qp->state = to_ib_qp_state(mthca_state); in mthca_query_qp()490 qp_attr->sq_draining = mthca_state == MTHCA_QP_STATE_DRAINING; in mthca_query_qp()