* [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst
@ 2018-07-12 6:01 Peng Yuan
2018-07-12 14:00 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Peng Yuan @ 2018-07-12 6:01 UTC (permalink / raw)
To: dts; +Cc: Peng Yuan
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst
2018-07-12 6:01 [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst Peng Yuan
@ 2018-07-12 14:00 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-07-12 14:00 UTC (permalink / raw)
To: Peng Yuan, dts
Thanks, yuan. Applied.
On 07/12/2018 02:01 PM, Peng Yuan wrote:
> Modified the vf number due to different vf number in different NIC type.
>
> Signed-off-by: Peng Yuan<yuan.peng@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-12 6:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12 6:01 [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst Peng Yuan
2018-07-12 14:00 ` Liu, Yong
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).