DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier MATZ <olivier.matz@6wind.com>
To: dev@dpdk.org, wenzhuo.lu@intel.com, konstantin.ananyev@intel.com
Subject: [dpdk-dev] RSS when doing VF to VF on 82599 NICs
Date: Fri, 10 Nov 2017 15:56:09 +0100	[thread overview]
Message-ID: <20171110145607.gbmki5cncydlr6qs@platinum> (raw)

Hi,

I have a setup where a host and a guest communicates via 2 VFs (Intel
Niantic):

+----------------------------------------+
|                                  VM    |
|     +---+                              |
|     |   |                              |
|     |   v   testpmd                    |
|             icmpecho mode              |
|    +-----+  (replies to ping)          |
|    |VF1.2|                             |
|    |     |                             |
|    +-----+                             |
|                                        |
|     ^   |                              |
+---  | - | -----------------------------+           +-------------+
|     |   v                        HOST  |           |             |
|  . . . . . . . . . . . . . . . . . . . |           | traffic     |
|  . +-----+                           . |           | generator   |
|  . |VF1.1|  <----         <-----   +---+  <------  |             |
|  . |     |     dpdk l3fwd          |PF0|           | send pings  |
|  . +-----+  ---->         ----->   |   |  ------>  | at high rate|
|  .                                 +---+           |             |
|  . . . . . . . . . . . . . . . . . . . |           | count       |
|       +------+                         |           | received    |
|       | PF1  |                         |           | responses   |
+-------+------+-------------------------+           +-------------+
       unused


VF1.1 and VF1.2 are associated to PF1.

The dpdk application in the host manages PF0 and VF1.1, while PF1
is managed by the Linux kernel.

This test works, but we noticed that RSS is not working: only one queue
receives packets on VF1.1 or VF1.2.


Our understanding of the Intel 82599 datasheets is that RSS should work
in VFs, the limitation is that there is only one shared RETA table and
RSS hash/key for PF and VFs.

We didn't find anything saying that RSS does not work when doing VF to
VF. Is it supposed to work? If yes, is there anything specific to do to
enable it?

Thanks,
Olivier

                 reply	other threads:[~2017-11-10 14:56 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=20171110145607.gbmki5cncydlr6qs@platinum \
    --to=olivier.matz@6wind.com \
    --cc=dev@dpdk.org \
    --cc=konstantin.ananyev@intel.com \
    --cc=wenzhuo.lu@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).