Searched refs:stat_index (Results 1 – 5 of 5) sorted by relevance
989 uint_t stat_index; in mac_driver_stat_default() local992 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()
1887 uint_t stat_index; in aggr_grp_stat() local1910 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()
328 u16 vlan_id, u16 *stat_index,331 u16 vlan_id, u16 stat_index,
4822 u16 vlan_id, u16 *stat_index, in i40e_aq_add_statistics() argument4830 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() argument4875 cmd->stat_index = CPU_TO_LE16(stat_index); in i40e_aq_remove_statistics()
706 __le16 stat_index; member