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

12

/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h97 ib_switch_info_t switch_info; member in struct:osm_switch
125 * switch_info
529 ib_switch_info_is_enhanced_port0(&p_sw->switch_info)) ? 1 : 0;
562 return cl_ntoh16(p_sw->switch_info.lin_top) / IB_SMP_DATA_SIZE;
622 return (p_sw->switch_info.mcast_cap != 0);
652 p_sw->switch_info = *p_si;
1051 return cl_ntoh16(p_sw->switch_info.mcast_cap);
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_slvl_map_rcv.c124 startoutport = ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) ? 0 : 1;
130 startinport = ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) ? 0 : 1;
H A Dosm_sa_sw_info_record.c94 p_rec_item->resp.swinfo_rec.switch_info = p_sw->switch_info;
178 osm_dump_switch_info_v2(p_ctxt->sa->p_log, &p_sw->switch_info,
H A Dosm_mlnx_ext_port_info_rcv.c119 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info))
H A Dosm_qos.c331 if (ib_switch_info_get_opt_sl2vlmapping(&node->sw->switch_info) &&
385 out = ib_switch_info_is_enhanced_port0(&node->sw->switch_info) ? 0 : 1;
505 (&p_node->sw->switch_info))
508 if (ib_switch_info_get_opt_sl2vlmapping(&p_node->sw->switch_info) &&
H A Dosm_port_info_rcv.c226 !ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info))
405 !ib_switch_info_get_state_change(&p_node->sw->switch_info) &&
501 p_node->sw->switch_info.enforce_cap = 0;
504 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) == 0)
507 max_blocks = (cl_ntoh16(p_node->sw->switch_info.enforce_cap) +
639 return (ib_switch_info_get_state_change(&p_node->sw->switch_info) ? 1 : p_physp->need_update);
H A Dosm_helper.c2115 cl_ntoh16(p_sir->switch_info.lin_cap),
2116 cl_ntoh16(p_sir->switch_info.rand_cap),
2117 cl_ntoh16(p_sir->switch_info.mcast_cap),
2118 cl_ntoh16(p_sir->switch_info.lin_top),
2119 p_sir->switch_info.def_port,
2120 p_sir->switch_info.def_mcast_pri_port,
2121 p_sir->switch_info.def_mcast_not_port,
2122 p_sir->switch_info.life_state,
2123 cl_ntoh16(p_sir->switch_info.lids_per_port),
2124 cl_ntoh16(p_sir->switch_info
[all...]
H A Dosm_pkey_mgr.c75 num_pkeys = cl_ntoh16(p_node->sw->switch_info.enforce_cap);
712 if (!p_node->sw || !p_node->sw->switch_info.enforce_cap)
778 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) <= last_index) {
782 cl_ntoh16(p_node->sw->switch_info.enforce_cap),
H A Dosm_dump.c583 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) == FALSE)
603 ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info) == FALSE)
H A Dosm_sw_info_rcv.c361 if (ib_switch_info_is_enhanced_port0(&node->sw->switch_info) &&
H A Dosm_state_mgr.c473 !ib_switch_info_is_enhanced_port0(&p_port->p_node->sw->switch_info))
665 if (!ib_switch_info_get_state_change(&p_sw->switch_info))
668 si = p_sw->switch_info;
H A Dosm_port.c634 (cl_ntoh16(p_physp->p_node->sw->switch_info.enforce_cap) +
H A Dosm_switch.c137 p_sw->switch_info = *p_si;
H A Dosm_link_mgr.c156 if (ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info)
H A Dosm_mcast_mgr.c1069 si = p_sw->switch_info;
H A Dosm_lid_mgr.c1007 } else if (ib_switch_info_is_enhanced_port0(&p_node->sw->switch_info)) {
H A Dosm_perfmgr.c565 switch_info));
951 !ib_switch_info_is_enhanced_port0(&p_port->p_node->sw->switch_info))
H A Dosm_ucast_mgr.c936 si = p_sw->switch_info;
/freebsd-current/contrib/ofed/infiniband-diags/src/
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) function
H A Dsaquery.c542 cl_ntoh16(p_sir->switch_info.lin_cap),
543 cl_ntoh16(p_sir->switch_info.rand_cap),
544 cl_ntoh16(p_sir->switch_info.mcast_cap),
545 cl_ntoh16(p_sir->switch_info.lin_top),
546 p_sir->switch_info.def_port,
547 p_sir->switch_info.def_mcast_pri_port,
548 p_sir->switch_info.def_mcast_not_port,
549 p_sir->switch_info.life_state,
550 cl_ntoh16(p_sir->switch_info.lids_per_port),
551 cl_ntoh16(p_sir->switch_info
[all...]
/freebsd-current/sys/dev/ice/
H A Dice_switch.c1556 struct ice_switch_info *sw = hw->switch_info;
1776 sw = hw->switch_info;
2501 return ice_add_mac_rule(hw, m_list, hw->switch_info,
2698 return ice_add_vlan_rule(hw, v_list, hw->switch_info);
2752 return ice_add_eth_mac_rule(hw, em_list, hw->switch_info,
2800 return ice_remove_eth_mac_rule(hw, em_list, hw->switch_info);
2906 struct ice_switch_info *sw = hw->switch_info;
2939 recp_list = &pi->hw->switch_info->recp_list[ICE_SW_LKUP_DFLT];
2990 recp_list = &pi->hw->switch_info->recp_list[ICE_SW_LKUP_DFLT];
3111 recp_list = &hw->switch_info
[all...]
H A Dice_ddp_common.c1205 * and store the index number in struct ice_switch_info *switch_info
1246 hw->switch_info->max_used_prof_index = max_prof_index;
1680 ice_zero_bitmap(hw->switch_info->prof_res_bm[off],
1691 hw->switch_info->prof_res_bm[off]);
H A Dice_common.c780 hw->switch_info = (struct ice_switch_info *)
781 ice_malloc(hw, sizeof(*hw->switch_info));
783 sw = hw->switch_info;
791 status = ice_init_def_sw_recp(hw, &hw->switch_info->recp_list);
793 ice_free(hw, hw->switch_info);
871 ice_cleanup_fltr_mgmt_single(hw, hw->switch_info);
5556 struct ice_switch_info *sw = hw->switch_info;
H A Dice_type.h1096 struct ice_switch_info *switch_info; /* switch filter lists */ member in struct:ice_hw
/freebsd-current/contrib/ofed/libibnetdisc/
H A Dibnetdisc.c73 uint8_t *switch_info = mad + IB_SMP_DATA_OFFS; local
75 memcpy(node->switchinfo, switch_info, sizeof(node->switchinfo));

Completed in 158 milliseconds

12