| /freebsd-14.2/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_mlx_sa.c | 558 ib_path_rec_t path_rec; in osmv_query_sa() member 689 u.path_rec.num_path = 0x7f; in osmv_query_sa() 690 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 691 ib_gid_set_default(&u.path_rec.dgid, in osmv_query_sa() 707 u.path_rec.num_path = 0x7f; in osmv_query_sa() 708 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 709 memcpy(&u.path_rec.dgid, in osmv_query_sa() 712 memcpy(&u.path_rec.sgid, in osmv_query_sa() 724 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 725 u.path_rec.dlid = in osmv_query_sa() [all …]
|
| H A D | osm_vendor_ibumad_sa.c | 482 ib_path_rec_t path_rec; in osmv_query_sa() member 613 u.path_rec.num_path = 0x7f; in osmv_query_sa() 614 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 615 ib_gid_set_default(&u.path_rec.dgid, in osmv_query_sa() 631 u.path_rec.num_path = 0x7f; in osmv_query_sa() 632 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 633 memcpy(&u.path_rec.dgid, in osmv_query_sa() 637 memcpy(&u.path_rec.sgid, in osmv_query_sa() 650 sa_mad_data.p_attr = &u.path_rec; in osmv_query_sa() 651 u.path_rec.dlid = in osmv_query_sa() [all …]
|
| /freebsd-14.2/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_cma.c | 2080 rt->path_rec = kmalloc(sizeof *rt->path_rec * rt->num_paths, in cma_new_conn_id() 2082 if (!rt->path_rec) in cma_new_conn_id() 2575 *route->path_rec = *path_rec; in cma_query_handler() 2595 memset(&path_rec, 0, sizeof path_rec); in cma_query_ib_route() 2599 path_rec.numb_path = 1; in cma_query_ib_route() 2671 route->path_rec = kmalloc(sizeof *route->path_rec, GFP_KERNEL); in cma_resolve_ib_route() 2672 if (!route->path_rec) { in cma_resolve_ib_route() 2683 kfree(route->path_rec); in cma_resolve_ib_route() 2684 route->path_rec = NULL; in cma_resolve_ib_route() 2701 id->route.path_rec = kmemdup(path_rec, sizeof *path_rec * num_paths, in rdma_set_ib_paths() [all …]
|
| H A D | ib_ucma.c | 764 &route->path_rec[1]); in ucma_copy_ib_route() 768 &route->path_rec[0]); in ucma_copy_ib_route() 790 &route->path_rec[1]); in ucma_copy_iboe_route() 794 &route->path_rec[0]); in ucma_copy_iboe_route() 922 ib_sa_pack_path(&ctx->cm_id->route.path_rec[i], in ucma_query_path() 923 &resp->path_data[i].path_rec); in ucma_query_path() 1243 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
|
| /freebsd-14.2/contrib/ofed/opensm/opensm/ |
| H A D | osm_sa_multipath_record.c | 946 &p_pr_item->resp.mpr_rec.path_rec); in mpr_rcv_get_lid_pair_path() 1409 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.slid : 0, in mpr_rcv_get_apm_paths() 1410 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths() 1412 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.slid : 0, in mpr_rcv_get_apm_paths() 1413 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths() 1415 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.slid : 0, in mpr_rcv_get_apm_paths() 1416 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths() 1418 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.slid : 0, in mpr_rcv_get_apm_paths() 1419 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths() 1456 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.slid : 0, in mpr_rcv_get_apm_paths() [all …]
|
| H A D | osm_sa_path_record.c | 78 #define SA_PR_RESP_SIZE SA_ITEM_RESP_SIZE(path_rec) 1007 &p_pr_item->resp.path_rec); in pr_rcv_get_lid_pair_path() 1675 pr_item->resp.path_rec = *pr; in pr_process_multicast() 1678 pr_item->resp.path_rec.dgid = mgrp->mcmember_rec.mgid; in pr_process_multicast() 1679 pr_item->resp.path_rec.dlid = mgrp->mcmember_rec.mlid; in pr_process_multicast() 1680 pr_item->resp.path_rec.tclass = mgrp->mcmember_rec.tclass; in pr_process_multicast() 1681 pr_item->resp.path_rec.num_path = 1; in pr_process_multicast() 1682 pr_item->resp.path_rec.pkey = mgrp->mcmember_rec.pkey; in pr_process_multicast() 1692 ib_path_rec_set_sl(&pr_item->resp.path_rec, sl); in pr_process_multicast() 1693 ib_path_rec_set_qos_class(&pr_item->resp.path_rec, 0); in pr_process_multicast() [all …]
|
| /freebsd-14.2/sys/ofed/include/rdma/ |
| H A D | rdma_cm_ib.h | 51 struct ib_sa_path_rec *path_rec, int num_paths);
|
| H A D | rdma_cm.h | 90 struct ib_sa_path_rec *path_rec; member
|
| /freebsd-14.2/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_sa.h | 115 ib_path_rec_t path_rec; member 144 ib_path_rec_t path_rec; member
|
| /freebsd-14.2/sys/ofed/include/uapi/rdma/ |
| H A D | ib_user_sa.h | 57 __u32 path_rec[16]; member
|
| /freebsd-14.2/contrib/ofed/librdmacm/ |
| H A D | cma.c | 470 if (id_priv->id.route.path_rec) in ucma_free_id() 471 free(id_priv->id.route.path_rec); in ucma_free_id() 733 id->route.path_rec = malloc(sizeof(*id->route.path_rec) * in ucma_query_path() 735 if (!id->route.path_rec) in ucma_query_path() 740 ucma_convert_path(&resp->path_data[i], &id->route.path_rec[i]); in ucma_query_path() 764 id->route.path_rec = malloc(sizeof(*id->route.path_rec) * in ucma_query_route() 766 if (!id->route.path_rec) in ucma_query_route() 771 ibv_copy_path_rec_from_kern(&id->route.path_rec[i], in ucma_query_route()
|
| H A D | rsocket.c | 3572 struct ibv_sa_path_rec *path_rec; in rgetsockopt() local 3631 1 << (7 + rs->cm_id->route.path_rec->mtu) : in rgetsockopt() 3683 path_rec = rs->cm_id->route.path_rec; in rgetsockopt() 3687 rs_convert_sa_path(path_rec, &path_data); in rgetsockopt() 3691 path_rec++; in rgetsockopt() 4097 if (id->route.path_rec->hop_limit > 1) { in udp_svc_create_ah() 4099 attr.grh.dgid = id->route.path_rec->dgid; in udp_svc_create_ah() 4102 attr.grh.hop_limit = id->route.path_rec->hop_limit; in udp_svc_create_ah() 4105 attr.dlid = be16toh(id->route.path_rec->dlid); in udp_svc_create_ah() 4106 attr.sl = id->route.path_rec->sl; in udp_svc_create_ah() [all …]
|
| H A D | rdma_cma.h | 114 struct ibv_sa_path_rec *path_rec; member
|