Home
last modified time | relevance | path

Searched refs:sa_path (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/ofed/librdmacm/
H A Dcma.c683 struct ibv_sa_path_rec *sa_path) in ucma_convert_path() argument
687 sa_path->dgid = path_data->path.dgid; in ucma_convert_path()
688 sa_path->sgid = path_data->path.sgid; in ucma_convert_path()
689 sa_path->dlid = path_data->path.dlid; in ucma_convert_path()
690 sa_path->slid = path_data->path.slid; in ucma_convert_path()
691 sa_path->raw_traffic = 0; in ucma_convert_path()
695 sa_path->hop_limit = (uint8_t) fl_hop; in ucma_convert_path()
699 sa_path->numb_path = 1; in ucma_convert_path()
700 sa_path->pkey = path_data->path.pkey; in ucma_convert_path()
704 sa_path->rate_selector = 2; in ucma_convert_path()
[all …]
H A Drsocket.c3551 path_data->path.dgid = sa_path->dgid; in rs_convert_sa_path()
3552 path_data->path.sgid = sa_path->sgid; in rs_convert_sa_path()
3553 path_data->path.dlid = sa_path->dlid; in rs_convert_sa_path()
3554 path_data->path.slid = sa_path->slid; in rs_convert_sa_path()
3555 fl_hop = be32toh(sa_path->flow_label) << 8; in rs_convert_sa_path()
3557 path_data->path.tclass = sa_path->traffic_class; in rs_convert_sa_path()
3559 path_data->path.pkey = sa_path->pkey; in rs_convert_sa_path()
3560 path_data->path.qosclass_sl = htobe16(sa_path->sl); in rs_convert_sa_path()
3561 path_data->path.mtu = sa_path->mtu | 2 << 6; /* exactly */ in rs_convert_sa_path()
3562 path_data->path.rate = sa_path->rate | 2 << 6; in rs_convert_sa_path()
[all …]
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dib_ucm.c709 struct ib_sa_path_rec *sa_path; in ib_ucm_path_get() local
716 sa_path = kmalloc(sizeof(*sa_path), GFP_KERNEL); in ib_ucm_path_get()
717 if (!sa_path) in ib_ucm_path_get()
723 kfree(sa_path); in ib_ucm_path_get()
727 ib_copy_path_rec_from_user(sa_path, &upath); in ib_ucm_path_get()
728 *path = sa_path; in ib_ucm_path_get()
H A Dib_ucma.c1225 struct ib_sa_path_rec sa_path; in ucma_set_ib_path() local
1241 memset(&sa_path, 0, sizeof(sa_path)); in ucma_set_ib_path()
1243 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
1244 ret = rdma_set_ib_paths(ctx->cm_id, &sa_path, 1); in ucma_set_ib_path()