Searched refs:path_rec (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.0-release/sys/ofed/include/rdma/
H A Drdma_cm_ib.h42 * @path_rec: Reference to the path record
49 struct ib_sa_path_rec *path_rec, int num_paths);
H A Dib_user_sa.h51 __u32 path_rec[16]; member in struct:ib_path_rec_data
H A Drdma_cm.h81 struct ib_sa_path_rec *path_rec; member in struct:rdma_route
/freebsd-10.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_ibumad_sa.c479 ib_path_rec_t path_rec; local
613 memset(&path_rec, 0, sizeof(ib_path_rec_t));
619 sa_mad_data.p_attr = &path_rec;
620 ib_gid_set_default(&path_rec.dgid,
624 ib_gid_set_default(&path_rec.sgid,
632 memset(&path_rec, 0, sizeof(ib_path_rec_t));
638 sa_mad_data.p_attr = &path_rec;
639 memcpy(&path_rec.dgid,
642 memcpy(&path_rec.sgid,
649 memset(&path_rec,
[all...]
H A Dosm_vendor_mlx_sa.c594 ib_path_rec_t path_rec; local
741 memset(&path_rec, 0, sizeof(ib_path_rec_t));
747 sa_mad_data.p_attr = &path_rec;
748 ib_gid_set_default(&path_rec.dgid,
752 ib_gid_set_default(&path_rec.sgid,
761 memset(&path_rec, 0, sizeof(ib_path_rec_t));
767 sa_mad_data.p_attr = &path_rec;
768 memcpy(&path_rec.dgid,
771 memcpy(&path_rec.sgid,
779 memset(&path_rec,
[all...]
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Dcma.c930 kfree(id_priv->id.route.path_rec);
1085 rt->path_rec = kmalloc(sizeof *rt->path_rec * rt->num_paths,
1087 if (!rt->path_rec)
1090 rt->path_rec[0] = *ib_event->param.req_rcvd.primary_path;
1092 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path;
1096 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid);
1097 ib_addr_set_pkey(&rt->addr.dev_addr, rt->path_rec[0].pkey);
1104 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid);
1602 static void cma_query_handler(int status, struct ib_sa_path_rec *path_rec, argument
1627 struct ib_sa_path_rec path_rec; local
1748 rdma_set_ib_paths(struct rdma_cm_id *id, struct ib_sa_path_rec *path_rec, int num_paths) argument
[all...]
H A Dlocal_sa.c189 struct ib_sa_path_rec path_rec; member in struct:sa_path_request
470 struct ib_sa_path_rec path_rec; local
481 path_rec.sgid = port->gid;
482 path_rec.numb_path = (u8) paths_per_dest;
486 memcpy(&path_rec.dgid, &update->gid, sizeof path_rec.dgid);
489 ib_sa_pack_attr(mad->data, &path_rec, IB_SA_ATTR_PATH_REC);
983 req->callback(0, &req->path_rec, req->context);
1026 struct ib_sa_path_rec *path_rec; local
1045 path_rec
[all...]
H A Ducma.c575 &route->path_rec[1]);
579 &route->path_rec[0]);
611 &route->path_rec[1]);
615 &route->path_rec[0]);
877 ib_sa_unpack_path(path_data->path_rec, &sa_path);
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_sa_multipath_record.c68 ib_path_rec_t path_rec; member in struct:osm_mpr_item
867 &p_pr_item->path_rec);
1338 matrix[0][0]->path_rec.slid, matrix[0][0]->path_rec.dlid,
1339 matrix[0][0]->hops, matrix[0][1]->path_rec.slid,
1340 matrix[0][1]->path_rec.dlid, matrix[0][1]->hops,
1341 matrix[1][0]->path_rec.slid, matrix[1][0]->path_rec.dlid,
1342 matrix[1][0]->hops, matrix[1][1]->path_rec.slid,
1343 matrix[1][1]->path_rec
[all...]
H A Dosm_sa_path_record.c78 ib_path_rec_t path_rec; member in struct:osm_pr_item
899 &p_pr_item->path_rec);
1773 p_pr_item->path_rec = *p_pr;
1776 p_pr_item->path_rec.dgid = p_mgrp->mcmember_rec.mgid;
1777 p_pr_item->path_rec.dlid = p_mgrp->mcmember_rec.mlid;
1778 p_pr_item->path_rec.tclass = p_mgrp->mcmember_rec.tclass;
1779 p_pr_item->path_rec.num_path = 1;
1780 p_pr_item->path_rec.pkey = p_mgrp->mcmember_rec.pkey;
1783 p_pr_item->path_rec.mtu = (2 << 6) | p_mgrp->mcmember_rec.mtu;
1784 p_pr_item->path_rec
[all...]
/freebsd-10.0-release/contrib/ofed/librdmacm/include/rdma/
H A Drdma_cma.h101 struct ibv_sa_path_rec *path_rec; member in struct:rdma_route
/freebsd-10.0-release/contrib/ofed/librdmacm/src/
H A Dcma.c358 if (id_priv->id.route.path_rec)
359 free(id_priv->id.route.path_rec);
495 id->route.path_rec = malloc(sizeof *id->route.path_rec *
497 if (!id->route.path_rec)
502 ibv_copy_path_rec_from_kern(&id->route.path_rec[i],

Completed in 201 milliseconds