Searched refs:ring_total_stats (Results 1 – 1 of 1) sorted by relevance
2539 struct rtnl_link_stats64 ring_total_stats; in hns3_nic_get_stats64() local2548 memset(&ring_total_stats, 0, sizeof(ring_total_stats)); in hns3_nic_get_stats64()2552 hns3_fetch_stats(&ring_total_stats, ring, true); in hns3_nic_get_stats64()2556 hns3_fetch_stats(&ring_total_stats, ring, false); in hns3_nic_get_stats64()2559 stats->tx_bytes = ring_total_stats.tx_bytes; in hns3_nic_get_stats64()2560 stats->tx_packets = ring_total_stats.tx_packets; in hns3_nic_get_stats64()2561 stats->rx_bytes = ring_total_stats.rx_bytes; in hns3_nic_get_stats64()2562 stats->rx_packets = ring_total_stats.rx_packets; in hns3_nic_get_stats64()2564 stats->rx_errors = ring_total_stats.rx_errors; in hns3_nic_get_stats64()2565 stats->multicast = ring_total_stats.multicast; in hns3_nic_get_stats64()[all …]