DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] How to set the multiple queues per port in Virtual Machine
@ 2017-07-07 11:58 Mohanraj Venkat
  0 siblings, 0 replies; only message in thread
From: Mohanraj Venkat @ 2017-07-07 11:58 UTC (permalink / raw)
  To: dev, users

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-07 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-07 11:58 [dpdk-dev] How to set the multiple queues per port in Virtual Machine Mohanraj Venkat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).