From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2D9AD2B91 for ; Thu, 5 Jan 2017 21:59:15 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP; 05 Jan 2017 12:59:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,322,1477983600"; d="scan'208";a="49761212" Received: from imail001.iil.intel.com ([10.184.207.12]) by orsmga005.jf.intel.com with ESMTP; 05 Jan 2017 12:59:13 -0800 Received: from rubyhost.iil.intel.com (rubyhost.iil.intel.com [143.185.141.69]) by imail001.iil.intel.com with ESMTP id v05KxAr6002472; Thu, 5 Jan 2017 22:59:10 +0200 From: Rami Rosen To: yong.liu@intel.com Cc: dts@dpdk.org, Rami Rosen Date: Thu, 5 Jan 2017 22:59:51 +0200 Message-Id: <1483649991-3353-1-git-send-email-rami.rosen@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dts] [PATCH] test_plans: set max_vfs to 4 when creating 4 VFs in sriov_kvm test plan. 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, 05 Jan 2017 20:59:16 -0000 When creating 4 VFs, we should set max_vfs to 4 and not to 2. This patch fixes this assignment. Signed-off-by: Rami Rosen --- test_plans/sriov_kvm_test_plan.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_plans/sriov_kvm_test_plan.rst b/test_plans/sriov_kvm_test_plan.rst index 5317d10..713c217 100644 --- a/test_plans/sriov_kvm_test_plan.rst +++ b/test_plans/sriov_kvm_test_plan.rst @@ -465,7 +465,7 @@ them to VM0, VM1, VM2 and VM3.Start PF driver on the Host and skip the VF driver will has been already attached to VMs:: On PF ./tools/pci_unbind.py --bind=igb_uio 0000:08:00.0 - echo 2 > /sys/bus/pci/devices/0000\:08\:00.0/max_vfs + echo 4 > /sys/bus/pci/devices/0000\:08\:00.0/max_vfs ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -b 0000:08:10.0 -b 0000:08:10.2 -b 0000:08:10.4 -b 0000:08:10.6 -- -i If you want to run all common 4VM cases, please run testpmd on VM0, VM1, VM2 -- 1.9.1