Lines Matching refs:pri_path
131 struct mthca_qp_path pri_path; member
477 to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in mthca_query_qp()
485 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp()
487 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; in mthca_query_qp()
498 qp_attr->timeout = context->pri_path.ackto >> 3; in mthca_query_qp()
500 qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; in mthca_query_qp()
636 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()
640 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()
647 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()
653 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp()
660 if (mthca_path_set(dev, &attr->ah_attr, &qp_context->pri_path, in __mthca_modify_qp()
681 qp_context->pri_path.ackto = attr->timeout << 3; in __mthca_modify_qp()