Home
last modified time | relevance | path

Searched refs:path_rec (Results 1 – 13 of 13) sorted by relevance

/src/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad_sa.c482 ib_path_rec_t path_rec; in osmv_query_sa() member
609 memset(&u.path_rec, 0, sizeof(ib_path_rec_t)); in osmv_query_sa()
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()
619 ib_gid_set_default(&u.path_rec.sgid, in osmv_query_sa()
627 memset(&u.path_rec, 0, sizeof(ib_path_rec_t)); 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()
[all …]
H A Dosm_vendor_mlx_sa.c558 ib_path_rec_t path_rec; in osmv_query_sa() member
685 memset(&u.path_rec, 0, sizeof(ib_path_rec_t)); in osmv_query_sa()
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()
695 ib_gid_set_default(&u.path_rec.sgid, in osmv_query_sa()
703 memset(&u.path_rec, 0, sizeof(ib_path_rec_t)); 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()
[all …]
/src/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c1918 kfree(id_priv->id.route.path_rec); in rdma_destroy_id()
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()
2085 rt->path_rec[0] = *ib_event->param.req_rcvd.primary_path; in cma_new_conn_id()
2087 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_new_conn_id()
2097 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_new_conn_id()
2098 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_new_conn_id()
2105 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_new_conn_id()
2565 static void cma_query_handler(int status, struct ib_sa_path_rec *path_rec, in cma_query_handler() argument
2575 *route->path_rec = *path_rec; in cma_query_handler()
[all …]
H A Dib_ucma.c764 &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()
/src/contrib/ofed/opensm/opensm/
H A Dosm_sa_multipath_record.c946 &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 Dosm_sa_path_record.c78 #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()
1685 pr_item->resp.path_rec.mtu = (IB_PATH_SELECTOR_EXACTLY << 6) | mgrp->mcmember_rec.mtu; in pr_process_multicast()
1686 pr_item->resp.path_rec.rate = (IB_PATH_SELECTOR_EXACTLY << 6) | mgrp->mcmember_rec.rate; in pr_process_multicast()
[all …]
/src/sys/ofed/include/rdma/
H A Drdma_cm_ib.h51 struct ib_sa_path_rec *path_rec, int num_paths);
H A Drdma_cm.h90 struct ib_sa_path_rec *path_rec; member
/src/contrib/ofed/opensm/include/opensm/
H A Dosm_sa.h115 ib_path_rec_t path_rec; member
144 ib_path_rec_t path_rec; member
/src/sys/ofed/include/uapi/rdma/
H A Dib_user_sa.h57 __u32 path_rec[16]; member
/src/contrib/ofed/librdmacm/
H A Dcma.c470 if (id_priv->id.route.path_rec) in ucma_free_id()
471 free(id_priv->id.route.path_rec); in ucma_free_id()
734 id->route.path_rec = malloc(sizeof(*id->route.path_rec) * in ucma_query_path()
736 if (!id->route.path_rec) in ucma_query_path()
741 ucma_convert_path(&resp->path_data[i], &id->route.path_rec[i]); in ucma_query_path()
765 id->route.path_rec = malloc(sizeof(*id->route.path_rec) * in ucma_query_route()
767 if (!id->route.path_rec) in ucma_query_route()
772 ibv_copy_path_rec_from_kern(&id->route.path_rec[i], in ucma_query_route()
H A Drsocket.c3572 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()
4100 attr.grh.flow_label = be32toh(id->route.path_rec->flow_label); in udp_svc_create_ah()
4101 attr.grh.sgid_index = udp_svc_sgid_index(dest, &id->route.path_rec->sgid); in udp_svc_create_ah()
4102 attr.grh.hop_limit = id->route.path_rec->hop_limit; in udp_svc_create_ah()
[all …]
H A Drdma_cma.h114 struct ibv_sa_path_rec *path_rec; member