DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] RSS when doing VF to VF on 82599 NICs
@ 2017-11-10 14:56 Olivier MATZ
  0 siblings, 0 replies; only message in thread
From: Olivier MATZ @ 2017-11-10 14:56 UTC (permalink / raw)
  To: dev, wenzhuo.lu, konstantin.ananyev

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

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

only message in thread, other threads:[~2017-11-10 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10 14:56 [dpdk-dev] RSS when doing VF to VF on 82599 NICs Olivier MATZ

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).