Searched refs:path_rec (Results 1 - 13 of 13) sorted by path

/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dcma.c470 if (id_priv->id.route.path_rec)
471 free(id_priv->id.route.path_rec);
733 id->route.path_rec = malloc(sizeof(*id->route.path_rec) *
735 if (!id->route.path_rec)
740 ucma_convert_path(&resp->path_data[i], &id->route.path_rec[i]);
764 id->route.path_rec = malloc(sizeof(*id->route.path_rec) *
766 if (!id->route.path_rec)
771 ibv_copy_path_rec_from_kern(&id->route.path_rec[
[all...]
H A Drdma_cma.h114 struct ibv_sa_path_rec *path_rec; member in struct:rdma_route
H A Drsocket.c3572 struct ibv_sa_path_rec *path_rec; local
3631 1 << (7 + rs->cm_id->route.path_rec->mtu) :
3683 path_rec = rs->cm_id->route.path_rec;
3687 rs_convert_sa_path(path_rec, &path_data);
3691 path_rec++;
4097 if (id->route.path_rec->hop_limit > 1) {
4099 attr.grh.dgid = id->route.path_rec->dgid;
4100 attr.grh.flow_label = be32toh(id->route.path_rec->flow_label);
4101 attr.grh.sgid_index = udp_svc_sgid_index(dest, &id->route.path_rec
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_sa.h115 ib_path_rec_t path_rec; member in struct:osm_mpr_rec
144 ib_path_rec_t path_rec; member in union:osm_sa_item::__anon3916
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad_sa.c482 ib_path_rec_t path_rec; member in union:__anon3918
609 memset(&u.path_rec, 0, sizeof(ib_path_rec_t));
613 u.path_rec.num_path = 0x7f;
614 sa_mad_data.p_attr = &u.path_rec;
615 ib_gid_set_default(&u.path_rec.dgid,
619 ib_gid_set_default(&u.path_rec.sgid,
627 memset(&u.path_rec, 0, sizeof(ib_path_rec_t));
631 u.path_rec.num_path = 0x7f;
632 sa_mad_data.p_attr = &u.path_rec;
633 memcpy(&u.path_rec
[all...]
H A Dosm_vendor_mlx_sa.c558 ib_path_rec_t path_rec; member in union:__anon3919
685 memset(&u.path_rec, 0, sizeof(ib_path_rec_t));
689 u.path_rec.num_path = 0x7f;
690 sa_mad_data.p_attr = &u.path_rec;
691 ib_gid_set_default(&u.path_rec.dgid,
695 ib_gid_set_default(&u.path_rec.sgid,
703 memset(&u.path_rec, 0, sizeof(ib_path_rec_t));
707 u.path_rec.num_path = 0x7f;
708 sa_mad_data.p_attr = &u.path_rec;
709 memcpy(&u.path_rec
[all...]
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_sa_multipath_record.c946 &p_pr_item->resp.mpr_rec.path_rec);
1409 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.slid : 0,
1410 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.dlid : 0,
1412 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.slid : 0,
1413 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.dlid : 0,
1415 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.slid : 0,
1416 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.dlid : 0,
1418 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.slid : 0,
1419 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.dlid : 0,
1456 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec
[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);
1675 pr_item->resp.path_rec = *pr;
1678 pr_item->resp.path_rec.dgid = mgrp->mcmember_rec.mgid;
1679 pr_item->resp.path_rec.dlid = mgrp->mcmember_rec.mlid;
1680 pr_item->resp.path_rec.tclass = mgrp->mcmember_rec.tclass;
1681 pr_item->resp.path_rec.num_path = 1;
1682 pr_item->resp.path_rec.pkey = mgrp->mcmember_rec.pkey;
1685 pr_item->resp.path_rec.mtu = (IB_PATH_SELECTOR_EXACTLY << 6) | mgrp->mcmember_rec.mtu;
1686 pr_item->resp.path_rec
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdma_cm.h90 struct ib_sa_path_rec *path_rec; member in struct:rdma_route
H A Drdma_cm_ib.h44 * @path_rec: Reference to the path record
51 struct ib_sa_path_rec *path_rec, int num_paths);
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_sa.h59 __u32 path_rec[16]; member in struct:ib_path_rec_data
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c1743 kfree(id_priv->id.route.path_rec);
1889 rt->path_rec = kmalloc(sizeof *rt->path_rec * rt->num_paths,
1891 if (!rt->path_rec)
1894 rt->path_rec[0] = *ib_event->param.req_rcvd.primary_path;
1896 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path;
1906 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid);
1907 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey));
1914 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid);
2346 static void cma_query_handler(int status, struct ib_sa_path_rec *path_rec, argument
2371 struct ib_sa_path_rec path_rec; local
2471 rdma_set_ib_paths(struct rdma_cm_id *id, struct ib_sa_path_rec *path_rec, int num_paths) argument
[all...]
H A Dib_ucma.c763 &route->path_rec[1]);
767 &route->path_rec[0]);
789 &route->path_rec[1]);
793 &route->path_rec[0]);
921 ib_sa_pack_path(&ctx->cm_id->route.path_rec[i],
922 &resp->path_data[i].path_rec);
1235 ib_sa_unpack_path(path_data->path_rec, &sa_path);

Completed in 210 milliseconds