From: "Montorsi, Francesco" <fmontorsi@empirix.com>
To: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] how to use multiple RX queues on the same port
Date: Tue, 27 Oct 2015 10:12:10 +0000 [thread overview]
Message-ID: <abb30984ffca42179cea2db7bc3bb77a@bilemail1.empirix.com> (raw)
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8973C83C4E5@IRSMSX108.ger.corp.intel.com>
Hi Pablo,
> -----Original Message-----
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@intel.com]
> > Hi all,
> > To avoid rx_nombuf packet drops, I'm trying to configure a DPDK port
> > to use more than 1 RX queue... so I'm trying (on a 10Gbps card) to use 4 RX
> queues.
> > The call to rte_eth_dev_configure() and the 4 calls to
> > rte_eth_rx_queue_setup() succeed but then via the
> > rte_eth_rx_queue_count() API I see that only the first RX queue is
> > used. The remaining 3 seems unused... am I missing something?
>
> How are you configuring the port? Are you using RSS? I guess that's what you
> are looking for, so make sure that you are using the right
> mq_mode(ETH_MQ_RX_RSS).
No, I was not using RSS and this was indeed the problem. I enabled it as is done in e.g., l3fwd example, i.e., using the ETH_RSS_IP for the hash functions to apply. I now see that all 4 RX queues are correctly used.
Thanks!!
Francesco
prev parent reply other threads:[~2015-10-27 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 17:22 Montorsi, Francesco
2015-10-26 19:36 ` De Lara Guarch, Pablo
2015-10-27 10:12 ` Montorsi, Francesco [this message]
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=abb30984ffca42179cea2db7bc3bb77a@bilemail1.empirix.com \
--to=fmontorsi@empirix.com \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@intel.com \
/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).