Lines Matching refs:nb_queues
410 int nb_queues = pconf->nb_lcores; in init_dispatch_ring() local
415 sizeof(struct rte_ring *) * nb_queues, in init_dispatch_ring()
423 for(queueid = 0; queueid < nb_queues; ++queueid) { in init_dispatch_ring()
542 set_rss_table(uint16_t port_id, uint16_t reta_size, uint16_t nb_queues) in set_rss_table() argument
556 reta_conf[i].reta[j] = hash++ % nb_queues; in set_rss_table()
578 uint16_t nb_queues = pconf->nb_lcores; in init_port_start() local
601 if (nb_queues > dev_info.max_rx_queues) { in init_port_start()
603 nb_queues, in init_port_start()
607 if (nb_queues > dev_info.max_tx_queues) { in init_port_start()
609 nb_queues, in init_port_start()
721 ret = rte_eth_dev_configure(port_id, nb_queues, nb_queues, &port_conf); in init_port_start()
734 for (q = 0; q < nb_queues; q++) { in init_port_start()
794 if (nb_queues > 1) { in init_port_start()
798 set_rss_table(port_id, dev_info.reta_size, nb_queues); in init_port_start()
899 int nb_queues = pconf->nb_lcores; in create_tcp_flow() local
902 for (i = 0, j = 0; i < nb_queues; ++i) in create_tcp_flow()
1269 uint16_t nb_queues = qconf->nb_queue_list[port_id]; local
1291 int ret = (*packet_dispatcher)(data, &len, queue_id, nb_queues);
1314 if (ret == FF_DISPATCH_ERROR || ret >= nb_queues) {
1338 for(j = 0; j < nb_queues; ++j) {
2042 uint16_t nb_queues = qconf->nb_queue_list[ctx->port_id]; local
2044 if (nb_queues <= 1) {
2071 return ((hash & (reta_size - 1)) % nb_queues) == queueid;