Home
last modified time | relevance | path

Searched refs:stat_index (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_stat.c989 uint_t stat_index; in mac_driver_stat_default() local
992 stat_index = stat - MAC_STAT_MIN; in mac_driver_stat_default()
993 ASSERT(stat_index < MAC_NKSTAT); in mac_driver_stat_default()
994 return (i_mac_si[stat_index].msi_default); in mac_driver_stat_default()
997 stat_index = stat - MACTYPE_STAT_MIN; in mac_driver_stat_default()
998 ASSERT(stat_index < mip->mi_type->mt_statcount); in mac_driver_stat_default()
999 return (mip->mi_type->mt_stats[stat_index].msi_default); in mac_driver_stat_default()
/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_grp.c1887 uint_t stat_index; in aggr_grp_stat() local
1910 stat_index = stat - MAC_STAT_MIN; in aggr_grp_stat()
1911 *val -= port->lp_stat[stat_index]; in aggr_grp_stat()
1912 *val += grp->lg_stat[stat_index]; in aggr_grp_stat()
1914 stat_index = stat - MACTYPE_STAT_MIN; in aggr_grp_stat()
1915 *val -= port->lp_ether_stat[stat_index]; in aggr_grp_stat()
1916 *val += grp->lg_ether_stat[stat_index]; in aggr_grp_stat()
/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_prototype.h328 u16 vlan_id, u16 *stat_index,
331 u16 vlan_id, u16 stat_index,
H A Di40e_common.c4822 u16 vlan_id, u16 *stat_index, in i40e_aq_add_statistics() argument
4830 if ((seid == 0) || (stat_index == NULL)) in i40e_aq_add_statistics()
4840 if (!status && stat_index) in i40e_aq_add_statistics()
4841 *stat_index = LE16_TO_CPU(cmd_resp->stat_index); in i40e_aq_add_statistics()
4859 u16 vlan_id, u16 stat_index, in i40e_aq_remove_statistics() argument
4875 cmd->stat_index = CPU_TO_LE16(stat_index); in i40e_aq_remove_statistics()
H A Di40e_adminq_cmd.h706 __le16 stat_index; member