Home
last modified time | relevance | path

Searched refs:switch_info (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h97 ib_switch_info_t switch_info; member
529 ib_switch_info_is_enhanced_port0(&p_sw->switch_info)) ? 1 : 0; in osm_switch_sp0_is_lmc_capable()
562 return cl_ntoh16(p_sw->switch_info.lin_top) / IB_SMP_DATA_SIZE; in osm_switch_get_max_block_id_in_use()
622 return (p_sw->switch_info.mcast_cap != 0); in osm_switch_supports_mcast()
652 p_sw->switch_info = *p_si; in osm_switch_set_switch_info()
1051 return cl_ntoh16(p_sw->switch_info.mcast_cap); in osm_switch_get_mcast_fwd_tbl_size()
/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_sa_sw_info_record.c94 p_rec_item->resp.swinfo_rec.switch_info = p_sw->switch_info; in sir_rcv_new_sir()
178 osm_dump_switch_info_v2(p_ctxt->sa->p_log, &p_sw->switch_info, in sir_rcv_by_comp_mask()
H A Dosm_slvl_map_rcv.c124 startoutport = ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) ? 0 : 1; in osm_slvl_rcv_process()
130 startinport = ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) ? 0 : 1; in osm_slvl_rcv_process()
H A Dosm_port_info_rcv.c226 !ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info)) in pi_rcv_process_switch_port0()
405 !ib_switch_info_get_state_change(&p_node->sw->switch_info) && in pi_rcv_process_switch_ext_port()
501 p_node->sw->switch_info.enforce_cap = 0; in get_pkey_table()
504 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) == 0) in get_pkey_table()
507 max_blocks = (cl_ntoh16(p_node->sw->switch_info.enforce_cap) + in get_pkey_table()
639 return (ib_switch_info_get_state_change(&p_node->sw->switch_info) ? 1 : p_physp->need_update); in osm_pi_rcv_update_neighbor()
H A Dosm_qos.c331 if (ib_switch_info_get_opt_sl2vlmapping(&node->sw->switch_info) && in qos_extports_setup()
385 out = ib_switch_info_is_enhanced_port0(&node->sw->switch_info) ? 0 : 1; in qos_extports_setup()
505 (&p_node->sw->switch_info)) in osm_qos_setup()
508 if (ib_switch_info_get_opt_sl2vlmapping(&p_node->sw->switch_info) && in osm_qos_setup()
H A Dosm_mlnx_ext_port_info_rcv.c119 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info)) in osm_mlnx_epi_rcv_process()
H A Dosm_helper.c2115 cl_ntoh16(p_sir->switch_info.lin_cap), in osm_dump_switch_info_record_to_buf()
2116 cl_ntoh16(p_sir->switch_info.rand_cap), in osm_dump_switch_info_record_to_buf()
2117 cl_ntoh16(p_sir->switch_info.mcast_cap), in osm_dump_switch_info_record_to_buf()
2118 cl_ntoh16(p_sir->switch_info.lin_top), in osm_dump_switch_info_record_to_buf()
2119 p_sir->switch_info.def_port, in osm_dump_switch_info_record_to_buf()
2120 p_sir->switch_info.def_mcast_pri_port, in osm_dump_switch_info_record_to_buf()
2121 p_sir->switch_info.def_mcast_not_port, in osm_dump_switch_info_record_to_buf()
2122 p_sir->switch_info.life_state, in osm_dump_switch_info_record_to_buf()
2123 cl_ntoh16(p_sir->switch_info.lids_per_port), in osm_dump_switch_info_record_to_buf()
2124 cl_ntoh16(p_sir->switch_info.enforce_cap), in osm_dump_switch_info_record_to_buf()
[all …]
H A Dosm_pkey_mgr.c75 num_pkeys = cl_ntoh16(p_node->sw->switch_info.enforce_cap); in pkey_mgr_get_physp_max_pkeys()
712 if (!p_node->sw || !p_node->sw->switch_info.enforce_cap) in pkey_mgr_update_peer_port()
778 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) <= last_index) { in pkey_mgr_update_peer_port()
782 cl_ntoh16(p_node->sw->switch_info.enforce_cap), in pkey_mgr_update_peer_port()
H A Dosm_dump.c583 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) == FALSE) in print_node_report()
603 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) == FALSE) in print_node_report()
H A Dosm_sw_info_rcv.c361 if (ib_switch_info_is_enhanced_port0(&node->sw->switch_info) && in si_rcv_get_sp0_info()
H A Dosm_state_mgr.c473 !ib_switch_info_is_enhanced_port0(&p_port->p_node->sw->switch_info)) in state_mgr_is_sm_port_down()
665 if (!ib_switch_info_get_state_change(&p_sw->switch_info)) in state_mgr_reset_state_change_bit()
668 si = p_sw->switch_info; in state_mgr_reset_state_change_bit()
H A Dosm_link_mgr.c156 if (ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) in link_mgr_set_physp_pi()
H A Dosm_port.c634 (cl_ntoh16(p_physp->p_node->sw->switch_info.enforce_cap) + in osm_physp_set_pkey_tbl()
H A Dosm_switch.c137 p_sw->switch_info = *p_si; in osm_switch_new()
H A Dosm_perfmgr.c565 switch_info)); in collect_guids()
951 !ib_switch_info_is_enhanced_port0(&p_port->p_node->sw->switch_info)) in is_sm_port_down()
H A Dosm_mcast_mgr.c1069 si = p_sw->switch_info; in mcast_mgr_set_mfttop()
H A Dosm_lid_mgr.c1007 } else if (ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info)) { in lid_mgr_set_physp_pi()
H A Dosm_ucast_mgr.c936 si = p_sw->switch_info; in ucast_mgr_set_fwd_top()
/freebsd-14.2/sys/dev/ice/
H A Dice_switch.c1564 struct ice_switch_info *sw = hw->switch_info; in ice_create_vsi_list_map()
1785 sw = hw->switch_info; in ice_update_sw_rule_bridge_mode()
2917 struct ice_switch_info *sw = hw->switch_info; in ice_rem_all_sw_rules_info()
3394 vid, hw->switch_info, in ice_get_vsi_vlan_promisc()
3411 recp_list = &hw->switch_info->recp_list[recp_id]; in ice_remove_promisc()
3518 vid, hw->switch_info); in ice_clear_vsi_promisc()
3671 hw->switch_info); in ice_set_vsi_promisc()
3756 hw->switch_info); in ice_set_vlan_vsi_promisc()
4234 struct ice_switch_info *sw = hw->switch_info; in ice_replay_all_fltr()
4329 sw = hw->switch_info; in ice_replay_vsi_all_fltr()
[all …]
H A Dice_ddp_common.c1250 hw->switch_info->max_used_prof_index = max_prof_index; in ice_get_prof_index_max()
1675 ice_zero_bitmap(hw->switch_info->prof_res_bm[off], in ice_init_prof_result_bm()
1686 hw->switch_info->prof_res_bm[off]); in ice_init_prof_result_bm()
H A Dice_common.c850 hw->switch_info = (struct ice_switch_info *) in ice_init_fltr_mgmt_struct()
851 ice_malloc(hw, sizeof(*hw->switch_info)); in ice_init_fltr_mgmt_struct()
853 sw = hw->switch_info; in ice_init_fltr_mgmt_struct()
861 status = ice_init_def_sw_recp(hw, &hw->switch_info->recp_list); in ice_init_fltr_mgmt_struct()
863 ice_free(hw, hw->switch_info); in ice_init_fltr_mgmt_struct()
941 ice_cleanup_fltr_mgmt_single(hw, hw->switch_info); in ice_cleanup_fltr_mgmt_struct()
5848 struct ice_switch_info *sw = hw->switch_info; in ice_replay_vsi()
H A Dice_type.h1116 struct ice_switch_info *switch_info; /* switch filter lists */ member
/freebsd-14.2/contrib/ofed/infiniband-diags/src/
H A Dsaquery.c542 cl_ntoh16(p_sir->switch_info.lin_cap), in dump_switch_info_record()
543 cl_ntoh16(p_sir->switch_info.rand_cap), in dump_switch_info_record()
544 cl_ntoh16(p_sir->switch_info.mcast_cap), in dump_switch_info_record()
545 cl_ntoh16(p_sir->switch_info.lin_top), in dump_switch_info_record()
546 p_sir->switch_info.def_port, in dump_switch_info_record()
547 p_sir->switch_info.def_mcast_pri_port, in dump_switch_info_record()
548 p_sir->switch_info.def_mcast_not_port, in dump_switch_info_record()
549 p_sir->switch_info.life_state, in dump_switch_info_record()
550 cl_ntoh16(p_sir->switch_info.lids_per_port), in dump_switch_info_record()
551 cl_ntoh16(p_sir->switch_info.enforce_cap), in dump_switch_info_record()
[all …]
H A Dsmpquery.c57 static op_fn_t node_desc, node_info, port_info, switch_info, pkey_table, variable
65 {"SwitchInfo", "SI", switch_info, 0, ""},
186 static char *switch_info(ib_portid_t * dest, char **argv, int argc) in switch_info() function
/freebsd-14.2/contrib/ofed/libibnetdisc/
H A Dibnetdisc.c73 uint8_t *switch_info = mad + IB_SMP_DATA_OFFS; in recv_switch_info() local
75 memcpy(node->switchinfo, switch_info, sizeof(node->switchinfo)); in recv_switch_info()

12