test suite reviews and discussions
 help / color / mirror / Atom feed
From: Peng Yuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: Peng Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst
Date: Thu, 12 Jul 2018 14:01:19 +0800	[thread overview]
Message-ID: <1531375279-79093-1-git-send-email-yuan.peng@intel.com> (raw)

Modified the vf number due to different vf number in different NIC type.

Signed-off-by: Peng Yuan <yuan.peng@intel.com>

diff --git a/test_plans/runtime_queue_number_test_plan.rst b/test_plans/runtime_queue_number_test_plan.rst
index fc07bb5..e1e9bc0 100644
--- a/test_plans/runtime_queue_number_test_plan.rst
+++ b/test_plans/runtime_queue_number_test_plan.rst
@@ -289,16 +289,21 @@ Test case: VF max queue number when VF bound to kernel driver
 3. Repeat step1-2 with "queue-num-per-vf=1/4/8/16", check the rxq and txq
    number is 1/4/8/16.
 
-Test case: set VF max queue number with 32 VFs on one PF port
+Test case: set VF max queue number with max VFs on one PF port
 =============================================================
 
-1. Set up 32 VFs from one PF with DPDK driver::
+1. Set up max VFs from one PF with DPDK driver
+   Create 32 vfs on four ports fortville NIC::
 
     echo 32 > /sys/bus/pci/devices/0000\:05\:00.0/max_vfs
 
+   Create 64 vfs on two ports fortville NIC::
+
+    echo 64 > /sys/bus/pci/devices/0000\:05\:00.0/max_vfs
+
    Bind the two of the VFs to DPDK driver::
 
-    ./usertools/dpdk-devbind.py -b vfio-pci 05:02.0 05:05.7 
+    ./usertools/dpdk-devbind.py -b vfio-pci 05:02.0 05:05.7
 
 2. Set VF max queue number to 16::
 
@@ -307,6 +312,7 @@ Test case: set VF max queue number with 32 VFs on one PF port
 
    PF port failed to started with "i40e_pf_parameter_init():
    Failed to allocate 577 queues, which exceeds the hardware maximum 384"
+   If create 64 vfs, the maximum is 768.
 
 3. Set VF max queue number to 8::
 
@@ -354,6 +360,9 @@ Test case: set VF max queue number with 32 VFs on one PF port
     RX queues=8 - RX desc=128 - RX free threshold=32
     TX queues=7 - TX desc=512 - TX free threshold=32
 
+5. Send 256 packets to VF0 and VF1, make sure packets can be distributed
+   to all the queues.
+
 Test case: pass through VF to VM
 ================================
 
-- 
2.7.4

             reply	other threads:[~2018-07-12  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-12  6:01 Peng Yuan [this message]
2018-07-12 14:00 ` Liu, Yong

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=1531375279-79093-1-git-send-email-yuan.peng@intel.com \
    --to=yuan.peng@intel.com \
    --cc=dts@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).