| /dpdk/examples/multi_process/client_server_mp/mp_client/ |
| H A D | client.c | 49 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 138 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffer() 141 if (tx_buffer[port_id] == NULL) in configure_tx_buffer() 145 rte_eth_tx_buffer_init(tx_buffer[port_id], size); in configure_tx_buffer() 147 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffer() 190 struct rte_eth_dev_tx_buffer *buffer = tx_buffer[out_port]; in handle_packet() 258 tx_buffer[port]); in main()
|
| /dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_poll.c | 20 buffer = ((struct l2fwd_poll_resources *)rsrc->poll_rsrc)->tx_buffer[ in l2fwd_poll_simple_forward() 75 buf = poll_rsrc->tx_buffer[port_id]; in l2fwd_poll_main_loop() 150 poll_rsrc->tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in l2fwd_poll_init_tx_buffers() 153 if (poll_rsrc->tx_buffer[port_id] == NULL) in l2fwd_poll_init_tx_buffers() 157 rte_eth_tx_buffer_init(poll_rsrc->tx_buffer[port_id], in l2fwd_poll_init_tx_buffers() 161 poll_rsrc->tx_buffer[port_id], in l2fwd_poll_init_tx_buffers()
|
| H A D | l2fwd_poll.h | 19 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member
|
| /dpdk/examples/packet_ordering/ |
| H A D | main.c | 228 free_tx_buffers(struct rte_eth_dev_tx_buffer *tx_buffer[]) { in free_tx_buffers() argument 237 rte_free(tx_buffer[port_id]); in free_tx_buffers() 255 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffers() 258 if (tx_buffer[port_id] == NULL) in configure_tx_buffers() 262 rte_eth_tx_buffer_init(tx_buffer[port_id], MAX_PKTS_BURST); in configure_tx_buffers() 264 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffers() 544 configure_tx_buffers(tx_buffer); in send_thread() 601 outbuf = tx_buffer[outp1]; in send_thread() 608 free_tx_buffers(tx_buffer); in send_thread() 629 configure_tx_buffers(tx_buffer); in tx_thread() [all …]
|
| /dpdk/examples/server_node_efd/node/ |
| H A D | node.c | 52 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 142 tx_buffer[port_id] = rte_zmalloc_socket("tx_buffer", in configure_tx_buffer() 145 if (tx_buffer[port_id] == NULL) in configure_tx_buffer() 149 rte_eth_tx_buffer_init(tx_buffer[port_id], size); in configure_tx_buffer() 151 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[port_id], in configure_tx_buffer() 260 struct rte_eth_dev_tx_buffer *buffer = tx_buffer[out_port]; in transmit_packet() 380 tx_buffer[port]); in main()
|
| /dpdk/examples/qos_meter/ |
| H A D | main.c | 86 struct rte_eth_dev_tx_buffer *tx_buffer; variable 185 rte_eth_tx_buffer_flush(port_tx, NIC_TX_QUEUE, tx_buffer); in main_loop() 200 rte_eth_tx_buffer(port_tx, NIC_TX_QUEUE, tx_buffer, pkt); in main_loop() 421 tx_buffer = rte_zmalloc_socket("tx_buffer", in main() 424 if (tx_buffer == NULL) in main() 428 rte_eth_tx_buffer_init(tx_buffer, RTE_MBUF_F_TX_BURST_MAX); in main()
|
| /dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 77 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 190 buffer = tx_buffer[dst_port]; in lsi_simple_forward() 246 buffer = tx_buffer[portid]; in lsi_main_loop() 698 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 701 if (tx_buffer[portid] == NULL) in main() 705 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main() 707 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 78 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 185 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward() 251 buffer = tx_buffer[portid]; in l2fwd_main_loop() 700 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 703 if (tx_buffer[portid] == NULL) in main() 707 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main() 709 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
|
| /dpdk/examples/l2fwd/ |
| H A D | main.c | 93 static struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 195 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward() 252 buffer = tx_buffer[portid]; in l2fwd_main_loop() 853 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 856 if (tx_buffer[portid] == NULL) in main() 860 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main() 862 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 89 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 359 buffer = tx_buffer[dst_port]; in l2fwd_simple_forward() 463 buffer = tx_buffer[portid]; in l2fwd_flush_job() 923 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 926 if (tx_buffer[portid] == NULL) in main() 930 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in main() 932 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in main()
|
| /dpdk/examples/dma/ |
| H A D | dmafwd.c | 125 static struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; variable 939 tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in port_init() 942 if (tx_buffer[portid] == NULL) in port_init() 947 rte_eth_tx_buffer_init(tx_buffer[portid], MAX_PKT_BURST); in port_init() 949 ret = rte_eth_tx_buffer_set_err_callback(tx_buffer[portid], in port_init()
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 367 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member 490 qconf->tx_buffer[port], m); in send_single_packet() 982 qconf->tx_buffer[portid]); in main_intr_loop() 1141 qconf->tx_buffer[portid]); in main_telemetry_loop() 1255 qconf->tx_buffer[portid]); in main_empty_poll_loop() 1373 qconf->tx_buffer[portid]); in main_legacy_loop() 2701 qconf->tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 2704 if (qconf->tx_buffer[portid] == NULL) in main() 2708 rte_eth_tx_buffer_init(qconf->tx_buffer[portid], MAX_PKT_BURST); in main()
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_spi_transaction.c | 117 unsigned char *tx_buffer, in do_spi_txrx() argument 134 ret = spi_write(dev->dev, dev->chipselect, tx_len, tx_buffer); in do_spi_txrx()
|
| /dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1361 struct rte_eth_dev_tx_buffer *tx_buffer[RTE_MAX_ETHPORTS]; member 1383 qconf->tx_buffer[port], m); in send_single_packet() 1476 qconf->tx_buffer[portid]); in main_loop() 2140 qconf->tx_buffer[portid] = rte_zmalloc_socket("tx_buffer", in main() 2143 if (qconf->tx_buffer[portid] == NULL) in main() 2147 rte_eth_tx_buffer_init(qconf->tx_buffer[portid], MAX_PKT_BURST); in main()
|