DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Anant Mudambi <amudambi@paloaltonetworks.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Using multi-queue with RSS on X540 VF
Date: Mon, 15 Dec 2014 10:47:40 +0000	[thread overview]
Message-ID: <20141215104739.GA11332@bricha3-MOBL3> (raw)
In-Reply-To: <D0B0DA03.1F15%amudambi@paloaltonetworks.com>

On Sat, Dec 13, 2014 at 01:44:36AM +0000, Anant Mudambi wrote:
> Hi all,
> I am using DPDK 1.7.0.
> Qemu-KVM system with the Intel 10G X540 NIC; host has the Linux ixgbe PF driver and a guest is using a VF with the DPDK ixgbevf PMD (uio).
> I am trying to configure multiple (2 for now) receive queues on the VF and use RSS.
> I see packets coming only to queue 0 for some reason. Some questions about this:
> 
> 1] I see that most of the initial configuration to make multi-queue + RSS work is done in ixgbe_dev_mq_rx_configure()
>      [e.g. Setting up the redirect table and the MRQC register]. However, only the non-VF ixgbe_dev_rx_init() calls the above function;
>      ixgbevf_dev_rx_init() doesn't configure RSS-related hardware. Don't we need to do this configuration to use RSS on a VF?
> 2] Even after configuring the RSS-related hardware in ixgbevf PMD, packets only come to queue 0. I printed out the RSS-type and RSS-hash-value
>      fields from the write back Rx descriptor and they are both set to 0. So for some reason no RSS hash is being done for any packets.
> 3] Has anyone seen this kind of configuration work (multi-queue + RSS + VF)? I have an X540 NIC but has this worked on any other NIC for anyone?
> 4] Also any ideas on how to debug this problem further?
> 
> Thanks,
> Anant

RSS redirection of traffic in a VF is not supported by the hardware, so you are
pretty much stuck with all VF traffic going to queue 0. [Later hardware, such as
4x10G NICs e.g. "Intel® Ethernet Converged Network Adapters XL710" using the
i40e driver should support RSS with VFs]

/Bruce

  reply	other threads:[~2014-12-15 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-13  1:44 Anant Mudambi
2014-12-15 10:47 ` Bruce Richardson [this message]
2014-12-15 10:52   ` Bruce Richardson
2014-12-18 22:39     ` Anant Mudambi
2014-12-19  2:21       ` Ouyang, Changchun

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=20141215104739.GA11332@bricha3-MOBL3 \
    --to=bruce.richardson@intel.com \
    --cc=amudambi@paloaltonetworks.com \
    --cc=dev@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).