Searched refs:p_si (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sw_info_rcv.c | 201 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() 215 osm_dump_switch_info_v2(sm->p_log, p_si, FILE_ID, OSM_LOG_DEBUG); in si_rcv_process_new() 225 if (p_si->mcast_cap && in si_rcv_process_new() 226 cl_ntoh16(p_si->mcast_cap) + IB_LID_MCAST_START_HO - 1 < in si_rcv_process_new() 228 sm->p_subn->max_mcast_lid_ho = cl_ntoh16(p_si->mcast_cap) + in si_rcv_process_new() 236 if (cl_ntoh16(p_si->lin_cap) < sm->p_subn->max_ucast_lid_ho) { in si_rcv_process_new() 237 sm->p_subn->max_ucast_lid_ho = cl_ntoh16(p_si->lin_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 [all …]
|
H A D | osm_helper.c | 2035 static void osm_dump_switch_info_to_buf(IN const ib_switch_info_t * p_si, in osm_dump_switch_info_to_buf() argument 2038 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 [all …]
|
H A D | osm_switch.c | 113 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 D | osm_switch.h | 648 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 D | osm_helper.h | 515 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 D | ib_types.h | 6570 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() 6654 ib_switch_info_get_opt_sl2vlmapping(IN const ib_switch_info_t * const p_si) in ib_switch_info_get_opt_sl2vlmapping() argument 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() [all …]
|