Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Dcma.c2083 kfree(id_priv->id.route.path_rec); in _destroy_id()
2303 rt->path_rec = kmalloc_objs(*rt->path_rec, rt->num_pri_alt_paths); in cma_ib_new_conn_id()
2304 if (!rt->path_rec) in cma_ib_new_conn_id()
2307 rt->path_rec[0] = *path; in cma_ib_new_conn_id()
2309 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_ib_new_conn_id()
2317 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_ib_new_conn_id()
2318 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_ib_new_conn_id()
2325 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_ib_new_conn_id()
2881 struct sa_path_rec *path_rec) in route_set_path_rec_inbound() argument
2891 *route->path_rec_inbound = *path_rec; in route_set_path_rec_inbound()
[all …]
H A Ducma.c797 &route->path_rec[1]); in ucma_copy_ib_route()
801 &route->path_rec[0]); in ucma_copy_ib_route()
823 &route->path_rec[1]); in ucma_copy_iboe_route()
827 &route->path_rec[0]); in ucma_copy_iboe_route()
956 struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i]; in ucma_query_path()
964 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec); in ucma_query_path()
967 ib_sa_pack_path(rec, &resp->path_data[i].path_rec); in ucma_query_path()
1388 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
H A Dsa_query.c979 memcpy(mad->data, rec_data->path_rec, in ib_nl_process_good_resolve_rsp()
980 sizeof(rec_data->path_rec)); in ib_nl_process_good_resolve_rsp()
987 rec_data->path_rec, &recs[num_prs]); in ib_nl_process_good_resolve_rsp()
/linux/include/rdma/
H A Drdma_cm_ib.h22 struct sa_path_rec *path_rec);
H A Drdma_cm.h58 struct sa_path_rec *path_rec; member
/linux/net/rds/
H A Drdma_transport.c107 cm_id->route.path_rec[0].sl = in rds_rdma_cm_event_handler_cmn()
H A Dib_cm.c131 ic->i_sl = ic->i_cm_id->route.path_rec->sl; in rds_ib_cm_connect_complete()
785 __be64 lguid = cm_id->route.path_rec->sgid.global.interface_id; in rds_ib_cm_handle_connect()
786 __be64 fguid = cm_id->route.path_rec->dgid.global.interface_id; in rds_ib_cm_handle_connect()
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2609 struct sa_path_rec *path_rec = cm_id->route.path_rec; in srpt_rdma_cm_req_recv() local
2635 path_rec ? path_rec->pkey : 0, &req, src_addr); in srpt_rdma_cm_req_recv()