From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B2B541B4E2 for ; Thu, 12 Jul 2018 08:00:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2018 23:00:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,341,1526367600"; d="scan'208";a="66276923" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 11 Jul 2018 23:00:04 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Thu, 12 Jul 2018 14:01:19 +0800 Message-Id: <1531375279-79093-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] test_plans: runtime_queue_number_test_plan.rst X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 06:00:07 -0000 Modified the vf number due to different vf number in different NIC type. Signed-off-by: Peng Yuan 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