/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_path_record.c | 98 sa_path_rec_apply_tavor_mtu_limit(IN const ib_path_rec_t * p_pr, in sa_path_rec_apply_tavor_mtu_limit() argument 117 required_mtu = ib_path_rec_mtu(p_pr); in sa_path_rec_apply_tavor_mtu_limit() 120 switch (ib_path_rec_mtu_sel(p_pr)) { in sa_path_rec_apply_tavor_mtu_limit() 147 IN const ib_path_rec_t * p_pr, in pr_rcv_get_path_parms() argument 203 sa_path_rec_apply_tavor_mtu_limit(p_pr, in pr_rcv_get_path_parms() 449 p_pr, p_src_physp, p_dest_physp, in pr_rcv_get_path_parms() 494 required_mtu = ib_path_rec_mtu(p_pr); in pr_rcv_get_path_parms() 495 switch (ib_path_rec_mtu_sel(p_pr)) { in pr_rcv_get_path_parms() 536 required_rate = ib_path_rec_rate(p_pr); in pr_rcv_get_path_parms() 537 switch (ib_path_rec_rate_sel(p_pr)) { in pr_rcv_get_path_parms() [all …]
|
H A D | osm_sa_multipath_record.c | 833 OUT ib_path_rec_t * p_pr) in mpr_rcv_build_pr() argument 842 p_pr->dgid.unicast.prefix = osm_physp_get_subnet_prefix(p_dest_physp); in mpr_rcv_build_pr() 843 p_pr->dgid.unicast.interface_id = p_dest_alias_guid->alias_guid; in mpr_rcv_build_pr() 845 p_pr->sgid.unicast.prefix = osm_physp_get_subnet_prefix(p_src_physp); in mpr_rcv_build_pr() 846 p_pr->sgid.unicast.interface_id = p_src_alias_guid->alias_guid; in mpr_rcv_build_pr() 848 p_pr->dlid = cl_hton16(dest_lid_ho); in mpr_rcv_build_pr() 849 p_pr->slid = cl_hton16(src_lid_ho); in mpr_rcv_build_pr() 851 p_pr->hop_flow_raw &= cl_hton32(1 << 31); in mpr_rcv_build_pr() 853 p_pr->pkey = p_parms->pkey; in mpr_rcv_build_pr() 854 ib_path_rec_set_qos_class(p_pr, 0); in mpr_rcv_build_pr() [all …]
|
H A D | osm_helper.c | 1423 static void osm_dump_path_record_to_buf(IN const ib_path_rec_t * p_pr, in osm_dump_path_record_to_buf() argument 1426 if (!buf || !p_pr) in osm_dump_path_record_to_buf() 1450 cl_ntoh64(p_pr->service_id), in osm_dump_path_record_to_buf() 1451 inet_ntop(AF_INET6, p_pr->dgid.raw, gid_str, in osm_dump_path_record_to_buf() 1453 inet_ntop(AF_INET6, p_pr->sgid.raw, gid_str2, in osm_dump_path_record_to_buf() 1455 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_pr->slid), in osm_dump_path_record_to_buf() 1456 cl_ntoh32(p_pr->hop_flow_raw), p_pr->tclass, in osm_dump_path_record_to_buf() 1457 p_pr->num_path, cl_ntoh16(p_pr->pkey), in osm_dump_path_record_to_buf() 1458 ib_path_rec_qos_class(p_pr), ib_path_rec_sl(p_pr), in osm_dump_path_record_to_buf() 1459 p_pr->mtu, p_pr->rate, p_pr->pkt_life, p_pr->preference, in osm_dump_path_record_to_buf() [all …]
|
H A D | osm_qos_policy.c | 1017 IN const ib_path_rec_t * p_pr, in osm_qos_policy_get_qos_level_by_pr() argument 1024 cl_ntoh64(p_pr->service_id), ib_path_rec_qos_class(p_pr), in osm_qos_policy_get_qos_level_by_pr() 1025 cl_ntoh16(p_pr->pkey), comp_mask); in osm_qos_policy_get_qos_level_by_pr()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | saquery.c | 216 ib_path_rec_t *p_pr = data; in dump_path_record() local 234 cl_ntoh64(p_pr->service_id), in dump_path_record() 235 inet_ntop(AF_INET6, p_pr->dgid.raw, gid_str, sizeof gid_str), in dump_path_record() 236 inet_ntop(AF_INET6, p_pr->sgid.raw, gid_str2, sizeof gid_str2), in dump_path_record() 237 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_pr->slid), in dump_path_record() 238 cl_ntoh32(p_pr->hop_flow_raw), p_pr->tclass, p_pr->num_path, in dump_path_record() 239 cl_ntoh16(p_pr->pkey), ib_path_rec_qos_class(p_pr), in dump_path_record() 240 ib_path_rec_sl(p_pr), p_pr->mtu, p_pr->rate, p_pr->pkt_life, in dump_path_record() 241 p_pr->preference, in dump_path_record() 242 p_pr->resv2[0], p_pr->resv2[1], p_pr->resv2[2], in dump_path_record() [all …]
|
H A D | ibqueryerrors.c | 324 ib_path_rec_t *p_pr = (ib_path_rec_t *)sa_get_query_rec(r->p_result_madw, i); in insert_lid2sl_table() local 325 lid2sl_table[cl_ntoh16(p_pr->dlid)] = ib_path_rec_sl(p_pr); in insert_lid2sl_table()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_qos_policy.h | 187 IN const ib_path_rec_t * p_pr,
|
H A D | osm_helper.h | 309 void osm_dump_path_record(IN osm_log_t * p_log, IN const ib_path_rec_t * p_pr, 312 void osm_dump_path_record_v2(IN osm_log_t * p_log, IN const ib_path_rec_t * p_pr,
|