Lines Matching refs:outbuf
311 flush_one_port(struct output_buffer *outbuf, uint8_t outp) in flush_one_port() argument
314 outbuf->mbufs, outbuf->count); in flush_one_port()
315 app_stats.tx.tx_pkts += outbuf->count; in flush_one_port()
317 if (unlikely(nb_tx < outbuf->count)) { in flush_one_port()
318 app_stats.tx.enqdrop_pkts += outbuf->count - nb_tx; in flush_one_port()
320 rte_pktmbuf_free(outbuf->mbufs[nb_tx]); in flush_one_port()
321 } while (++nb_tx < outbuf->count); in flush_one_port()
323 outbuf->count = 0; in flush_one_port()
440 struct output_buffer *outbuf; in lcore_tx() local
452 outbuf = &tx_buffers[outp]; in lcore_tx()
453 outbuf->mbufs[outbuf->count++] = bufs[i]; in lcore_tx()
454 if (outbuf->count == BURST_SIZE_TX) in lcore_tx()
455 flush_one_port(outbuf, outp); in lcore_tx()