Searched refs:alt_path (Results 1 – 4 of 4) sorted by relevance
1344 struct sa_path_rec *alt_path = param->alternate_path; in cm_format_req() local1431 if (alt_path) { in cm_format_req()1434 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()1435 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req()1436 alt_path->opa.slid); in cm_format_req()1439 alt_path->sgid; in cm_format_req()1441 alt_path->dgid; in cm_format_req()1446 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req()1450 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req()1452 if (alt_path->hop_limit <= 1) { in cm_format_req()[all …]
132 struct mthca_qp_path alt_path; member478 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); in mthca_query_qp()480 be32_to_cpu(context->alt_path.port_pkey) & 0x7f; in mthca_query_qp()501 qp_attr->alt_timeout = context->alt_path.ackto >> 3; in mthca_query_qp()653 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp()698 if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, in __mthca_modify_qp()702 qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | in __mthca_modify_qp()704 qp_context->alt_path.ackto = attr->alt_timeout << 3; in __mthca_modify_qp()
203 struct mlx4_qp_path alt_path; member
728 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()730 qp_ctx->alt_path.mgid_index += in update_gid()732 qp_ctx->alt_path.mgid_index &= 0x7f; in update_gid()734 qp_ctx->alt_path.mgid_index = slave & 0x7F; in update_gid()3220 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()3225 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters()3783 dev, slave, (qpc->alt_path.sched_queue >> 6 & 1) in adjust_qp_sched_queue()3787 qpc->alt_path.sched_queue = in adjust_qp_sched_queue()3788 (qpc->alt_path.sched_queue & ~(1 << 6)) | in adjust_qp_sched_queue()