Skip to content

Commit

Permalink
intel_mp: VMDq support for i350
Browse files Browse the repository at this point in the history
NB: the behavior of the test_1g_2q_blast_vmdq_auto.sh is fishy and there is
probably a bug here. Output looks like this:

nic1:
load: time: 5.00s  fps: 1,483,058 fpGbps: 0.819 fpb: 2   bpp: 60   sleep: 1   us
GPRC 1488238
RPTHC 1488238
nic2:
load: time: 5.00s  fps: 5,132     fpGbps: 0.003 fpb: 0   bpp: 60   sleep: 99  us

I.e., both pools receive packets (and the right ones too) but the second pool
receives way too little. FIXME?
  • Loading branch information
eugeneia committed Jun 15, 2018
1 parent 2814b7b commit 9c4e3ee
Show file tree
Hide file tree
Showing 9 changed files with 913 additions and 321 deletions.
14 changes: 8 additions & 6 deletions src/apps/intel_mp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,19 @@ For a given NIC, all driver instances should have this parameter either
enabled or disabled uniformly. If this is enabled, *macaddr* must be
specified.

— Key **vmdq_queuing_mode**
— Key **vmdq_queueing_mode**

*Optional*. Sets the queuing mode to use in VMDq mode. Has no effect when
VMDq is disabled. The available queuing modes are `"rss-64-2"`
*Optional*. Sets the queueing mode to use in VMDq mode. Has no effect when
VMDq is disabled. The available queueing modes for the 82599 are `"rss-64-2"`
(the default with 64 pools, 2 queues each) and `"rss-32-4"`
(32 pools, 4 queues each).
(32 pools, 4 queues each). The i350 provides only a single mode (8 pools, 2
queues each) and hence ignores this option.

— Key **poolnum**

*Optional*. The VMDq pool to associate with, numbered from 0. The default
is to select a pool number automatically. The maximum pool number depends
on the queuing mode.
on the queueing mode.

— Key **macaddr**

Expand Down Expand Up @@ -203,4 +204,5 @@ Each chipset supports a differing number of receive / transmit queues:

The Intel82599 supports both VMDq and RSS with 32/64 pools and 4/2 RSS queues for
each pool.
While the i350 supports VMDq, this driver does not currently support it.
Intel1g i350 supports both VMDq and RSS with 8 pools 2 queues for each pool.
Intel1g i210 does not support VMDq.
Loading

0 comments on commit 9c4e3ee

Please sign in to comment.