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

/freebsd-13-stable/contrib/ofed/librdmacm/
H A Dcma.c683 struct ibv_sa_path_rec *sa_path)
687 sa_path->dgid = path_data->path.dgid;
688 sa_path->sgid = path_data->path.sgid;
689 sa_path->dlid = path_data->path.dlid;
690 sa_path->slid = path_data->path.slid;
691 sa_path->raw_traffic = 0;
694 sa_path->flow_label = htobe32(fl_hop >> 8);
695 sa_path->hop_limit = (uint8_t) fl_hop;
697 sa_path->traffic_class = path_data->path.tclass;
698 sa_path
682 ucma_convert_path(struct ibv_path_data *path_data, struct ibv_sa_path_rec *sa_path) argument
[all...]
H A Drsocket.c3545 static void rs_convert_sa_path(struct ibv_sa_path_rec *sa_path, argument
3551 path_data->path.dgid = sa_path->dgid;
3552 path_data->path.sgid = sa_path->sgid;
3553 path_data->path.dlid = sa_path->dlid;
3554 path_data->path.slid = sa_path->slid;
3555 fl_hop = be32toh(sa_path->flow_label) << 8;
3556 path_data->path.flowlabel_hoplimit = htobe32(fl_hop | sa_path->hop_limit);
3557 path_data->path.tclass = sa_path->traffic_class;
3558 path_data->path.reversible_numpath = sa_path->reversible << 7 | 1;
3559 path_data->path.pkey = sa_path
[all...]
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_ucm.c711 struct ib_sa_path_rec *sa_path; local
718 sa_path = kmalloc(sizeof(*sa_path), GFP_KERNEL);
719 if (!sa_path)
725 kfree(sa_path);
729 ib_copy_path_rec_from_user(sa_path, &upath);
730 *path = sa_path;
H A Dib_ucma.c1217 struct ib_sa_path_rec sa_path; local
1233 memset(&sa_path, 0, sizeof(sa_path));
1235 ib_sa_unpack_path(path_data->path_rec, &sa_path);
1236 ret = rdma_set_ib_paths(ctx->cm_id, &sa_path, 1);

Completed in 176 milliseconds