Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcma.c2055 kfree(id_priv->id.route.path_rec); in _destroy_id()
2274 rt->path_rec = kmalloc_array(rt->num_pri_alt_paths, in cma_ib_new_conn_id()
2275 sizeof(*rt->path_rec), GFP_KERNEL); in cma_ib_new_conn_id()
2276 if (!rt->path_rec) in cma_ib_new_conn_id()
2279 rt->path_rec[0] = *path; in cma_ib_new_conn_id()
2281 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_ib_new_conn_id()
2289 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_ib_new_conn_id()
2290 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_ib_new_conn_id()
2297 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_ib_new_conn_id()
2849 struct sa_path_rec *path_rec) in route_set_path_rec_inbound()
2848 route_set_path_rec_inbound(struct cma_work *work, struct sa_path_rec *path_rec) route_set_path_rec_inbound() argument
2864 route_set_path_rec_outbound(struct cma_work *work, struct sa_path_rec *path_rec) route_set_path_rec_outbound() argument
2880 cma_query_handler(int status, struct sa_path_rec *path_rec, unsigned int num_prs, void *context) cma_query_handler() argument
2925 struct sa_path_rec path_rec; cma_query_ib_route() local
3134 rdma_set_ib_path(struct rdma_cm_id *id, struct sa_path_rec *path_rec) rdma_set_ib_path() argument
[all...]
H A Ducma.c769 &route->path_rec[1]); in ucma_copy_ib_route()
773 &route->path_rec[0]); in ucma_copy_ib_route()
795 &route->path_rec[1]); in ucma_copy_iboe_route()
799 &route->path_rec[0]); in ucma_copy_iboe_route()
928 struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i]; in ucma_query_path()
936 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec); in ucma_query_path()
939 ib_sa_pack_path(rec, &resp->path_data[i].path_rec); in ucma_query_path()
1320 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
H A Dsa_query.c918 memcpy(mad->data, rec_data->path_rec, in ib_nl_process_good_resolve_rsp()
919 sizeof(rec_data->path_rec)); in ib_nl_process_good_resolve_rsp()
926 rec_data->path_rec, &recs[num_prs]); in ib_nl_process_good_resolve_rsp()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcma.c1906 kfree(id_priv->id.route.path_rec); in _destroy_id()
2123 rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec), in cma_ib_new_conn_id()
2125 if (!rt->path_rec) in cma_ib_new_conn_id()
2128 rt->path_rec[0] = *path; in cma_ib_new_conn_id()
2130 rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; in cma_ib_new_conn_id()
2138 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_ib_new_conn_id()
2139 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_ib_new_conn_id()
2146 rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); in cma_ib_new_conn_id()
2658 static void cma_query_handler(int status, struct sa_path_rec *path_rec, in cma_query_handler() argument
2685 struct sa_path_rec path_rec; cma_query_ib_route() local
2894 rdma_set_ib_path(struct rdma_cm_id *id, struct sa_path_rec *path_rec) rdma_set_ib_path() argument
[all...]
H A Ducma.c769 &route->path_rec[1]); in ucma_copy_ib_route()
773 &route->path_rec[0]); in ucma_copy_ib_route()
795 &route->path_rec[1]); in ucma_copy_iboe_route()
799 &route->path_rec[0]); in ucma_copy_iboe_route()
928 struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i]; in ucma_query_path()
936 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec); in ucma_query_path()
939 ib_sa_pack_path(rec, &resp->path_data[i].path_rec); in ucma_query_path()
1320 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
H A Dsa_query.c957 memcpy(mad->data, rec->path_rec, in ib_nl_process_good_resolve_rsp()
958 sizeof(rec->path_rec)); in ib_nl_process_good_resolve_rsp()
/kernel/linux/linux-5.10/include/rdma/
H A Drdma_cm_ib.h15 * @path_rec: Reference to the path record
22 struct sa_path_rec *path_rec);
H A Drdma_cm.h54 struct sa_path_rec *path_rec; member
/kernel/linux/linux-6.6/include/rdma/
H A Drdma_cm_ib.h15 * @path_rec: Reference to the path record
22 struct sa_path_rec *path_rec);
H A Drdma_cm.h54 struct sa_path_rec *path_rec; member
/kernel/linux/linux-5.10/include/uapi/rdma/
H A Dib_user_sa.h52 __u32 path_rec[16]; member
/kernel/linux/linux-6.6/include/uapi/rdma/
H A Dib_user_sa.h52 __u32 path_rec[16]; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/rdma/
H A Dib_user_sa.h34 __u32 path_rec[16]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
H A Dib_user_sa.h34 __u32 path_rec[16]; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
H A Dib_user_sa.h21 __u32 path_rec[16]; member
/kernel/linux/linux-5.10/net/rds/
H A Drdma_transport.c106 cm_id->route.path_rec[0].sl = in rds_rdma_cm_event_handler_cmn()
H A Dib_cm.c157 ic->i_sl = ic->i_cm_id->route.path_rec->sl; in rds_ib_cm_connect_complete()
819 __be64 lguid = cm_id->route.path_rec->sgid.global.interface_id; in rds_ib_cm_handle_connect()
820 __be64 fguid = cm_id->route.path_rec->dgid.global.interface_id; in rds_ib_cm_handle_connect()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
H A 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()
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2552 struct sa_path_rec *path_rec = cm_id->route.path_rec; in srpt_rdma_cm_req_recv() local
2578 path_rec ? path_rec->pkey : 0, &req, src_addr); in srpt_rdma_cm_req_recv()

Completed in 35 milliseconds