[dts] [PATCH] test_plans: set max_vfs to 4 when creating 4 VFs in sriov_kvm test plan.

Liu, Yong yong.liu at intel.com
Wed Jan 11 09:11:33 CET 2017


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 <rami.rosen at intel.com>
> ---
>   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



More information about the dts mailing list