| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 229 uint16_t i, nb_rx_queue; in init_lcore_rx_queues() local 234 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 235 if (nb_rx_queue >= MAX_RX_QUEUE_PER_LCORE) { in init_lcore_rx_queues() 237 (unsigned int)nb_rx_queue + 1, in init_lcore_rx_queues() 242 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id = in init_lcore_rx_queues() 244 lcore_conf[lcore].rx_queue_list[nb_rx_queue].queue_id = in init_lcore_rx_queues() 734 uint8_t nb_rx_queue, queue, socketid; in main() local 800 nb_rx_queue = get_port_n_rx_queues(portid); in main() 805 nb_rx_queue, n_tx_queue); in main() 824 ret = rte_eth_dev_configure(portid, nb_rx_queue, in main() [all …]
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | main.c | 250 uint16_t i, nb_rx_queue; in init_lcore_rx_queues() local 255 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 256 if (nb_rx_queue >= MAX_RX_QUEUE_PER_LCORE) { in init_lcore_rx_queues() 258 (unsigned)nb_rx_queue + 1, (unsigned)lcore); in init_lcore_rx_queues() 261 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id = in init_lcore_rx_queues() 263 lcore_conf[lcore].rx_queue_list[nb_rx_queue].queue_id = in init_lcore_rx_queues() 551 (nports*nb_rx_queue*nb_rxd + \ 899 uint8_t nb_rx_queue, queue, socketid; in l3fwd_poll_resource_setup() local 937 nb_rx_queue = get_port_n_rx_queues(portid); in l3fwd_poll_resource_setup() 942 nb_rx_queue, (unsigned)n_tx_queue ); in l3fwd_poll_resource_setup() [all …]
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 216 uint16_t nb_rx_queue; member 1200 if (qconf->nb_rx_queue == 0) { in ipsec_poll_mode_worker() 1336 uint16_t i, nb_rx_queue; in init_lcore_rx_queues() local 1341 nb_rx_queue = lcore_conf[lcore].nb_rx_queue; in init_lcore_rx_queues() 1344 nb_rx_queue + 1, lcore); in init_lcore_rx_queues() 1351 lcore_conf[lcore].nb_rx_queue++; in init_lcore_rx_queues() 2128 uint16_t nb_tx_queue, nb_rx_queue; in port_init() local 2160 if (nb_rx_queue > dev_info.max_rx_queues) in port_init() 2163 nb_rx_queue, dev_info.max_rx_queues); in port_init() 2171 nb_rx_queue, nb_tx_queue); in port_init() [all …]
|
| /f-stack/lib/ |
| H A D | ff_memory.h | 86 uint16_t nb_rx_queue; member
|
| H A D | ff_dpdk_if.c | 280 uint16_t nb_rx_queue = lcore_conf.nb_rx_queue; in init_lcore_conf() local 281 lcore_conf.rx_queue_list[nb_rx_queue].port_id = port_id; in init_lcore_conf() 282 lcore_conf.rx_queue_list[nb_rx_queue].queue_id = queueid; in init_lcore_conf() 283 lcore_conf.nb_rx_queue++; in init_lcore_conf() 297 if (lcore_conf.nb_rx_queue == 0) { in init_lcore_conf() 310 uint32_t nb_rx_queue = lcore_conf.nb_rx_queue * nb_lcores; in init_mem_pool() local 314 (nb_rx_queue * (max_portid + 1) * 2 * RX_QUEUE_SIZE + in init_mem_pool() 1876 for (i = 0; i < qconf->nb_rx_queue; ++i) {
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 108 (nb_ports*nb_rx_queue*nb_rxd + \ 1569 uint16_t i, nb_rx_queue; in init_lcore_rx_queues() local 1574 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 1575 if (nb_rx_queue >= MAX_RX_QUEUE_PER_LCORE) { in init_lcore_rx_queues() 1577 (unsigned)nb_rx_queue + 1, (unsigned)lcore); in init_lcore_rx_queues() 2463 uint8_t nb_rx_queue, queue, socketid; in main() local 2539 nb_rx_queue = get_port_n_rx_queues(portid); in main() 2540 if (nb_rx_queue > dev_rxq_num) in main() 2549 nb_rx_queue, (unsigned)n_tx_queue ); in main() 2551 if (nb_rx_queue == 0) in main() [all …]
|
| /f-stack/dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 65 (nb_ports * nb_rx_queue * nb_rxd + \ 1582 uint16_t i, nb_rx_queue; in init_lcore_rx_queues() local 1587 nb_rx_queue = lcore_conf[lcore].n_rx_queue; in init_lcore_rx_queues() 1588 if (nb_rx_queue >= MAX_RX_QUEUE_PER_LCORE) { in init_lcore_rx_queues() 1590 (unsigned)nb_rx_queue + 1, (unsigned)lcore); in init_lcore_rx_queues() 1593 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id = in init_lcore_rx_queues() 1595 lcore_conf[lcore].rx_queue_list[nb_rx_queue].queue_id = in init_lcore_rx_queues() 2021 uint8_t nb_rx_queue, queue, socketid; in main() local 2069 nb_rx_queue = get_port_n_rx_queues(portid); in main() 2074 nb_rx_queue, (unsigned)n_tx_queue); in main() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_pmd_perf.c | 51 (unsigned)(nb_ports*nb_rx_queue*nb_rxd + \ 668 uint16_t nb_rx_queue = 1, nb_tx_queue = 1; in test_pmd_perf() local 717 ret = rte_eth_dev_configure(portid, nb_rx_queue, in test_pmd_perf()
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 160 (nb_ports*nb_rx_queue*nb_rxd + \ 2595 uint16_t i, nb_rx_queue; in init_rx_queues() local 2602 nb_rx_queue = rx_thread[thread].n_rx_queue; in init_rx_queues() 2604 if (nb_rx_queue >= MAX_RX_QUEUE_PER_LCORE) { in init_rx_queues() 2606 (unsigned)nb_rx_queue + 1, (unsigned)thread); in init_rx_queues() 2612 rx_thread[thread].rx_queue_list[nb_rx_queue].port_id = in init_rx_queues() 2614 rx_thread[thread].rx_queue_list[nb_rx_queue].queue_id = in init_rx_queues() 3499 uint8_t nb_rx_queue, queue, socketid; in main() local 3563 nb_rx_queue = get_port_n_rx_queues(portid); in main() 3568 nb_rx_queue, (unsigned)n_tx_queue); in main() [all …]
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | l3_forward_graph.rst | 141 ret = rte_eth_dev_configure(portid, nb_rx_queue, 157 ethdev_conf[nb_conf].num_rx_queues = nb_rx_queue;
|
| H A D | l3_forward_power_man.rst | 146 uint8_t nb_rx_queue, queue, socketid;
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev.h | 2101 int rte_eth_dev_configure(uint16_t port_id, uint16_t nb_rx_queue,
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | config.c | 3241 uint16_t nb_rx_queue, nb_tx_queue; in dcb_fwd_config_setup() local 3271 nb_rx_queue = txp_dcb_info.tc_queue.tc_rxq[i][tc].nb_queue; in dcb_fwd_config_setup() 3273 for (j = 0; j < nb_rx_queue; j++) { in dcb_fwd_config_setup()
|