Home
last modified time | relevance | path

Searched refs:tx_buffer (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/examples/multi_process/client_server_mp/mp_client/
H A Dclient.c50 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
139 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffer()
142 if (tx_buffer[port_id] == NULL) in configure_tx_buffer()
146 rte_eth_tx_buffer_init(tx_buffer[port_id], size); in configure_tx_buffer()
148 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffer()
191 struct rte_eth_dev_tx_buffer *buffer = tx_buffer[out_port]; in handle_packet()
259 tx_buffer[port]); in main()
/f-stack/dpdk/examples/l2fwd-event/
H A Dl2fwd_poll.c20 buffer = ((struct l2fwd_poll_resources *)rsrc->poll_rsrc)->tx_buffer[ in l2fwd_poll_simple_forward()
74 buf = poll_rsrc->tx_buffer[port_id]; in l2fwd_poll_main_loop()
147 poll_rsrc->tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in l2fwd_poll_init_tx_buffers()
150 if (poll_rsrc->tx_buffer[port_id] == NULL) in l2fwd_poll_init_tx_buffers()
154 rte_eth_tx_buffer_init(poll_rsrc->tx_buffer[port_id], in l2fwd_poll_init_tx_buffers()
158 poll_rsrc->tx_buffer[port_id], in l2fwd_poll_init_tx_buffers()
H A Dl2fwd_poll.h19 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member
/f-stack/dpdk/examples/packet_ordering/
H A Dmain.c221 free_tx_buffers(struct rte_eth_dev_tx_buffer *tx_buffer[]) { in free_tx_buffers() argument
230 rte_free(tx_buffer[port_id]); in free_tx_buffers()
248 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffers()
251 if (tx_buffer[port_id] == NULL) in configure_tx_buffers()
255 rte_eth_tx_buffer_init(tx_buffer[port_id], MAX_PKTS_BURST); in configure_tx_buffers()
257 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffers()
540 configure_tx_buffers(tx_buffer); in send_thread()
597 outbuf = tx_buffer[outp1]; in send_thread()
604 free_tx_buffers(tx_buffer); in send_thread()
625 configure_tx_buffers(tx_buffer); in tx_thread()
[all …]
/f-stack/dpdk/examples/server_node_efd/node/
H A Dnode.c53 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
143 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffer()
146 if (tx_buffer[port_id] == NULL) in configure_tx_buffer()
150 rte_eth_tx_buffer_init(tx_buffer[port_id], size); in configure_tx_buffer()
152 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffer()
258 struct rte_eth_dev_tx_buffer *buffer = tx_buffer[out_port]; in transmit_packet()
374 tx_buffer[port]); in main()
/f-stack/dpdk/examples/qos_meter/
H A Dmain.c89 struct rte_eth_dev_tx_buffer *tx_buffer; variable
186 rte_eth_tx_buffer_flush(port_tx, NIC_TX_QUEUE, tx_buffer); in main_loop()
201 rte_eth_tx_buffer(port_tx, NIC_TX_QUEUE, tx_buffer, pkt); in main_loop()
422 tx_buffer = rte_zmalloc_socket("tx_buffer", in main()
425 if (tx_buffer == NULL) in main()
429 rte_eth_tx_buffer_init(tx_buffer, PKT_TX_BURST_MAX); in main()
/f-stack/dpdk/examples/link_status_interrupt/
H A Dmain.c77 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
187 buffer = tx_buffer[dst_port]; in lsi_simple_forward()
241 buffer = tx_buffer[portid]; in lsi_main_loop()
683 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
686 if (tx_buffer[portid] == NULL) in main()
690 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main()
692 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
/f-stack/dpdk/examples/l2fwd-keepalive/
H A Dmain.c79 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
186 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward()
251 buffer = tx_buffer[portid]; in l2fwd_main_loop()
701 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
704 if (tx_buffer[portid] == NULL) in main()
708 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main()
710 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
/f-stack/dpdk/examples/l2fwd/
H A Dmain.c90 static struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
191 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward()
246 buffer = tx_buffer[portid]; in l2fwd_main_loop()
829 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
832 if (tx_buffer[portid] == NULL) in main()
836 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main()
838 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Dopae_spi_transaction.c151 unsigned char *tx_buffer; in byte_to_core_convert() local
194 tx_buffer = send_packet; in byte_to_core_convert()
200 ret = spi_command(dev->dev, dev->chipselect, tx_len, tx_buffer, in byte_to_core_convert()
210 tx_buffer = NULL; in byte_to_core_convert()
/f-stack/dpdk/examples/l2fwd-jobstats/
H A Dmain.c88 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
357 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward()
454 buffer = tx_buffer[portid]; in l2fwd_flush_job()
904 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
907 if (tx_buffer[portid] == NULL) in main()
911 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main()
913 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
/f-stack/dpdk/examples/ioat/
H A Dioatfwd.c106 static struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable
877 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in port_init()
880 if (tx_buffer[portid] == NULL) in port_init()
885 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in port_init()
887 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in port_init()
/f-stack/dpdk/examples/l3fwd-power/
H A Dmain.c362 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member
485 qconf->tx_buffer[port], m); in send_single_packet()
969 qconf->tx_buffer[portid]); in main_intr_loop()
1127 qconf->tx_buffer[portid]); in main_telemetry_loop()
1241 qconf->tx_buffer[portid]); in main_empty_poll_loop()
1359 qconf->tx_buffer[portid]); in main_legacy_loop()
2611 qconf->tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
2614 if (qconf->tx_buffer[portid] == NULL) in main()
2618 rte_eth_tx_buffer_init(qconf->tx_buffer[portid], MAX_PKT_BURST); in main()
/f-stack/dpdk/examples/l3fwd-acl/
H A Dmain.c1350 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member
1371 qconf->tx_buffer[port], m); in send_single_packet()
1464 qconf->tx_buffer[portid]); in main_loop()
2132 qconf->tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main()
2135 if (qconf->tx_buffer[portid] == NULL) in main()
2139 rte_eth_tx_buffer_init(qconf->tx_buffer[portid], MAX_PKT_BURST); in main()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_event.rst587 buffer = tx_buffer[dst_port];
619 buffer = tx_buffer[portid];