Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2934 const struct myri10ge_slice_netstats *slice_stats; in myri10ge_get_stats() local
2938 slice_stats = &mgp->ss[i].stats; in myri10ge_get_stats()
2939 stats->rx_packets += slice_stats->rx_packets; in myri10ge_get_stats()
2940 stats->tx_packets += slice_stats->tx_packets; in myri10ge_get_stats()
2941 stats->rx_bytes += slice_stats->rx_bytes; in myri10ge_get_stats()
2942 stats->tx_bytes += slice_stats->tx_bytes; in myri10ge_get_stats()
2943 stats->rx_dropped += slice_stats->rx_dropped; in myri10ge_get_stats()
2944 stats->tx_dropped += slice_stats->tx_dropped; in myri10ge_get_stats()