From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 42CDFD59A for ; Wed, 11 Jan 2017 09:15:55 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 11 Jan 2017 00:15:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="807543584" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by FMSMGA003.fm.intel.com with ESMTP; 11 Jan 2017 00:15:51 -0800 Message-ID: <5875E8B5.6060907@intel.com> Date: Wed, 11 Jan 2017 16:11:33 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Rami Rosen CC: dts@dpdk.org References: <1483649991-3353-1-git-send-email-rami.rosen@intel.com> In-Reply-To: <1483649991-3353-1-git-send-email-rami.rosen@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: Wed, 11 Jan 2017 08:15:55 -0000 Thanks Remi, applied. On 01/06/2017 04:59 AM, Rami Rosen wrote: > 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