Lines Matching refs:outbuf
315 flush_one_port(struct output_buffer *outbuf, uint8_t outp) in flush_one_port() argument
318 outbuf->mbufs, outbuf->count); in flush_one_port()
319 app_stats.tx.tx_pkts += outbuf->count; in flush_one_port()
321 if (unlikely(nb_tx < outbuf->count)) { in flush_one_port()
322 app_stats.tx.enqdrop_pkts += outbuf->count - nb_tx; in flush_one_port()
324 rte_pktmbuf_free(outbuf->mbufs[nb_tx]); in flush_one_port()
325 } while (++nb_tx < outbuf->count); in flush_one_port()
327 outbuf->count = 0; in flush_one_port()
444 struct output_buffer *outbuf; in lcore_tx() local
456 outbuf = &tx_buffers[outp]; in lcore_tx()
457 outbuf->mbufs[outbuf->count++] = bufs[i]; in lcore_tx()
458 if (outbuf->count == BURST_SIZE_TX) in lcore_tx()
459 flush_one_port(outbuf, outp); in lcore_tx()