Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/core/
Dcma.c1895 kfree(id_priv->id.route.path_rec); in _destroy_id()
2112 rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec), in cma_ib_new_conn_id()
2114 if (!rt->path_rec) in cma_ib_new_conn_id()
2117 rt->path_rec[0] = *path; in cma_ib_new_conn_id()
2119 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_ib_new_conn_id()
2127 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_ib_new_conn_id()
2128 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_ib_new_conn_id()
2135 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_ib_new_conn_id()
2687 static void cma_query_handler(int status, struct sa_path_rec *path_rec, in cma_query_handler() argument
2697 *route->path_rec = *path_rec; in cma_query_handler()
[all …]
Ducma.c766 &route->path_rec[1]); in ucma_copy_ib_route()
770 &route->path_rec[0]); in ucma_copy_ib_route()
792 &route->path_rec[1]); in ucma_copy_iboe_route()
796 &route->path_rec[0]); in ucma_copy_iboe_route()
925 struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i]; in ucma_query_path()
933 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec); in ucma_query_path()
936 ib_sa_pack_path(rec, &resp->path_data[i].path_rec); in ucma_query_path()
1317 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
Dsa_query.c903 memcpy(mad->data, rec->path_rec, in ib_nl_process_good_resolve_rsp()
904 sizeof(rec->path_rec)); in ib_nl_process_good_resolve_rsp()
/Linux-v5.15/include/rdma/
Drdma_cm_ib.h22 struct sa_path_rec *path_rec);
Drdma_cm.h54 struct sa_path_rec *path_rec; member
/Linux-v5.15/include/uapi/rdma/
Dib_user_sa.h52 __u32 path_rec[16]; member
/Linux-v5.15/net/rds/
Drdma_transport.c105 cm_id->route.path_rec[0].sl = in rds_rdma_cm_event_handler_cmn()
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-v5.15/drivers/infiniband/ulp/srpt/
Dib_srpt.c2543 struct sa_path_rec *path_rec = cm_id->route.path_rec; in srpt_rdma_cm_req_recv() local
2569 path_rec ? path_rec->pkey : 0, &req, src_addr); in srpt_rdma_cm_req_recv()