Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c71 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 data = nfp_pr_et(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()
/kernel/linux/linux-6.6/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()

Completed in 5 milliseconds