[V2,2/3] test_plans: modify dts because of i40evf removed

Message ID 20211020181005.332986-3-yanx.xia@intel.com (mailing list archive)
State Accepted
Headers
Series *** modify dts because of i40evf removed *** |

Commit Message

Yan Xia Oct. 20, 2021, 6:10 p.m. UTC
  modify dts because of i40evf removed
dpdk commit-id:c65f9258

Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
 test_plans/ddp_gtp_test_plan.rst                 | 2 +-
 test_plans/ddp_mpls_test_plan.rst                | 2 +-
 test_plans/floating_veb_test_plan.rst            | 4 ++--
 test_plans/runtime_vf_queue_number_test_plan.rst | 2 +-
 test_plans/veb_switch_test_plan.rst              | 4 ++--
 test_plans/vf_pf_reset_test_plan.rst             | 4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)
  

Comments

Lin, Xueqin Oct. 22, 2021, 6:31 a.m. UTC | #1
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Yan Xia
> Sent: Thursday, October 21, 2021 2:10 AM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCH V2 2/3] test_plans: modify dts because of i40evf removed
> 
> modify dts because of i40evf removed
> dpdk commit-id:c65f9258
> 
> Signed-off-by: Yan Xia <yanx.xia@intel.com>
Acked-by: Xueqin Lin <xueqin.lin@intel.com>
> ---
>  test_plans/ddp_gtp_test_plan.rst                 | 2 +-
>  test_plans/ddp_mpls_test_plan.rst                | 2 +-
>  test_plans/floating_veb_test_plan.rst            | 4 ++--
>  test_plans/runtime_vf_queue_number_test_plan.rst | 2 +-
>  test_plans/veb_switch_test_plan.rst              | 4 ++--
>  test_plans/vf_pf_reset_test_plan.rst             | 4 ++--
>  6 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/test_plans/ddp_gtp_test_plan.rst
> b/test_plans/ddp_gtp_test_plan.rst
> index cea2993f..9172b597 100644
> --- a/test_plans/ddp_gtp_test_plan.rst
> +++ b/test_plans/ddp_gtp_test_plan.rst
> @@ -70,7 +70,7 @@ Prerequisites
> 
>  3. Detach VF from the host::
> 
> -    rmmod i40evf
> +    rmmod iavf
> 
>  4. Pass through VF 81:10.0 to vm0, start vm0.
> 
> diff --git a/test_plans/ddp_mpls_test_plan.rst
> b/test_plans/ddp_mpls_test_plan.rst
> index cce8efb5..d76934c1 100644
> --- a/test_plans/ddp_mpls_test_plan.rst
> +++ b/test_plans/ddp_mpls_test_plan.rst
> @@ -60,7 +60,7 @@ Prerequisites
> 
>  2. Detach VF from the host::
> 
> -     rmmod i40evf
> +     rmmod iavf
> 
>  3. Pass through VF 81:10.0 to vm0, start vm0.
> 
> diff --git a/test_plans/floating_veb_test_plan.rst
> b/test_plans/floating_veb_test_plan.rst
> index 1522b53b..37f6fc09 100644
> --- a/test_plans/floating_veb_test_plan.rst
> +++ b/test_plans/floating_veb_test_plan.rst
> @@ -99,8 +99,8 @@ Prerequisites for VEB testing
>        ./dpdk-devbind.py -b igb_uio 05:00.0
>        echo 2 >/sys/bus/pci/devices/0000:05:00.0/max_vfs
>        ./dpdk-devbind.py --st
> -      0000:05:02.0 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
> -      0000:05:02.1 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
> +      0000:05:02.0 'XL710/X710 Virtual Function' unused=iavf,igb_uio
> +      0000:05:02.1 'XL710/X710 Virtual Function' unused=iavf,igb_uio
> 
>  4. Bind the VFs to dpdk driver::
> 
> diff --git a/test_plans/runtime_vf_queue_number_test_plan.rst
> b/test_plans/runtime_vf_queue_number_test_plan.rst
> index 9d4f9538..b0c2c3a9 100644
> --- a/test_plans/runtime_vf_queue_number_test_plan.rst
> +++ b/test_plans/runtime_vf_queue_number_test_plan.rst
> @@ -338,7 +338,7 @@ Verify error information::
>  Test case 7: Reserve VF queue number when VF bind to kernel driver
> ==================================================================
> 
> -1. bind vf to kernel driver i40evf::
> +1. bind vf to kernel driver iavf::
> 
>       ./usertools/dpdk-devbind.py -b i40e 0000:18:02.0
> 
> diff --git a/test_plans/veb_switch_test_plan.rst
> b/test_plans/veb_switch_test_plan.rst
> index ca8bd7e0..1d7d11c2 100644
> --- a/test_plans/veb_switch_test_plan.rst
> +++ b/test_plans/veb_switch_test_plan.rst
> @@ -86,8 +86,8 @@ Prerequisites for VEB testing
>        ./dpdk-devbind.py -b igb_uio 05:00.0
>        echo 2 >/sys/bus/pci/devices/0000:05:00.0/max_vfs
>        ./dpdk-devbind.py --st
> -      0000:05:02.0 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
> -      0000:05:02.1 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
> +      0000:05:02.0 'XL710/X710 Virtual Function' unused=iavf,igb_uio
> +      0000:05:02.1 'XL710/X710 Virtual Function' unused=iavf,igb_uio
> 
>  4. Bind the VFs to dpdk driver::
> 
> diff --git a/test_plans/vf_pf_reset_test_plan.rst
> b/test_plans/vf_pf_reset_test_plan.rst
> index 009e99a9..574d4510 100644
> --- a/test_plans/vf_pf_reset_test_plan.rst
> +++ b/test_plans/vf_pf_reset_test_plan.rst
> @@ -589,11 +589,11 @@ test Case 10: vf reset (two vfs passed through to
> two VM)
>     using `lspci -nn|grep -i ethernet` got VF device id, for example "8086 154c"::
> 
>       echo "8086 154c" > /sys/bus/pci/drivers/pci-stub/new_id
> -     echo "0000:82:02.0" > /sys/bus/pci/drivers/i40evf/unbind
> +     echo "0000:82:02.0" > /sys/bus/pci/drivers/iavf/unbind
>       echo "0000:82:02.0" > /sys/bus/pci/drivers/pci-stub/bind
> 
>       echo "8086 154c" > /sys/bus/pci/drivers/pci-stub/new_id
> -     echo "0000:82:02.1" > /sys/bus/pci/drivers/i40evf/unbind
> +     echo "0000:82:02.1" > /sys/bus/pci/drivers/iavf/unbind
>       echo "0000:82:02.1" > /sys/bus/pci/drivers/pci-stub/bind
> 
>  3. Pass through VF0 81:02.0 to vm0, VF1 81:02.1 to vm1::
> --
> 2.33.1
  

Patch

diff --git a/test_plans/ddp_gtp_test_plan.rst b/test_plans/ddp_gtp_test_plan.rst
index cea2993f..9172b597 100644
--- a/test_plans/ddp_gtp_test_plan.rst
+++ b/test_plans/ddp_gtp_test_plan.rst
@@ -70,7 +70,7 @@  Prerequisites
 
 3. Detach VF from the host::
 
-    rmmod i40evf
+    rmmod iavf
 
 4. Pass through VF 81:10.0 to vm0, start vm0.
 
diff --git a/test_plans/ddp_mpls_test_plan.rst b/test_plans/ddp_mpls_test_plan.rst
index cce8efb5..d76934c1 100644
--- a/test_plans/ddp_mpls_test_plan.rst
+++ b/test_plans/ddp_mpls_test_plan.rst
@@ -60,7 +60,7 @@  Prerequisites
 
 2. Detach VF from the host::
 
-     rmmod i40evf
+     rmmod iavf
 
 3. Pass through VF 81:10.0 to vm0, start vm0.
 
diff --git a/test_plans/floating_veb_test_plan.rst b/test_plans/floating_veb_test_plan.rst
index 1522b53b..37f6fc09 100644
--- a/test_plans/floating_veb_test_plan.rst
+++ b/test_plans/floating_veb_test_plan.rst
@@ -99,8 +99,8 @@  Prerequisites for VEB testing
       ./dpdk-devbind.py -b igb_uio 05:00.0
       echo 2 >/sys/bus/pci/devices/0000:05:00.0/max_vfs
       ./dpdk-devbind.py --st
-      0000:05:02.0 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
-      0000:05:02.1 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
+      0000:05:02.0 'XL710/X710 Virtual Function' unused=iavf,igb_uio
+      0000:05:02.1 'XL710/X710 Virtual Function' unused=iavf,igb_uio
 
 4. Bind the VFs to dpdk driver::
 
diff --git a/test_plans/runtime_vf_queue_number_test_plan.rst b/test_plans/runtime_vf_queue_number_test_plan.rst
index 9d4f9538..b0c2c3a9 100644
--- a/test_plans/runtime_vf_queue_number_test_plan.rst
+++ b/test_plans/runtime_vf_queue_number_test_plan.rst
@@ -338,7 +338,7 @@  Verify error information::
 Test case 7: Reserve VF queue number when VF bind to kernel driver
 ==================================================================
 
-1. bind vf to kernel driver i40evf::
+1. bind vf to kernel driver iavf::
 
      ./usertools/dpdk-devbind.py -b i40e 0000:18:02.0
 
diff --git a/test_plans/veb_switch_test_plan.rst b/test_plans/veb_switch_test_plan.rst
index ca8bd7e0..1d7d11c2 100644
--- a/test_plans/veb_switch_test_plan.rst
+++ b/test_plans/veb_switch_test_plan.rst
@@ -86,8 +86,8 @@  Prerequisites for VEB testing
       ./dpdk-devbind.py -b igb_uio 05:00.0
       echo 2 >/sys/bus/pci/devices/0000:05:00.0/max_vfs
       ./dpdk-devbind.py --st
-      0000:05:02.0 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
-      0000:05:02.1 'XL710/X710 Virtual Function' unused=i40evf,igb_uio
+      0000:05:02.0 'XL710/X710 Virtual Function' unused=iavf,igb_uio
+      0000:05:02.1 'XL710/X710 Virtual Function' unused=iavf,igb_uio
 
 4. Bind the VFs to dpdk driver::
 
diff --git a/test_plans/vf_pf_reset_test_plan.rst b/test_plans/vf_pf_reset_test_plan.rst
index 009e99a9..574d4510 100644
--- a/test_plans/vf_pf_reset_test_plan.rst
+++ b/test_plans/vf_pf_reset_test_plan.rst
@@ -589,11 +589,11 @@  test Case 10: vf reset (two vfs passed through to two VM)
    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086 154c"::
 
      echo "8086 154c" > /sys/bus/pci/drivers/pci-stub/new_id
-     echo "0000:82:02.0" > /sys/bus/pci/drivers/i40evf/unbind
+     echo "0000:82:02.0" > /sys/bus/pci/drivers/iavf/unbind
      echo "0000:82:02.0" > /sys/bus/pci/drivers/pci-stub/bind
 
      echo "8086 154c" > /sys/bus/pci/drivers/pci-stub/new_id
-     echo "0000:82:02.1" > /sys/bus/pci/drivers/i40evf/unbind
+     echo "0000:82:02.1" > /sys/bus/pci/drivers/iavf/unbind
      echo "0000:82:02.1" > /sys/bus/pci/drivers/pci-stub/bind
 
 3. Pass through VF0 81:02.0 to vm0, VF1 81:02.1 to vm1::