Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/core/
Dcm.c1284 struct sa_path_rec *alt_path = param->alternate_path; in cm_format_req() local
1345 if (alt_path) { in cm_format_req()
1348 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1349 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req()
1350 alt_path->opa.slid); in cm_format_req()
1352 req_msg->alt_local_gid = alt_path->sgid; in cm_format_req()
1353 req_msg->alt_remote_gid = alt_path->dgid; in cm_format_req()
1356 = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req()
1358 = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req()
1360 if (alt_path->hop_limit <= 1) { in cm_format_req()
[all …]
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_qp.c131 struct mthca_qp_path alt_path; member
477 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); in mthca_query_qp()
479 be32_to_cpu(context->alt_path.port_pkey) & 0x7f; in mthca_query_qp()
500 qp_attr->alt_timeout = context->alt_path.ackto >> 3; in mthca_query_qp()
649 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp()
694 if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, in __mthca_modify_qp()
698 qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | in __mthca_modify_qp()
700 qp_context->alt_path.ackto = attr->alt_timeout << 3; in __mthca_modify_qp()
/Linux-v4.19/include/linux/mlx4/
Dqp.h203 struct mlx4_qp_path alt_path; member
/Linux-v4.19/include/linux/mlx5/
Dqp.h516 struct mlx5_qp_path alt_path; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c724 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()
726 qp_ctx->alt_path.mgid_index += in update_gid()
728 qp_ctx->alt_path.mgid_index &= 0x7f; in update_gid()
730 qp_ctx->alt_path.mgid_index = slave & 0x7F; in update_gid()
3216 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3221 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters()
3779 dev, slave, (qpc->alt_path.sched_queue >> 6 & 1) in adjust_qp_sched_queue()
3783 qpc->alt_path.sched_queue = in adjust_qp_sched_queue()
3784 (qpc->alt_path.sched_queue & ~(1 << 6)) | in adjust_qp_sched_queue()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c2277 &context->alt_path, in __mlx4_ib_modify_qp()
2281 context->alt_path.pkey_index = attr->alt_pkey_index; in __mlx4_ib_modify_qp()
2282 context->alt_path.ackto = attr->alt_timeout << 3; in __mlx4_ib_modify_qp()
3977 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp()
3978 qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; in mlx4_ib_query_qp()
4001 qp_attr->alt_timeout = context.alt_path.ackto >> 3; in mlx4_ib_query_qp()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dqp.c3057 &context->alt_path, in __mlx5_ib_modify_qp()
4996 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); in query_qp_attr()
4998 be16_to_cpu(context->alt_path.pkey_index); in query_qp_attr()
5018 qp_attr->alt_timeout = context->alt_path.ackto_lt >> 3; in query_qp_attr()