Searched refs:alt_path (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/core/ |
D | cm.c | 1006 struct ib_sa_path_rec *alt_path = param->alternate_path; in cm_format_req() local 1054 if (alt_path) { in cm_format_req() 1055 if (alt_path->hop_limit <= 1) { in cm_format_req() 1056 req_msg->alt_local_lid = alt_path->slid; in cm_format_req() 1057 req_msg->alt_remote_lid = alt_path->dlid; in cm_format_req() 1062 req_msg->alt_local_gid = alt_path->sgid; in cm_format_req() 1063 req_msg->alt_remote_gid = alt_path->dgid; in cm_format_req() 1065 alt_path->flow_label); in cm_format_req() 1066 cm_req_set_alt_packet_rate(req_msg, alt_path->rate); in cm_format_req() 1067 req_msg->alt_traffic_class = alt_path->traffic_class; in cm_format_req() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 131 struct mthca_qp_path alt_path; member 472 to_ib_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); in mthca_query_qp() 474 be32_to_cpu(context->alt_path.port_pkey) & 0x7f; in mthca_query_qp() 494 qp_attr->alt_timeout = context->alt_path.ackto >> 3; in mthca_query_qp() 637 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp() 682 if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, in __mthca_modify_qp() 686 qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | in __mthca_modify_qp() 688 qp_context->alt_path.ackto = attr->alt_timeout << 3; in __mthca_modify_qp()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1355 if (mlx4_set_path(dev, &attr->alt_ah_attr, &context->alt_path, in __mlx4_ib_modify_qp() 1359 context->alt_path.pkey_index = attr->alt_pkey_index; in __mlx4_ib_modify_qp() 1360 context->alt_path.ackto = attr->alt_timeout << 3; in __mlx4_ib_modify_qp() 2712 to_ib_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp() 2713 qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; in mlx4_ib_query_qp() 2735 qp_attr->alt_timeout = context.alt_path.ackto >> 3; in mlx4_ib_query_qp()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 352 qp_ctx->alt_path.mgid_index = slave & 0x7F; in update_gid() 2317 if (qp_ctx->alt_path.mgid_index) in verify_qp_parameters()
|