Home
last modified time | relevance | path

Searched refs:mthca_state (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c358 static inline enum ib_qp_state to_ib_qp_state(int mthca_state) in to_ib_qp_state() argument
360 switch (mthca_state) { in to_ib_qp_state()
439 int mthca_state; in mthca_query_qp() local
462 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()