Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c73 static const struct nfp_et_stat nfp_mac_et_stats[] = { variable
658 return ARRAY_SIZE(nfp_mac_et_stats); in nfp_mac_get_stats_count()
670 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats_strings()
671 ethtool_sprintf(&data, "mac.%s", nfp_mac_et_stats[i].name); in nfp_mac_get_stats_strings()
685 for (i = 0; i < ARRAY_SIZE(nfp_mac_et_stats); i++) in nfp_mac_get_stats()
686 *data++ = readq(port->eth_stats + nfp_mac_et_stats[i].off); in nfp_mac_get_stats()