Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 2 of 2) sorted by relevance

/dpdk/examples/distributor/
H A Dmain.c314 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()
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()
[all …]
/dpdk/examples/packet_ordering/
H A Dmain.c591 struct rte_eth_dev_tx_buffer *outbuf; in send_thread() local
601 outbuf = tx_buffer[outp1]; in send_thread()
602 sent = rte_eth_tx_buffer(outp1, 0, outbuf, rombufs[i]); in send_thread()
623 struct rte_eth_dev_tx_buffer *outbuf; in tx_thread() local
650 outbuf = tx_buffer[outp]; in tx_thread()
651 sent = rte_eth_tx_buffer(outp, 0, outbuf, mbufs[i]); in tx_thread()