Searched refs:alt_path (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cm.c | 1340 struct sa_path_rec *alt_path = param->alternate_path; in cm_format_req() local 1419 if (alt_path) { in cm_format_req() 1422 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req() 1423 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req() 1424 alt_path->opa.slid); in cm_format_req() 1427 alt_path->sgid; in cm_format_req() 1429 alt_path->dgid; in cm_format_req() 1434 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req() 1438 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req() 1440 if (alt_path->hop_limit <= 1) { in cm_format_req() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 607 char alt_path[BRCMF_FW_NAME_LEN]; in brcmf_fw_request_firmware() local 609 strlcpy(alt_path, cur->path, BRCMF_FW_NAME_LEN); in brcmf_fw_request_firmware() 611 alt_path[strlen(alt_path) - 4] = 0; in brcmf_fw_request_firmware() 612 strlcat(alt_path, ".", BRCMF_FW_NAME_LEN); in brcmf_fw_request_firmware() 613 strlcat(alt_path, fwctx->req->board_type, BRCMF_FW_NAME_LEN); in brcmf_fw_request_firmware() 614 strlcat(alt_path, ".txt", BRCMF_FW_NAME_LEN); in brcmf_fw_request_firmware() 616 ret = request_firmware(fw, alt_path, fwctx->dev); in brcmf_fw_request_firmware()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 132 struct mthca_qp_path alt_path; member 478 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()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | qp.h | 203 struct mlx4_qp_path alt_path; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 734 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid() 736 qp_ctx->alt_path.mgid_index += in update_gid() 738 qp_ctx->alt_path.mgid_index &= 0x7f; in update_gid() 740 qp_ctx->alt_path.mgid_index = slave & 0x7F; in update_gid() 3226 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters() 3231 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters() 3789 dev, slave, (qpc->alt_path.sched_queue >> 6 & 1) in adjust_qp_sched_queue() 3793 qpc->alt_path.sched_queue = in adjust_qp_sched_queue() 3794 (qpc->alt_path.sched_queue & ~(1 << 6)) | in adjust_qp_sched_queue()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | qp.c | 3795 void *qpc, *pri_path, *alt_path; in __mlx5_ib_modify_qp() local 3863 alt_path = MLX5_ADDR_OF(qpc, qpc, secondary_address_path); in __mlx5_ib_modify_qp() 3889 err = mlx5_set_path(dev, qp, &attr->alt_ah_attr, alt_path, in __mlx5_ib_modify_qp() 4564 void *qpc, *pri_path, *alt_path; in query_qp_attr() local 4603 alt_path = MLX5_ADDR_OF(qpc, qpc, secondary_address_path); in query_qp_attr() 4607 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, alt_path); in query_qp_attr() 4608 qp_attr->alt_pkey_index = MLX5_GET(ads, alt_path, pkey_index); in query_qp_attr() 4609 qp_attr->alt_port_num = MLX5_GET(ads, alt_path, vhca_port_num); in query_qp_attr() 4615 qp_attr->alt_timeout = MLX5_GET(ads, alt_path, ack_timeout); in query_qp_attr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2306 &context->alt_path, in __mlx4_ib_modify_qp() 2310 context->alt_path.pkey_index = attr->alt_pkey_index; in __mlx4_ib_modify_qp() 2311 context->alt_path.ackto = attr->alt_timeout << 3; in __mlx4_ib_modify_qp() 4014 to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path); in mlx4_ib_query_qp() 4015 qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; in mlx4_ib_query_qp() 4038 qp_attr->alt_timeout = context.alt_path.ackto >> 3; in mlx4_ib_query_qp()
|