Lines Matching refs:ring_total_stats
2534 struct rtnl_link_stats64 ring_total_stats; in hns3_nic_get_stats64() local
2543 memset(&ring_total_stats, 0, sizeof(ring_total_stats)); in hns3_nic_get_stats64()
2547 hns3_fetch_stats(&ring_total_stats, ring, true); in hns3_nic_get_stats64()
2551 hns3_fetch_stats(&ring_total_stats, ring, false); in hns3_nic_get_stats64()
2554 stats->tx_bytes = ring_total_stats.tx_bytes; in hns3_nic_get_stats64()
2555 stats->tx_packets = ring_total_stats.tx_packets; in hns3_nic_get_stats64()
2556 stats->rx_bytes = ring_total_stats.rx_bytes; in hns3_nic_get_stats64()
2557 stats->rx_packets = ring_total_stats.rx_packets; in hns3_nic_get_stats64()
2559 stats->rx_errors = ring_total_stats.rx_errors; in hns3_nic_get_stats64()
2560 stats->multicast = ring_total_stats.multicast; in hns3_nic_get_stats64()
2561 stats->rx_length_errors = ring_total_stats.rx_length_errors; in hns3_nic_get_stats64()
2562 stats->rx_crc_errors = ring_total_stats.rx_crc_errors; in hns3_nic_get_stats64()
2565 stats->tx_errors = ring_total_stats.tx_errors; in hns3_nic_get_stats64()
2566 stats->rx_dropped = ring_total_stats.rx_dropped; in hns3_nic_get_stats64()
2567 stats->tx_dropped = ring_total_stats.tx_dropped; in hns3_nic_get_stats64()