Lines Matching full:stats

378 	struct fbnic_queue_stats *stats;  in fbnic_get_stats64()  local
384 stats = &fbn->tx_stats; in fbnic_get_stats64()
386 tx_bytes = stats->bytes; in fbnic_get_stats64()
387 tx_packets = stats->packets; in fbnic_get_stats64()
388 tx_dropped = stats->dropped; in fbnic_get_stats64()
408 stats = &txr->stats; in fbnic_get_stats64()
410 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_stats64()
411 tx_bytes = stats->bytes; in fbnic_get_stats64()
412 tx_packets = stats->packets; in fbnic_get_stats64()
413 tx_dropped = stats->dropped; in fbnic_get_stats64()
414 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_stats64()
421 stats = &fbn->rx_stats; in fbnic_get_stats64()
423 rx_bytes = stats->bytes; in fbnic_get_stats64()
424 rx_packets = stats->packets; in fbnic_get_stats64()
425 rx_dropped = stats->dropped; in fbnic_get_stats64()
430 * Exclude the BMC and MC FIFOs as those stats may contain drops in fbnic_get_stats64()
432 * accessible through the ethtool stats. in fbnic_get_stats64()
463 stats = &rxr->stats; in fbnic_get_stats64()
465 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_stats64()
466 rx_bytes = stats->bytes; in fbnic_get_stats64()
467 rx_packets = stats->packets; in fbnic_get_stats64()
468 rx_dropped = stats->dropped; in fbnic_get_stats64()
469 rx_length = stats->rx.length_errors; in fbnic_get_stats64()
470 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_stats64()
481 stats = &xdpr->stats; in fbnic_get_stats64()
483 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_stats64()
484 tx_bytes = stats->bytes; in fbnic_get_stats64()
485 tx_packets = stats->packets; in fbnic_get_stats64()
486 tx_dropped = stats->dropped; in fbnic_get_stats64()
487 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_stats64()
550 struct fbnic_queue_stats *stats; in fbnic_get_queue_stats_rx() local
561 stats = &rxr->stats; in fbnic_get_queue_stats_rx()
563 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_queue_stats_rx()
564 bytes = stats->bytes; in fbnic_get_queue_stats_rx()
565 packets = stats->packets; in fbnic_get_queue_stats_rx()
566 alloc_fail = stats->rx.alloc_failed; in fbnic_get_queue_stats_rx()
567 csum_complete = stats->rx.csum_complete; in fbnic_get_queue_stats_rx()
568 csum_none = stats->rx.csum_none; in fbnic_get_queue_stats_rx()
569 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_queue_stats_rx()
571 stats = &qt->sub0.stats; in fbnic_get_queue_stats_rx()
573 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_queue_stats_rx()
574 alloc_fail_bdq = stats->bdq.alloc_failed; in fbnic_get_queue_stats_rx()
575 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_queue_stats_rx()
578 stats = &qt->sub1.stats; in fbnic_get_queue_stats_rx()
580 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_queue_stats_rx()
581 alloc_fail_bdq = stats->bdq.alloc_failed; in fbnic_get_queue_stats_rx()
582 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_queue_stats_rx()
606 struct fbnic_queue_stats *stats; in fbnic_get_queue_stats_tx() local
615 stats = &txr->stats; in fbnic_get_queue_stats_tx()
617 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_queue_stats_tx()
618 bytes = stats->bytes; in fbnic_get_queue_stats_tx()
619 packets = stats->packets; in fbnic_get_queue_stats_tx()
620 csum = stats->twq.csum_partial; in fbnic_get_queue_stats_tx()
621 lso = stats->twq.lso; in fbnic_get_queue_stats_tx()
622 stop = stats->twq.stop; in fbnic_get_queue_stats_tx()
623 wake = stats->twq.wake; in fbnic_get_queue_stats_tx()
624 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_queue_stats_tx()
635 stats = &xdpr->stats; in fbnic_get_queue_stats_tx()
637 start = u64_stats_fetch_begin(&stats->syncp); in fbnic_get_queue_stats_tx()
638 bytes = stats->bytes; in fbnic_get_queue_stats_tx()
639 packets = stats->packets; in fbnic_get_queue_stats_tx()
640 } while (u64_stats_fetch_retry(&stats->syncp, start)); in fbnic_get_queue_stats_tx()