Home
last modified time | relevance | path

Searched refs:p_si (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sw_info_rcv.c201 ib_switch_info_t *p_si; in si_rcv_process_new() local
213 p_si = ib_smp_get_payload_ptr(p_smp); in si_rcv_process_new()
225 if (p_si->mcast_cap && in si_rcv_process_new()
257 osm_switch_set_switch_info(p_sw, p_si); in si_rcv_process_new()
289 ib_switch_info_t *p_si; in si_rcv_process_existing() local
300 p_si = ib_smp_get_payload_ptr(p_smp); in si_rcv_process_existing()
306 osm_switch_set_switch_info(p_sw, p_si); in si_rcv_process_existing()
385 ib_switch_info_t *p_si; in osm_si_rcv_process() local
398 p_si = ib_smp_get_payload_ptr(p_smp); in osm_si_rcv_process()
430 cl_ntoh16(p_si->lin_top), in osm_si_rcv_process()
[all …]
H A Dosm_helper.c2038 if (!buf || !p_si) in osm_dump_switch_info_to_buf()
2055 cl_ntoh16(p_si->lin_cap), cl_ntoh16(p_si->rand_cap), in osm_dump_switch_info_to_buf()
2056 cl_ntoh16(p_si->mcast_cap), cl_ntoh16(p_si->lin_top), in osm_dump_switch_info_to_buf()
2057 p_si->def_port, p_si->def_mcast_pri_port, in osm_dump_switch_info_to_buf()
2058 p_si->def_mcast_not_port, p_si->life_state, in osm_dump_switch_info_to_buf()
2059 cl_ntoh16(p_si->lids_per_port), in osm_dump_switch_info_to_buf()
2060 cl_ntoh16(p_si->enforce_cap), p_si->flags, in osm_dump_switch_info_to_buf()
2061 cl_ntoh16(p_si->mcast_top)); in osm_dump_switch_info_to_buf()
2066 IN const ib_switch_info_t * p_si, in osm_dump_switch_info() argument
2072 osm_dump_switch_info_to_buf(p_si, buf); in osm_dump_switch_info()
[all …]
H A Dosm_switch.c113 ib_switch_info_t *p_si; in osm_switch_new() local
122 p_si = ib_smp_get_payload_ptr(p_smp); in osm_switch_new()
127 if (!p_si->lin_cap) /* The switch doesn't support LFT */ in osm_switch_new()
137 p_sw->switch_info = *p_si; in osm_switch_new()
148 cl_ntoh16(p_si->mcast_cap)); in osm_switch_new()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h648 IN const ib_switch_info_t * p_si) in osm_switch_set_switch_info() argument
651 CL_ASSERT(p_si); in osm_switch_set_switch_info()
652 p_sw->switch_info = *p_si; in osm_switch_set_switch_info()
H A Dosm_helper.h515 IN const ib_switch_info_t * p_si,
519 IN const ib_switch_info_t * p_si,
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h6570 ib_switch_info_get_state_change(IN const ib_switch_info_t * const p_si) in ib_switch_info_get_state_change() argument
6572 return ((p_si->life_state & IB_SWITCH_PSC) == IB_SWITCH_PSC); in ib_switch_info_get_state_change()
6598 ib_switch_info_clear_state_change(IN ib_switch_info_t * const p_si) in ib_switch_info_clear_state_change() argument
6600 p_si->life_state = (uint8_t) (p_si->life_state & 0xFB); in ib_switch_info_clear_state_change()
6626 ib_switch_info_state_change_set(IN ib_switch_info_t * const p_si) in ib_switch_info_state_change_set() argument
6628 p_si->life_state = (uint8_t) ((p_si->life_state & ~IB_SWITCH_PSC) | IB_SWITCH_PSC); in ib_switch_info_state_change_set()
6656 return ((p_si->life_state & 0x01) == 0x01); in ib_switch_info_get_opt_sl2vlmapping()
6682 ib_switch_info_set_life_time(IN ib_switch_info_t * const p_si, in ib_switch_info_set_life_time() argument
6685 p_si->life_state = (p_si->life_state & 0x1f) | in ib_switch_info_set_life_time()
6716 ib_switch_info_is_enhanced_port0(IN const ib_switch_info_t * const p_si) in ib_switch_info_is_enhanced_port0() argument
[all …]