Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c74 static const struct nfp_et_stat nfp_mac_et_stats[] = { variable
1049 return ARRAY_SIZE(nfp_mac_et_stats); in nfp_mac_get_stats_count()
1061 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats_strings()
1062 ethtool_sprintf(&data, "mac.%s", nfp_mac_et_stats[i].name); in nfp_mac_get_stats_strings()
1076 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats()
1077 *data++ = readq(port->eth_stats + nfp_mac_et_stats[i].off); in nfp_mac_get_stats()