Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_port.c244 uint8_t op_vls; in osm_physp_calc_link_op_vls() local
262 remote_op_vls, op_vls); in osm_physp_calc_link_op_vls()
264 if (op_vls != remote_op_vls) { in osm_physp_calc_link_op_vls()
265 if (op_vls > remote_op_vls) in osm_physp_calc_link_op_vls()
266 op_vls = remote_op_vls; in osm_physp_calc_link_op_vls()
267 if (op_vls != current_op_vls) in osm_physp_calc_link_op_vls()
282 if (op_vls == 0) { in osm_physp_calc_link_op_vls()
286 op_vls = 1; in osm_physp_calc_link_op_vls()
290 if (op_vls > p_subn->opt.max_op_vls) in osm_physp_calc_link_op_vls()
291 op_vls = p_subn->opt.max_op_vls; in osm_physp_calc_link_op_vls()
[all …]
H A Dosm_link_mgr.c102 uint8_t port_num, mtu, op_vls, smsl = OSM_DEFAULT_SL; in link_mgr_set_physp_pi() local
413 op_vls = in link_mgr_set_physp_pi()
424 ib_port_info_set_op_vls(p_pi, op_vls); in link_mgr_set_physp_pi()
H A Dosm_lid_mgr.c813 uint8_t op_vls; in lid_mgr_set_physp_pi() local
951 op_vls = osm_physp_calc_link_op_vls(p_mgr->p_log, p_mgr->p_subn, in lid_mgr_set_physp_pi()
963 ib_port_info_set_op_vls(p_pi, op_vls); in lid_mgr_set_physp_pi()
985 op_vls != ib_port_info_get_op_vls(p_old_pi)) { in lid_mgr_set_physp_pi()
993 op_vls, ib_port_info_get_op_vls(p_old_pi)); in lid_mgr_set_physp_pi()
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h4890 ib_port_info_set_op_vls(IN ib_port_info_t * const p_pi, IN const uint8_t op_vls) in ib_port_info_set_op_vls() argument
4893 (uint8_t) ((p_pi->vl_enforce & 0x0F) | (op_vls << 4)); in ib_port_info_set_op_vls()