Lines Matching refs:n_bytes
793 uint32_t n_pkts_max, struct pktq *pktq, uint32_t *n_bytes) in fsw_ring_dequeue_pktq() argument
803 *n_bytes = 0; in fsw_ring_dequeue_pktq()
822 *n_bytes += pkt->pkt_length; in fsw_ring_dequeue_pktq()
839 uint32_t n, n_pkts = 0, n_bytes = 0; in fsw_ring_enqueue_pktq() local
855 n_bytes += pkt->pkt_length; in fsw_ring_enqueue_pktq()
864 kr_update_stats(r, n_pkts, n_bytes); in fsw_ring_enqueue_pktq()
1780 uint32_t n_bytes = 0, n_pkts = 0; in fsw_devna_rx() local
1801 n_bytes += pkt->pkt_length; in fsw_devna_rx()
1817 total_bytes += n_bytes; in fsw_devna_rx()
1819 n_bytes = 0; in fsw_devna_rx()
2873 uint32_t n_bytes; in fsw_dev_ring_flush() local
2874 fsw_ring_dequeue_pktq(fsw, r, fsw_rx_batch, &pktq, &n_bytes); in fsw_dev_ring_flush()
2875 if (n_bytes == 0) { in fsw_dev_ring_flush()
2879 total_bytes += n_bytes; in fsw_dev_ring_flush()
2910 uint32_t n_bytes; in fsw_user_ring_flush() local
2911 fsw_ring_dequeue_pktq(fsw, r, fsw_tx_batch, &pktq, &n_bytes); in fsw_user_ring_flush()
2912 if (n_bytes == 0) { in fsw_user_ring_flush()
2916 total_bytes += n_bytes; in fsw_user_ring_flush()