Searched refs:path_rec (Results 1 – 7 of 7) sorted by relevance
1080 kfree(id_priv->id.route.path_rec); in rdma_destroy_id()1218 rt->path_rec = kmalloc(sizeof *rt->path_rec * rt->num_paths, in cma_new_conn_id()1220 if (!rt->path_rec) in cma_new_conn_id()1223 rt->path_rec[0] = *ib_event->param.req_rcvd.primary_path; in cma_new_conn_id()1225 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_new_conn_id()1229 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_new_conn_id()1230 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_new_conn_id()1236 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_new_conn_id()1692 static void cma_query_handler(int status, struct ib_sa_path_rec *path_rec, in cma_query_handler() argument1702 *route->path_rec = *path_rec; in cma_query_handler()[all …]
644 &route->path_rec[1]); in ucma_copy_ib_route()648 &route->path_rec[0]); in ucma_copy_ib_route()670 &route->path_rec[1]); in ucma_copy_iboe_route()674 &route->path_rec[0]); in ucma_copy_iboe_route()815 ib_sa_pack_path(&ctx->cm_id->route.path_rec[i], in ucma_query_path()816 &resp->path_data[i].path_rec); in ucma_query_path()1130 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
49 struct ib_sa_path_rec *path_rec, int num_paths);
86 struct ib_sa_path_rec *path_rec; member
51 __u32 path_rec[16]; member
457 __be64 lguid = cm_id->route.path_rec->sgid.global.interface_id; in rds_ib_cm_handle_connect()458 __be64 fguid = cm_id->route.path_rec->dgid.global.interface_id; in rds_ib_cm_handle_connect()
599 if (cmid->route.path_rec == NULL) in kiblnd_setup_mtu_locked()605 cmid->route.path_rec->mtu = mtu; in kiblnd_setup_mtu_locked()1034 if (conn->ibc_cmid->route.path_rec == NULL) in kiblnd_ctl()1038 ib_mtu_enum_to_int(conn->ibc_cmid->route.path_rec->mtu); in kiblnd_ctl()