| /dpdk/examples/qos_meter/ |
| H A D | main.c | 297 uint16_t nb_txd = NIC_TX_QUEUE_DESC; in main() local 352 ret = rte_eth_dev_adjust_nb_rx_tx_desc(port_rx, &nb_rxd, &nb_txd); in main() 367 ret = rte_eth_tx_queue_setup(port_rx, NIC_TX_QUEUE, nb_txd, in main() 399 nb_txd = NIC_TX_QUEUE_DESC; in main() 400 ret = rte_eth_dev_adjust_nb_rx_tx_desc(port_tx, &nb_rxd, &nb_txd); in main() 415 ret = rte_eth_tx_queue_setup(port_tx, NIC_TX_QUEUE, nb_txd, in main()
|
| /dpdk/examples/l2fwd-cat/ |
| H A D | l2fwd-cat.c | 36 uint16_t nb_txd = TX_RING_SIZE; in port_init() local 48 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in port_init() 62 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in port_init()
|
| /dpdk/examples/skeleton/ |
| H A D | basicfwd.c | 34 uint16_t nb_txd = TX_RING_SIZE; in port_init() local 61 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in port_init() 77 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in port_init()
|
| /dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_common.c | 11 uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; in l2fwd_event_init_ports() local 74 &nb_txd); in l2fwd_event_init_ports() 100 ret = rte_eth_tx_queue_setup(port_id, 0, nb_txd, in l2fwd_event_init_ports()
|
| H A D | l2fwd_common.h | 83 uint16_t nb_txd; member
|
| /dpdk/examples/ethtool/ethtool-app/ |
| H A D | main.c | 97 uint16_t nb_txd = PORT_TX_QUEUE_SIZE; in setup_ports() local 137 &nb_txd) < 0) in setup_ports() 149 idx_port, 0, nb_txd, in setup_ports()
|
| /dpdk/examples/bond/ |
| H A D | main.c | 136 uint16_t nb_txd = RTE_TX_DESC_DEFAULT; in slave_port_init() local 171 retval = rte_eth_dev_adjust_nb_rx_tx_desc(portid, &nb_rxd, &nb_txd); in slave_port_init() 190 retval = rte_eth_tx_queue_setup(portid, 0, nb_txd, in slave_port_init() 222 uint16_t nb_txd = RTE_TX_DESC_DEFAULT; in bond_port_init() local 251 retval = rte_eth_dev_adjust_nb_rx_tx_desc(BOND_PORT, &nb_rxd, &nb_txd); in bond_port_init() 276 retval = rte_eth_tx_queue_setup(BOND_PORT, 0, nb_txd, in bond_port_init()
|
| /dpdk/examples/rxtx_callbacks/ |
| H A D | main.c | 124 uint16_t nb_txd = TX_RING_SIZE; in port_init() local 166 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in port_init() 182 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in port_init()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_event.c | 100 &nb_txd); in l3fwd_eth_dev_port_setup() 123 nb_ports * nb_txd + in l3fwd_eth_dev_port_setup() 160 ret = rte_eth_tx_queue_setup(port_id, 0, nb_txd, 0, &txconf); in l3fwd_eth_dev_port_setup()
|
| H A D | main.c | 57 uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 732 nports*n_tx_queue*nb_txd + \ 802 parse_queue_size(optarg, &nb_txd, 0); in parse_args() 1248 &nb_txd); in l3fwd_poll_resource_setup() 1301 ret = rte_eth_tx_queue_setup(portid, queueid, nb_txd, in l3fwd_poll_resource_setup()
|
| /dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 199 uint16_t nb_txd = TX_RING_SIZE; in smp_port_init() local 252 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in smp_port_init() 270 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in smp_port_init()
|
| /dpdk/app/test/ |
| H A D | test_pmd_perf.c | 52 nb_ports*nb_tx_queue*nb_txd + \ 678 uint16_t nb_txd = MAX_TRAFFIC_BURST; in test_pmd_perf() local 707 nb_txd = RTE_TEST_TX_DESC_DEFAULT; in test_pmd_perf() 709 printf("CONFIG RXD=%d TXD=%d\n", nb_rxd, nb_txd); in test_pmd_perf() 749 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in test_pmd_perf()
|
| /dpdk/examples/kni/ |
| H A D | main.c | 594 uint16_t nb_txd = NB_TXD; in init_port() local 618 ret = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in init_port() 633 ret = rte_eth_tx_queue_setup(port, 0, nb_txd, in init_port() 770 uint16_t nb_txd = NB_TXD; in kni_change_mtu_() local 800 ret = rte_eth_dev_adjust_nb_rx_tx_desc(port_id, &nb_rxd, &nb_txd); in kni_change_mtu_() 827 ret = rte_eth_tx_queue_setup(port_id, 0, nb_txd, in kni_change_mtu_()
|
| /dpdk/examples/l2fwd/ |
| H A D | main.c | 61 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 767 nb_mbufs = RTE_MAX(nb_ports * (nb_rxd + nb_txd + MAX_PKT_BURST + in main() 813 &nb_txd); in main() 844 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in main()
|
| /dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 51 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 647 &nb_txd); in main() 689 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in main()
|
| /dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 60 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 441 nports * n_tx_queue * nb_txd + \ 855 &nb_txd); in main() 908 ret = rte_eth_tx_queue_setup(portid, queueid, nb_txd, in main()
|
| /dpdk/examples/ipv4_multicast/ |
| H A D | main.c | 82 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 750 &nb_txd); in main() 790 ret = rte_eth_tx_queue_setup(portid, queueid, nb_txd, in main()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 57 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 661 &nb_txd); in main() 691 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in main()
|
| /dpdk/examples/packet_ordering/ |
| H A D | main.c | 282 uint16_t nb_txd = TX_DESC_PER_QUEUE; in configure_eth_port() local 304 ret = rte_eth_dev_adjust_nb_rx_tx_desc(port_id, &nb_rxd, &nb_txd); in configure_eth_port() 319 ret = rte_eth_tx_queue_setup(port_id, q, nb_txd, in configure_eth_port()
|
| /dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 181 uint16_t nb_txd = TX_RING_SIZE; in port_init() local 210 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in port_init() 235 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in port_init()
|
| /dpdk/examples/ip_reassembly/ |
| H A D | main.c | 94 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 885 nb_mbuf += nb_rxd + nb_txd; in setup_queue_tbl() 1081 &nb_txd); in main() 1160 ret = rte_eth_tx_queue_setup(portid, queueid, nb_txd, in main()
|
| /dpdk/examples/dma/ |
| H A D | dmafwd.c | 115 static uint16_t nb_txd = TX_DEFAULT_RINGSIZE; variable 906 &nb_txd); in port_init() 930 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in port_init() 1035 nb_mbufs = RTE_MAX(nb_ports * (nb_queues * (nb_rxd + nb_txd + in main()
|
| /dpdk/examples/distributor/ |
| H A D | main.c | 115 uint16_t nb_txd = TX_RING_SIZE; in port_init() local 148 retval = rte_eth_dev_adjust_nb_rx_tx_desc(port, &nb_rxd, &nb_txd); in port_init() 163 retval = rte_eth_tx_queue_setup(port, q, nb_txd, in port_init()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 51 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 882 &nb_txd); in main() 913 ret = rte_eth_tx_queue_setup(portid, 0, nb_txd, in main()
|
| /dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 90 static uint16_t nb_txd = RTE_TEST_TX_DESC_DEFAULT; variable 974 &nb_txd); in main() 1026 ret = rte_eth_tx_queue_setup(portid, queueid, nb_txd, in main()
|