[dpdk-dev] How to set the multiple queues per port in Virtual Machine

Mohanraj Venkat msvmohanraj at gmail.com
Fri Jul 7 13:58:16 CEST 2017


Hi,

We are using the ubuntu VM in openstack environment. We have set the below
option in Openstack to enable multi queue per port.

hw_vif_multiqueue_enabled=true


After launching the instance, we set the queue using the command "ethtool
-L ens4 combined 3". While checking the same as

below.

root at dpdk-multi:~/dpdk-17.05/examples/l2fwd# ethtool -l ens4

Channel parameters for ens4:

Pre-set maximums:

RX:             0

TX:             0

Other:          0

Combined:       3

Current hardware settings:

RX:             0

TX:             0

Other:          0

Combined:       3


After that, we are trying to run the DPDK sample l2fwd Application and
getting the queues configured for the port as below.


rte_eth_dev_info_get(portid, &dev_info);

printf ("************* port %d nb_rxq =%d nb_txq=%d \n", portid,
dev_info.nb_rx_queues, dev_info.nb_tx_queues);


But It is printing as 0. The number of queues are not configured while
running DPDK App.


How to configure the multiple queues here ?




Thanks,

Mohanraj V


More information about the dev mailing list