From: Mohanraj Venkat <msvmohanraj@gmail.com>
To: dev@dpdk.org, users@dpdk.org
Subject: [dpdk-users] How to set the multiple queues per port in Virtual Machine
Date: Fri, 7 Jul 2017 17:28:16 +0530 [thread overview]
Message-ID: <CAH9UErUdVM3hrpFQDrCQRzRSVp3jqwUb63=G5VWVP5yp+QvVZg@mail.gmail.com> (raw)
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
reply other threads:[~2017-07-07 11:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH9UErUdVM3hrpFQDrCQRzRSVp3jqwUb63=G5VWVP5yp+QvVZg@mail.gmail.com' \
--to=msvmohanraj@gmail.com \
--cc=dev@dpdk.org \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).