alt_path 1277 drivers/infiniband/core/cm.c struct sa_path_rec *alt_path = param->alternate_path; alt_path 1338 drivers/infiniband/core/cm.c if (alt_path) { alt_path 1341 drivers/infiniband/core/cm.c if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) alt_path 1342 drivers/infiniband/core/cm.c alt_ext = opa_is_extended_lid(alt_path->opa.dlid, alt_path 1343 drivers/infiniband/core/cm.c alt_path->opa.slid); alt_path 1345 drivers/infiniband/core/cm.c req_msg->alt_local_gid = alt_path->sgid; alt_path 1346 drivers/infiniband/core/cm.c req_msg->alt_remote_gid = alt_path->dgid; alt_path 1349 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); alt_path 1351 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); alt_path 1353 drivers/infiniband/core/cm.c if (alt_path->hop_limit <= 1) { alt_path 1355 drivers/infiniband/core/cm.c htons(ntohl(sa_path_get_slid(alt_path))); alt_path 1357 drivers/infiniband/core/cm.c htons(ntohl(sa_path_get_dlid(alt_path))); alt_path 1363 drivers/infiniband/core/cm.c alt_path->flow_label); alt_path 1364 drivers/infiniband/core/cm.c cm_req_set_alt_packet_rate(req_msg, alt_path->rate); alt_path 1365 drivers/infiniband/core/cm.c req_msg->alt_traffic_class = alt_path->traffic_class; alt_path 1366 drivers/infiniband/core/cm.c req_msg->alt_hop_limit = alt_path->hop_limit; alt_path 1367 drivers/infiniband/core/cm.c cm_req_set_alt_sl(req_msg, alt_path->sl); alt_path 1368 drivers/infiniband/core/cm.c cm_req_set_alt_subnet_local(req_msg, (alt_path->hop_limit <= 1)); alt_path 1371 drivers/infiniband/core/cm.c alt_path->packet_life_time)); alt_path 1549 drivers/infiniband/core/cm.c struct sa_path_rec *alt_path) alt_path 1569 drivers/infiniband/core/cm.c if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { alt_path 1570 drivers/infiniband/core/cm.c sa_path_set_dlid(alt_path, ntohs(req_msg->alt_local_lid)); alt_path 1571 drivers/infiniband/core/cm.c sa_path_set_slid(alt_path, ntohs(req_msg->alt_remote_lid)); alt_path 1574 drivers/infiniband/core/cm.c sa_path_set_dlid(alt_path, lid); alt_path 1577 drivers/infiniband/core/cm.c sa_path_set_slid(alt_path, lid); alt_path 1583 drivers/infiniband/core/cm.c struct sa_path_rec *alt_path) alt_path 1606 drivers/infiniband/core/cm.c alt_path->dgid = req_msg->alt_local_gid; alt_path 1607 drivers/infiniband/core/cm.c alt_path->sgid = req_msg->alt_remote_gid; alt_path 1608 drivers/infiniband/core/cm.c alt_path->flow_label = cm_req_get_alt_flow_label(req_msg); alt_path 1609 drivers/infiniband/core/cm.c alt_path->hop_limit = req_msg->alt_hop_limit; alt_path 1610 drivers/infiniband/core/cm.c alt_path->traffic_class = req_msg->alt_traffic_class; alt_path 1611 drivers/infiniband/core/cm.c alt_path->reversible = 1; alt_path 1612 drivers/infiniband/core/cm.c alt_path->pkey = req_msg->pkey; alt_path 1613 drivers/infiniband/core/cm.c alt_path->sl = cm_req_get_alt_sl(req_msg); alt_path 1614 drivers/infiniband/core/cm.c alt_path->mtu_selector = IB_SA_EQ; alt_path 1615 drivers/infiniband/core/cm.c alt_path->mtu = cm_req_get_path_mtu(req_msg); alt_path 1616 drivers/infiniband/core/cm.c alt_path->rate_selector = IB_SA_EQ; alt_path 1617 drivers/infiniband/core/cm.c alt_path->rate = cm_req_get_alt_packet_rate(req_msg); alt_path 1618 drivers/infiniband/core/cm.c alt_path->packet_life_time_selector = IB_SA_EQ; alt_path 1619 drivers/infiniband/core/cm.c alt_path->packet_life_time = alt_path 1621 drivers/infiniband/core/cm.c alt_path->packet_life_time -= (alt_path->packet_life_time > 0); alt_path 1622 drivers/infiniband/core/cm.c alt_path->service_id = req_msg->service_id; alt_path 1624 drivers/infiniband/core/cm.c if (sa_path_is_roce(alt_path)) alt_path 1625 drivers/infiniband/core/cm.c alt_path->roce.route_resolved = false; alt_path 1627 drivers/infiniband/core/cm.c cm_format_path_lid_from_req(req_msg, primary_path, alt_path); alt_path 3996 drivers/infiniband/core/cm.c bool alt_path = false; alt_path 4003 drivers/infiniband/core/cm.c alt_path = cm_req_has_alt_path((struct cm_req_msg *) alt_path 4005 drivers/infiniband/core/cm.c paths = 1 + (alt_path != 0); alt_path 2366 drivers/infiniband/hw/mlx4/qp.c &context->alt_path, alt_path 2370 drivers/infiniband/hw/mlx4/qp.c context->alt_path.pkey_index = attr->alt_pkey_index; alt_path 2371 drivers/infiniband/hw/mlx4/qp.c context->alt_path.ackto = attr->alt_timeout << 3; alt_path 4063 drivers/infiniband/hw/mlx4/qp.c to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); alt_path 4064 drivers/infiniband/hw/mlx4/qp.c qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; alt_path 4087 drivers/infiniband/hw/mlx4/qp.c qp_attr->alt_timeout = context.alt_path.ackto >> 3; alt_path 3555 drivers/infiniband/hw/mlx5/qp.c &context->alt_path, alt_path 5663 drivers/infiniband/hw/mlx5/qp.c to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); alt_path 5665 drivers/infiniband/hw/mlx5/qp.c be16_to_cpu(context->alt_path.pkey_index); alt_path 5685 drivers/infiniband/hw/mlx5/qp.c qp_attr->alt_timeout = context->alt_path.ackto_lt >> 3; alt_path 132 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_qp_path alt_path; alt_path 478 drivers/infiniband/hw/mthca/mthca_qp.c to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); alt_path 480 drivers/infiniband/hw/mthca/mthca_qp.c be32_to_cpu(context->alt_path.port_pkey) & 0x7f; alt_path 501 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->alt_timeout = context->alt_path.ackto >> 3; alt_path 653 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = alt_path 698 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, alt_path 702 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | alt_path 704 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.ackto = attr->alt_timeout << 3; alt_path 734 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; alt_path 736 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index += alt_path 738 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index &= 0x7f; alt_path 740 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->alt_path.mgid_index = slave & 0x7F; alt_path 3226 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; alt_path 3231 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qp_ctx->alt_path.mgid_index >= num_gids) alt_path 3789 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev, slave, (qpc->alt_path.sched_queue >> 6 & 1) alt_path 3793 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->alt_path.sched_queue = alt_path 3794 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (qpc->alt_path.sched_queue & ~(1 << 6)) | alt_path 607 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c char alt_path[BRCMF_FW_NAME_LEN]; alt_path 609 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c strlcpy(alt_path, cur->path, BRCMF_FW_NAME_LEN); alt_path 611 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c alt_path[strlen(alt_path) - 4] = 0; alt_path 612 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c strlcat(alt_path, ".", BRCMF_FW_NAME_LEN); alt_path 613 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c strlcat(alt_path, fwctx->req->board_type, BRCMF_FW_NAME_LEN); alt_path 614 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c strlcat(alt_path, ".txt", BRCMF_FW_NAME_LEN); alt_path 616 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c ret = request_firmware(fw, alt_path, fwctx->dev); alt_path 203 include/linux/mlx4/qp.h struct mlx4_qp_path alt_path; alt_path 525 include/linux/mlx5/qp.h struct mlx5_qp_path alt_path;