[V1,1/2] test_plans/pvp_share_lib_test_plan: add testcase3 to test Intel E800 seriers nic

Message ID 20230201024546.775357-1-weix.ling@intel.com (mailing list archive)
State Changes Requested
Headers
Series add testcase3 to test Intel E800 series NCI |

Commit Message

Ling, WeiX Feb. 1, 2023, 2:45 a.m. UTC
  Add testcase3 to test Intel E800 seriers nic and modify testcase 1 the
wrong lib version.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/pvp_share_lib_test_plan.rst | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)
  

Comments

Tu, Lijuan March 7, 2023, 3:14 a.m. UTC | #1
> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Wednesday, February 1, 2023 10:46 AM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1 1/2] test_plans/pvp_share_lib_test_plan: add testcase3
> to test Intel E800 seriers nic
> 
> Add testcase3 to test Intel E800 seriers nic and modify testcase 1 the wrong lib
> version.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>
> ---
>  test_plans/pvp_share_lib_test_plan.rst | 23 +++++++++++++++++------
>  1 file changed, 17 insertions(+), 6 deletions(-)
> 
......
> +
> +Test Case 3: Vhost/virtio-user pvp share lib test with Intel® Ethernet
> +800 Series
> +================================================================
> =======
> +==========
> +
> +Similar as Test Case1, all steps are similar except step 4:
> +
> +4. Bind Intel® Ethernet 700 Series port with vfio-pci, use option ``-d`` to load
> the dynamic pmd when launch vhost::

Here mentioned 700 but the case name is 800 .

> +
> +    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x03 -n 4 -d
> librte_net_vhost.so -d librte_net_ice.so -d librte_mempool_ring.so \
> +    --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i
> +    testpmd>start
> --
> 2.25.1
  

Patch

diff --git a/test_plans/pvp_share_lib_test_plan.rst b/test_plans/pvp_share_lib_test_plan.rst
index 936480bf..22a0084b 100644
--- a/test_plans/pvp_share_lib_test_plan.rst
+++ b/test_plans/pvp_share_lib_test_plan.rst
@@ -10,8 +10,8 @@  Description
 
 The feature need compile dpdk as shared libraries, then application should use option ``-d`` to load the dynamic pmd that are built as shared libraries.
 
-Test Case1: Vhost/virtio-user pvp share lib test with 82599
-===========================================================
+Test Case 1: Vhost/virtio-user pvp share lib test with Intel® Ethernet 82599 Series
+===================================================================================
 
 1. Enable the shared lib in DPDK configure file::
 
@@ -27,13 +27,13 @@  Test Case1: Vhost/virtio-user pvp share lib test with 82599
 
 4. Bind 82599 port with vfio-pci, use option ``-d`` to load the dynamic pmd when launch vhost::
 
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x03 -n 4 -d librte_net_vhost.so.21.0 -d librte_net_i40e.so.21.0 -d librte_mempool_ring.so.21.0 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_ixgbe.so -d librte_mempool_ring.so \
     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i
     testpmd>start
 
 5. Launch virtio-user::
 
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0c -n 4 -d librte_net_virtio.so.21.0 -d librte_mempool_ring.so.21.0 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0c -n 4 -d librte_net_virtio.so -d librte_mempool_ring.so \
     --no-pci --file-prefix=virtio  --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i
     testpmd>start
 
@@ -41,8 +41,8 @@  Test Case1: Vhost/virtio-user pvp share lib test with 82599
 
     testpmd>show port stats all
 
-Test Case2: Vhost/virtio-user pvp share lib test with Intel® Ethernet 700 Series
-================================================================================
+Test Case 2: Vhost/virtio-user pvp share lib test with Intel® Ethernet 700 Series
+=================================================================================
 
 Similar as Test Case1, all steps are similar except step 4:
 
@@ -51,3 +51,14 @@  Similar as Test Case1, all steps are similar except step 4:
     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_i40e.so -d librte_mempool_ring.so \
     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i
     testpmd>start
+
+Test Case 3: Vhost/virtio-user pvp share lib test with Intel® Ethernet 800 Series
+=================================================================================
+
+Similar as Test Case1, all steps are similar except step 4:
+
+4. Bind Intel® Ethernet 700 Series port with vfio-pci, use option ``-d`` to load the dynamic pmd when launch vhost::
+
+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x03 -n 4 -d librte_net_vhost.so -d librte_net_ice.so -d librte_mempool_ring.so \
+    --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i
+    testpmd>start