Lines Matching refs:sw_stats

1692 			cpr->sw_stats.rx.rx_oom_discards += 1;  in bnxt_tpa_end()
1702 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1718 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1729 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1908 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
1930 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1956 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1970 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1980 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1989 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
2034 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2116 cpr->sw_stats.rx.rx_netpoll_discards += 1; in bnxt_force_rx_discard()
4186 kfree(stats->sw_stats); in bnxt_free_stats_mem()
4187 stats->sw_stats = NULL; in bnxt_free_stats_mem()
4203 stats->sw_stats = kzalloc(stats->len, GFP_KERNEL); in bnxt_alloc_stats_mem()
4204 if (!stats->sw_stats) in bnxt_alloc_stats_mem()
8304 static void __bnxt_accumulate_stats(__le64 *hw_stats, u64 *sw_stats, u64 *masks, in __bnxt_accumulate_stats() argument
8316 sw_stats[i] = hw; in __bnxt_accumulate_stats()
8318 bnxt_add_one_ctr(hw, &sw_stats[i], masks[i]); in __bnxt_accumulate_stats()
8327 __bnxt_accumulate_stats(stats->hw_stats, stats->sw_stats, in bnxt_accumulate_stats()
8350 __bnxt_accumulate_stats(stats->hw_stats, stats->sw_stats, in bnxt_accumulate_all_stats()
8357 u64 *sw_stats = stats->sw_stats; in bnxt_accumulate_all_stats() local
8362 __bnxt_accumulate_stats(hw_stats, sw_stats, masks, cnt, false); in bnxt_accumulate_all_stats()
8365 sw_stats += BNXT_TX_PORT_STATS_BYTE_OFFSET / 8; in bnxt_accumulate_all_stats()
8368 __bnxt_accumulate_stats(hw_stats, sw_stats, masks, cnt, false); in bnxt_accumulate_all_stats()
9412 cpr->sw_stats.rx.rx_resets++; in bnxt_enable_napi()
10839 u64 *sw = cpr->stats.sw_stats; in bnxt_get_ring_stats()
10865 cpr->sw_stats.rx.rx_netpoll_discards + in bnxt_get_ring_stats()
10866 cpr->sw_stats.rx.rx_oom_discards; in bnxt_get_ring_stats()
10905 u64 *rx = bp->port_stats.sw_stats; in bnxt_get_stats64()
10906 u64 *tx = bp->port_stats.sw_stats + in bnxt_get_stats64()
11725 cpr->sw_stats.rx.rx_resets++; in bnxt_rx_ring_reset()
11935 cpr->sw_stats.cmn.missed_irqs++; in bnxt_chk_missed_irq()