Lines Matching defs:stats

344 		ring->stats.tx_busy++;
347 ring->stats.sw_err_cnt++;
363 ring->stats.sw_err_cnt++;
377 ring->stats.sw_err_cnt++;
390 ndev->stats.tx_bytes += skb->len;
391 ndev->stats.tx_packets++;
589 ring->stats.sw_err_cnt++;
615 ring->stats.seg_pkt_cnt++;
645 ring->stats.err_bd_num++;
655 ring->stats.non_vld_descs++;
662 ring->stats.err_pkt_len++;
668 ring->stats.l2_err++;
673 ring->stats.rx_pkts++;
674 ring->stats.rx_bytes += skb->len;
696 ring->stats.reuse_pg_cnt++;
701 ring->stats.sw_err_cnt++;
760 /* ring->stats.rx_bytes overflowed */
761 if (ring->coal_last_rx_bytes > ring->stats.rx_bytes) {
762 ring->coal_last_rx_bytes = ring->stats.rx_bytes;
767 total_bytes = ring->stats.rx_bytes - ring->coal_last_rx_bytes;
772 ring->coal_last_rx_bytes = ring->stats.rx_bytes;
990 ring->stats.io_err_cnt++;
1002 ring->stats.tx_pkts += pkts;
1003 ring->stats.tx_bytes += bytes;
1020 ring->stats.restart_queue++;
1230 h->dev->ops->update_stats(h, &netdev->stats);
1896 struct rtnl_link_stats64 *stats)
1907 tx_bytes += h->qs[idx]->tx_ring.stats.tx_bytes;
1908 tx_pkts += h->qs[idx]->tx_ring.stats.tx_pkts;
1909 rx_bytes += h->qs[idx]->rx_ring.stats.rx_bytes;
1910 rx_pkts += h->qs[idx]->rx_ring.stats.rx_pkts;
1913 stats->tx_bytes = tx_bytes;
1914 stats->tx_packets = tx_pkts;
1915 stats->rx_bytes = rx_bytes;
1916 stats->rx_packets = rx_pkts;
1918 stats->rx_errors = ndev->stats.rx_errors;
1919 stats->multicast = ndev->stats.multicast;
1920 stats->rx_length_errors = ndev->stats.rx_length_errors;
1921 stats->rx_crc_errors = ndev->stats.rx_crc_errors;
1922 stats->rx_missed_errors = ndev->stats.rx_missed_errors;
1924 stats->tx_errors = ndev->stats.tx_errors;
1925 stats->rx_dropped = ndev->stats.rx_dropped;
1926 stats->tx_dropped = ndev->stats.tx_dropped;
1927 stats->collisions = ndev->stats.collisions;
1928 stats->rx_over_errors = ndev->stats.rx_over_errors;
1929 stats->rx_frame_errors = ndev->stats.rx_frame_errors;
1930 stats->rx_fifo_errors = ndev->stats.rx_fifo_errors;
1931 stats->tx_aborted_errors = ndev->stats.tx_aborted_errors;
1932 stats->tx_carrier_errors = ndev->stats.tx_carrier_errors;
1933 stats->tx_fifo_errors = ndev->stats.tx_fifo_errors;
1934 stats->tx_heartbeat_errors = ndev->stats.tx_heartbeat_errors;
1935 stats->tx_window_errors = ndev->stats.tx_window_errors;
1936 stats->rx_compressed = ndev->stats.rx_compressed;
1937 stats->tx_compressed = ndev->stats.tx_compressed;