Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c74 static const struct nfp_et_stat nfp_mac_et_stats[] = { variable
850 return ARRAY_SIZE(nfp_mac_et_stats); in nfp_mac_get_stats_count()
862 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats_strings()
863 ethtool_sprintf(&data, "mac.%s", nfp_mac_et_stats[i].name); in nfp_mac_get_stats_strings()
877 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats()
878 *data++ = readq(port->eth_stats + nfp_mac_et_stats[i].off); in nfp_mac_get_stats()