- for (queueid = 0; queueid < n_tx_queue; queueid++) {
- fflush(stdout);
- ret = rte_eth_tx_queue_setup((uint8_t) portid,
- (uint16_t) queueid, nb_txd,
- SOCKET0, &tx_conf);
- if (ret < 0)
- rte_exit(EXIT_FAILURE, "rte_eth_tx_queue_setup: err=%d, "
- "port=%u queue=%u\n",
- ret, portid, queueid);
- }
+ fflush(stdout);
+ ret = rte_eth_tx_queue_setup((uint8_t) portid, 0, nb_txd,
+ SOCKET0, &tx_conf);
+ if (ret < 0)
+ rte_exit(EXIT_FAILURE, "rte_eth_tx_queue_setup: err=%d,port=%u\n",
+ ret, portid);