test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] test_plans: fix build warning and errors
@ 2020-12-21  9:53 Haiyang Zhao
  2020-12-22  2:56 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Haiyang Zhao @ 2020-12-21  9:53 UTC (permalink / raw)
  To: dts; +Cc: Haiyang Zhao

fix test plans build warning and errors for DTS 20.11 formal release.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 test_plans/cvl_dcf_acl_filter_test_plan.rst   |  13 +-
 .../cvl_dcf_switch_filter_test_plan.rst       |  20 +-
 test_plans/dcf_lifecycle_test_plan.rst        |  10 +-
 test_plans/dpdk_gro_lib_test_plan.rst         |  59 +++---
 test_plans/iavf_fdir_test_plan.rst            |   8 +
 test_plans/index.rst                          |  15 +-
 test_plans/large_vf_test_plan.rst             |   4 +-
 test_plans/pipeline_test_plan.rst             |   4 +-
 test_plans/stats_checks_test_plan.rst         | 198 +++++++++---------
 test_plans/vhost_cbdma_test_plan.rst          |  10 +-
 test_plans/virtio_smoke_test_plan.rst         |   2 +-
 .../vm2vm_virtio_net_perf_test_plan.rst       |  26 +--
 12 files changed, 194 insertions(+), 175 deletions(-)

diff --git a/test_plans/cvl_dcf_acl_filter_test_plan.rst b/test_plans/cvl_dcf_acl_filter_test_plan.rst
index 086f2722..e9267a59 100644
--- a/test_plans/cvl_dcf_acl_filter_test_plan.rst
+++ b/test_plans/cvl_dcf_acl_filter_test_plan.rst
@@ -108,11 +108,12 @@ Prerequisites
 
 10. Launch dpdk on VF1::
 
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i
-    testpmd> set fwd rxonly
-    testpmd> set verbose 1
-    testpmd> start
-    testpmd> show port info all
+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -w 86:01.1 --file-prefix=vf1 -- -i
+     testpmd> set fwd rxonly
+     testpmd> set verbose 1
+     testpmd> start
+     testpmd> show port info all
+
 
    check the VF1 driver is net_iavf.
    the mac address is 00:01:23:45:67:89
@@ -806,7 +807,7 @@ Test Case 9: multirules with different pattern or input set
     flow create 0 ingress pattern eth / ipv4 src spec 192.168.2.3 src mask 255.255.0.255 / udp / end actions drop / end
 
 10. send same packets, check packet 1 is dropped by rule 0, packet 2 is dropped by rule 1.
-   packet 3 is dropped by rule 2, packet 4 is dropped by rule 3, packet 5 is dropped by rule4.
+    packet 3 is dropped by rule 2, packet 4 is dropped by rule 3, packet 5 is dropped by rule4.
 
 Test Case 10: multirules with all patterns
 ==========================================
diff --git a/test_plans/cvl_dcf_switch_filter_test_plan.rst b/test_plans/cvl_dcf_switch_filter_test_plan.rst
index c90f439e..3b63c041 100644
--- a/test_plans/cvl_dcf_switch_filter_test_plan.rst
+++ b/test_plans/cvl_dcf_switch_filter_test_plan.rst
@@ -4558,10 +4558,10 @@ Subcase 1: DCF stop/DCF start
 5. send matched packets, port 1 can still receive the packets.
 
 Test case: Drop action test
-======================
+===========================
 
 Subcase 1: DCF DROP IPV4 SRC PACKAGES
------------------------------
+-------------------------------------
 
 1. validate a rule::
 
@@ -4605,7 +4605,7 @@ Subcase 1: DCF DROP IPV4 SRC PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 2: DCF DROP IPV4 SRC SPEC MASK PACKAGES
------------------------------
+-----------------------------------------------
 
 1. validate a rule::
 
@@ -4649,7 +4649,7 @@ Subcase 2: DCF DROP IPV4 SRC SPEC MASK PACKAGES
    send matched packets, check port can receive the packet.
  
 Subcase 3: DCF DROP NVGRE PACKAGES
------------------------------
+----------------------------------
 
 1. validate a rule::
 
@@ -4693,7 +4693,7 @@ Subcase 3: DCF DROP NVGRE PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 4: DCF DROP PPOES PACKAGES
------------------------------
+----------------------------------
 
 1. validate a rule::
 
@@ -4737,7 +4737,7 @@ Subcase 4: DCF DROP PPOES PACKAGES
    send matched packets, check port can receive the packet.
  
 Subcase 5:  DCF DROP PFCP PACKAGES
------------------------------
+----------------------------------
 
 1. validate a rule::
 
@@ -4781,7 +4781,7 @@ Subcase 5:  DCF DROP PFCP PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 6:  DCF DROP VLAN PACKAGES
------------------------------
+----------------------------------
 
 1. validate a rule::
 
@@ -4825,7 +4825,7 @@ Subcase 6:  DCF DROP VLAN PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 7:  DCF DROP L2TP PACKAGES
------------------------------
+----------------------------------
 
 1. validate a rule::
 
@@ -4869,7 +4869,7 @@ Subcase 7:  DCF DROP L2TP PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 8:  DCF DROP ESP PACKAGES
------------------------------
+---------------------------------
 
 1. validate a rule::
 
@@ -4913,7 +4913,7 @@ Subcase 8:  DCF DROP ESP PACKAGES
    send matched packets, check port can receive the packet.
 
 Subcase 8:  DCF DROP blend PACKAGES
------------------------------
+-----------------------------------
 
 1. validate a rule::
 
diff --git a/test_plans/dcf_lifecycle_test_plan.rst b/test_plans/dcf_lifecycle_test_plan.rst
index c3e039f6..1e5fcecd 100644
--- a/test_plans/dcf_lifecycle_test_plan.rst
+++ b/test_plans/dcf_lifecycle_test_plan.rst
@@ -812,7 +812,7 @@ If kill DCF process, when DCF launched. The DCF rules should be removed.
 
     sendp([Ether(src="00:11:22:33:44:55", dst="5E:8E:8B:4D:89:05")/IP()/TCP(sport=8012)/Raw(load='X'*30)], iface="testeri0")
 
-   check the packet is dropped by VF1::
+   check the packet is dropped by VF1.
 
 3. kill DCF process ::
 
@@ -843,7 +843,7 @@ Kill DCF process, then fail to launch avf on the previous DCF VF.
 
     sendp([Ether(src="00:11:22:33:44:55", dst="5E:8E:8B:4D:89:05")/IP()/TCP(sport=8012)/Raw(load='X'*30)], iface="testeri0")
 
-   check the packet is dropped by VF1::
+   check the packet is dropped by VF1.
 
 3. kill DCF process ::
 
@@ -878,7 +878,7 @@ TC28: DCF graceful exit
 
     sendp([Ether(src="00:11:22:33:44:55", dst="5E:8E:8B:4D:89:05")/IP()/TCP(sport=8012)/Raw(load='X'*30)], iface="testeri0")
 
-   check the packet is dropped by VF1::
+   check the packet is dropped by VF1.
 
 3. Exit the DCF in DCF testpmd ::
 
@@ -899,7 +899,7 @@ TC29: DCF enabled, AVF VF reset
 
     sendp([Ether(src="00:11:22:33:44:55", dst="5E:8E:8B:4D:89:05")/IP()/TCP(sport=8012)/Raw(load='X'*30)], iface="testeri0")
 
-   check the packet is dropped by VF1::
+   check the packet is dropped by VF1.
 
 3. reset VF1 in testpmd::
 
@@ -940,7 +940,7 @@ TC30: DCF enabled, DCF VF reset
 
     sendp([Ether(src="00:11:22:33:44:55", dst="5E:8E:8B:4D:89:05")/IP()/TCP(sport=8012)/Raw(load='X'*30)], iface="testeri0")
 
-   check the packet is dropped by VF1::
+   check the packet is dropped by VF1.
 
 3. reset VF0 in testpmd::
 
diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst
index fac61aa8..bdbcdf62 100644
--- a/test_plans/dpdk_gro_lib_test_plan.rst
+++ b/test_plans/dpdk_gro_lib_test_plan.rst
@@ -89,27 +89,27 @@ Modify the testpmd code as following::
 
 Modify the dpdk code as following::
 
-diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c
-index b38a4b6b1..573250dbe 100644
---- a/drivers/net/vhost/rte_eth_vhost.c
-+++ b/drivers/net/vhost/rte_eth_vhost.c
-@@ -1071,8 +1071,14 @@ eth_dev_info(struct rte_eth_dev *dev,
-  dev_info->min_rx_bufsize = 0;
- 
-  dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS |
--       DEV_TX_OFFLOAD_VLAN_INSERT;
-- dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP;
-+       DEV_TX_OFFLOAD_VLAN_INSERT |
-+       DEV_TX_OFFLOAD_UDP_CKSUM |
-+       DEV_TX_OFFLOAD_TCP_CKSUM |
-+       DEV_TX_OFFLOAD_IPV4_CKSUM |
-+       DEV_TX_OFFLOAD_TCP_TSO;
-+ dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP |
-+       DEV_RX_OFFLOAD_TCP_CKSUM |
-+       DEV_RX_OFFLOAD_UDP_CKSUM |
-+       DEV_RX_OFFLOAD_IPV4_CKSUM |
-+       DEV_RX_OFFLOAD_TCP_LRO;
- }
+   diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c
+   index b38a4b6b1..573250dbe 100644
+   --- a/drivers/net/vhost/rte_eth_vhost.c
+   +++ b/drivers/net/vhost/rte_eth_vhost.c
+   @@ -1071,8 +1071,14 @@ eth_dev_info(struct rte_eth_dev *dev,
+     dev_info->min_rx_bufsize = 0;
+
+     dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS |
+   -       DEV_TX_OFFLOAD_VLAN_INSERT;
+   - dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP;
+   +       DEV_TX_OFFLOAD_VLAN_INSERT |
+   +       DEV_TX_OFFLOAD_UDP_CKSUM |
+   +       DEV_TX_OFFLOAD_TCP_CKSUM |
+   +       DEV_TX_OFFLOAD_IPV4_CKSUM |
+   +       DEV_TX_OFFLOAD_TCP_TSO;
+   + dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP |
+   +       DEV_RX_OFFLOAD_TCP_CKSUM |
+   +       DEV_RX_OFFLOAD_UDP_CKSUM |
+   +       DEV_RX_OFFLOAD_IPV4_CKSUM |
+   +       DEV_RX_OFFLOAD_TCP_LRO;
+    }
 
 Test flow
 =========
@@ -148,7 +148,7 @@ Test Case1: DPDK GRO lightmode test with tcp/ipv4 traffic
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \
@@ -200,7 +200,7 @@ Test Case2: DPDK GRO heavymode test with tcp/ipv4 traffic
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \
@@ -252,7 +252,7 @@ Test Case3: DPDK GRO heavymode_flush4 test with tcp/ipv4 traffic
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \
@@ -278,10 +278,11 @@ Test Case4: DPDK GRO test with vxlan traffic
 Vxlan topology
 --------------
   VM          Host
+
 50.1.1.2      50.1.1.1
-   |           |
+   \|           \|
 1.1.2.3       1.1.2.4
-   |------------Testpmd------------|
+   \|------------Testpmd------------|
 
 1. Connect two nic port directly, put nic2 into another namesapce and create Host VxLAN port::
 
@@ -322,7 +323,7 @@ Vxlan topology
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \
@@ -383,7 +384,7 @@ NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-net
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 31 /home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 31 /home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -netdev user,id=yinan,hostfwd=tcp:127.0.0.1:6005-:22 -device e1000,netdev=yinan \
@@ -441,7 +442,7 @@ NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-net
 
 3.  Set up vm with virto device and using kernel virtio-net driver::
 
-    taskset -c 31 /home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name us-vhost-vm1 \
+     taskset -c 31 /home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name us-vhost-vm1 \
        -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \
        -numa node,memdev=mem \
        -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -netdev user,id=yinan,hostfwd=tcp:127.0.0.1:6005-:22 -device e1000,netdev=yinan \
diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst
index e0c9d603..6de28d2c 100644
--- a/test_plans/iavf_fdir_test_plan.rst
+++ b/test_plans/iavf_fdir_test_plan.rst
@@ -2431,6 +2431,7 @@ Subcase 1: Layer3 co-exist GTP EH fdir + dst
 --------------------------------------------
 
 Rules::
+
     #1  flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.31 / udp / gtpu / gtp_psc / end actions rss queues 1 2 end / mark id 1 / end
     #2  flow create 0 ingress pattern eth / ipv6 dst is ::32 / udp / gtpu / gtp_psc / end actions rss queues 3 4 5 6 end / mark id 2 / end
     #3  flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.33 / udp / gtpu / gtp_psc / end actions queue index 7 / mark id 3 / end
@@ -2441,6 +2442,7 @@ Rules::
     #8  flow create 0 ingress pattern eth / ipv6 dst is ::38 / udp / gtpu / gtp_psc / end actions drop / end
 
 Matched packets::
+
     p_gtpu1 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.21", dst="192.168.0.31")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x33)/IPv6()/UDP()/Raw('x'*20)
     p_gtpu2 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="::12", dst="::32")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=1, qos_flow=0x33)/IPv6()/TCP()/Raw('x'*20)
     p_gtpu3 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.23", dst="192.168.0.33")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=1, qos_flow=0x33)/IPv6()/Raw('x'*20)
@@ -2451,6 +2453,7 @@ Matched packets::
     p_gtpu8 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="2001::8", dst="::38")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x33)/IPv6()/IPv6ExtHdrFragment()/Raw('x'*20)
 
 Mismatched packets::
+
     p_gtpu1 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.21", dst="192.168.0.32")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x33)/IPv6()/UDP()/Raw('x'*20)
     p_gtpu2 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="::12", dst="::33")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=1, qos_flow=0x33)/IPv6()/TCP()/Raw('x'*20)
     p_gtpu3 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.23", dst="192.168.0.34")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/GTP_PDUSession_ExtensionHeader(pdu_type=1, qos_flow=0x33)/IPv6()/Raw('x'*20)
@@ -2506,6 +2509,7 @@ Subcase 2: Layer3 co-exist GTP fdir + dst
 -----------------------------------------
 
 Rules::
+
     #1  flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.31 / udp / gtpu / end actions rss queues 1 2 end / mark id 1 / end
     #2	flow create 0 ingress pattern eth / ipv6 dst is ::32 / udp / gtpu / end actions rss queues 3 4 5 6 end / mark id 2 / end
     #3	flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.33 / udp / gtpu / end actions queue index 7 / mark id 3 / end
@@ -2516,6 +2520,7 @@ Rules::
     #8	flow create 0 ingress pattern eth / ipv6 dst is ::38 / udp / gtpu / end actions drop / end
 
 Matched packets::
+
     p_gtpu1 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.21", dst="192.168.0.31")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/UDP()/Raw('x'*20)
     p_gtpu2 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="::12", dst="::32")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/TCP()/Raw('x'*20)
     p_gtpu3 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.23", dst="192.168.0.33")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/Raw('x'*20)
@@ -2526,6 +2531,7 @@ Matched packets::
     p_gtpu8 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="2001::8", dst="::38")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/IPv6ExtHdrFragment()/Raw('x'*20)
 
 Mismatched packets::
+
     p_gtpu1 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.21", dst="192.168.0.32")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/UDP()/Raw('x'*20)
     p_gtpu2 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IPv6(src="::12", dst="::33")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/TCP()/Raw('x'*20)
     p_gtpu3 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.23", dst="192.168.0.34")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/Raw('x'*20)
@@ -2541,6 +2547,7 @@ Subcase 3: Layer3 co-exist GTP EH fdir + src
 --------------------------------------------
 
 Rules::
+
     #1  flow create 0 ingress pattern eth / ipv4 src is 192.168.0.21 / udp / gtpu / gtp_psc / end actions rss queues 1 2 end / mark id 1 / end
     #2	flow create 0 ingress pattern eth / ipv6 src is ::12 / udp / gtpu / gtp_psc / end actions rss queues 3 4 5 6 end / mark id 2 / end
     #3	flow create 0 ingress pattern eth / ipv4 src is 192.168.0.23 / udp / gtpu / gtp_psc / end actions queue index 7 / mark id 3 / end
@@ -2587,6 +2594,7 @@ Rules::
     #6	flow create 0 ingress pattern eth / ipv6 src is ::16 / udp / gtpu / end actions passthru / mark id 6 / end
     #7	flow create 0 ingress pattern eth / ipv4 src is 192.168.0.27 / udp / gtpu / end actions drop / end
     #8	flow create 0 ingress pattern eth / ipv6 src is 2001::8 / udp / gtpu / end actions drop / end
+
 Matched packets::
 
     p_gtpu1 = Ether(src="a4:bf:01:51:27:ca", dst="00:11:22:33:44:55")/IP(src="192.168.0.21", dst="192.168.0.31")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12)/IPv6()/UDP()/Raw('x'*20)
diff --git a/test_plans/index.rst b/test_plans/index.rst
index 6a0750d1..1a3f8383 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -45,14 +45,17 @@ The following are the test plans for the DPDK DTS automated test system.
     cvl_advanced_rss_test_plan
     cvl_advanced_rss_gtpu_test_plan
     cvl_advanced_iavf_rss_test_plan
+    cvl_advanced_iavf_rss_gtpu_test_plan
+    cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan
     cvl_advanced_rss_pppoe_vlan_esp_ah_l2tp_pfcp_test_plan
+    cvl_dcf_acl_filter_test_plan
     cvl_dcf_date_path_test_plan
-    cvl_dcf_dp_test_plan
     cvl_dcf_switch_filter_test_plan
     cvl_fdir_test_plan
-    cvl_iavf_rss_gtpu_test_plan
+    cvl_limit_value_test_test_plan
     cvl_rss_configure_test_plan
     cvl_switch_filter_test_plan
+    cvl_vf_support_multicast_address_test_plan
     cloud_filter_with_l4_port_test_plan
     dcf_lifecycle_test_plan
     crypto_perf_cryptodev_perf_test_plan
@@ -65,6 +68,7 @@ The following are the test plans for the DPDK DTS automated test system.
     dynamic_config_test_plan
     dynamic_flowtype_test_plan
     dynamic_queue_test_plan
+    eeprom_dump_test_plan
     etag_test_plan
     external_memory_test_plan
     external_mempool_handler_test_plan
@@ -98,6 +102,7 @@ The following are the test plans for the DPDK DTS automated test system.
     l3fwd_em_test_plan
     l3fwd_test_plan
     l3fwdacl_test_plan
+    large_vf_test_plan
     link_flowctrl_test_plan
     link_status_interrupt_test_plan
     linux_modules_test_plan
@@ -114,6 +119,7 @@ The following are the test plans for the DPDK DTS automated test system.
     perf_virtio_user_loopback_test_plan
     perf_virtio_user_pvp_test_plan
     perf_vm2vm_virtio_net_perf_test_plan
+    pipeline_test_plan
     pvp_virtio_user_multi_queues_port_restart_test_plan
     pmd_bonded_8023ad_test_plan
     pmd_bonded_test_plan
@@ -136,10 +142,10 @@ The following are the test plans for the DPDK DTS automated test system.
     rss_key_update_test_plan
     rxtx_offload_test_plan
     rteflow_priority_test_plan
+    rte_flow_test_plan
     runtime_vf_queue_number_kernel_test_plan
     runtime_vf_queue_number_maxinum_test_plan
     runtime_vf_queue_number_test_plan
-    rxtx_offload_test_plan
     scatter_test_plan
     short_live_test_plan
     shutdown_api_test_plan
@@ -182,6 +188,7 @@ The following are the test plans for the DPDK DTS automated test system.
     vf_pf_reset_test_plan
     vf_port_start_stop_test_plan
     vf_rss_test_plan
+    vf_single_core_perf_test_plan
     vf_to_vf_nic_bridge_test_plan
     vf_vlan_test_plan
     kernelpf_iavf_test_plan
@@ -211,11 +218,13 @@ The following are the test plans for the DPDK DTS automated test system.
     virtio_event_idx_interrupt_test_plan
     virtio_ipsec_cryptodev_func_test_plan
     virtio_perf_cryptodev_func_test_plan
+    virtio_smoke_test_plan
     vm2vm_virtio_net_perf_test_plan
     vm2vm_virtio_pmd_test_plan
     dpdk_gro_lib_test_plan
     dpdk_gso_lib_test_plan
     vhost_dequeue_zero_copy_test_plan
+    vswitch_sample_cbdma_test_plan
     vxlan_gpe_support_in_i40e_test_plan
     pvp_diff_qemu_version_test_plan
     pvp_share_lib_test_plan
diff --git a/test_plans/large_vf_test_plan.rst b/test_plans/large_vf_test_plan.rst
index 6399ed12..71e66bf9 100644
--- a/test_plans/large_vf_test_plan.rst
+++ b/test_plans/large_vf_test_plan.rst
@@ -45,7 +45,7 @@ Prerequisites
    scapy: http://www.secdev.org/projects/scapy/
 
 3. Copy specific ice package to /lib/firmware/updates/intel/ice/ddp/ice.pkg
-  Then reinstall kernel driver.
+   Then reinstall kernel driver.
 
 4. Generate 3 VFs on each PF and set mac address for VF0::
 
@@ -345,7 +345,7 @@ Fail to start testpmd with "--txq=256 --rxq=256".
 
 
 Test case: 128 Max VFs + 4 queues (default)
-==========================================
+===========================================
 
 Subcase 1: multi fdir among 4 queues for 128 VFs
 ------------------------------------------------
diff --git a/test_plans/pipeline_test_plan.rst b/test_plans/pipeline_test_plan.rst
index c492fd62..2b15ab76 100644
--- a/test_plans/pipeline_test_plan.rst
+++ b/test_plans/pipeline_test_plan.rst
@@ -68,7 +68,7 @@ present in the {DTS_SRC_DIR}/dep directory.
 Directory Structure of Each Test Case
 =====================================
 Within {DTS_SRC_DIR}/dep/pipeline.tar.gz, all files related to a particular test case are maintained
-in a separate directory of which the directory structure is shown below:
+in a separate directory of which the directory structure is shown below::
 
     test_case_name [directory]
         test_case_name.spec
@@ -79,7 +79,7 @@ in a separate directory of which the directory structure is shown below:
             in_x.txt [x: 1-4; depending on test case]
             out_x.txt [x: 1-4; depending on test case]
 
-For an example, files related to mov_001 test case are maintained as shown below:
+For an example, files related to mov_001 test case are maintained as shown below::
 
     mov_001 [directory]
         mov_001.spec
diff --git a/test_plans/stats_checks_test_plan.rst b/test_plans/stats_checks_test_plan.rst
index f314ba88..51ec36d7 100644
--- a/test_plans/stats_checks_test_plan.rst
+++ b/test_plans/stats_checks_test_plan.rst
@@ -149,114 +149,114 @@ Test Case: PF xstatus Checks
 
 5. Check stats and xstats::
 
-  testpmd> stop
-  Telling cores to stop...
-  Waiting for lcores to finish...
+    testpmd> stop
+    Telling cores to stop...
+    Waiting for lcores to finish...
 
-  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
-  RX-packets: 29             TX-packets: 29             TX-dropped: 0
+    ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
+    RX-packets: 29             TX-packets: 29             TX-dropped: 0
 
-  ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 -------
-  RX-packets: 21             TX-packets: 21             TX-dropped: 0
+    ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 -------
+    RX-packets: 21             TX-packets: 21             TX-dropped: 0
 
-  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
-  RX-packets: 24             TX-packets: 24             TX-dropped: 0
+    ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
+    RX-packets: 24             TX-packets: 24             TX-dropped: 0
 
-  ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 1/Queue= 3 -------
-  RX-packets: 26             TX-packets: 26             TX-dropped: 0
+    ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 1/Queue= 3 -------
+    RX-packets: 26             TX-packets: 26             TX-dropped: 0
 
-  ---------------------- Forward statistics for port 0  ----------------------
-  RX-packets: 100            RX-dropped: 0             RX-total: 100
-  TX-packets: 0              TX-dropped: 0             TX-total: 0
-  ----------------------------------------------------------------------------
+    ---------------------- Forward statistics for port 0  ----------------------
+    RX-packets: 100            RX-dropped: 0             RX-total: 100
+    TX-packets: 0              TX-dropped: 0             TX-total: 0
+    ----------------------------------------------------------------------------
 
-  ---------------------- Forward statistics for port 1  ----------------------
-  RX-packets: 0              RX-dropped: 0             RX-total: 0
-  TX-packets: 100            TX-dropped: 0             TX-total: 100
-  ----------------------------------------------------------------------------
+    ---------------------- Forward statistics for port 1  ----------------------
+    RX-packets: 0              RX-dropped: 0             RX-total: 0
+    TX-packets: 100            TX-dropped: 0             TX-total: 100
+    ----------------------------------------------------------------------------
 
-  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
-  RX-packets: 100            RX-dropped: 0             RX-total: 100
-  TX-packets: 100            TX-dropped: 0             TX-total: 100
-  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+    +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
+    RX-packets: 100            RX-dropped: 0             RX-total: 100
+    TX-packets: 100            TX-dropped: 0             TX-total: 100
+    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-  testpmd> show port stats all
+    testpmd> show port stats all
+
+    ######################## NIC statistics for port 0  ########################
+    RX-packets: 100        RX-missed: 0          RX-bytes:  6000
+    RX-errors: 0
+    RX-nombuf:  0
+    TX-packets: 0          TX-errors: 0          TX-bytes:  0
+
+    Throughput (since last show)
+    Rx-pps:            0          Rx-bps:            0
+    Tx-pps:            0          Tx-bps:            0
+    ############################################################################
+
+    ######################## NIC statistics for port 1  ########################
+    RX-packets: 0          RX-missed: 0          RX-bytes:  0
+    RX-errors: 0
+    RX-nombuf:  0
+    TX-packets: 100        TX-errors: 0          TX-bytes:  6000
+
+    Throughput (since last show)
+    Rx-pps:            0          Rx-bps:            0
+    Tx-pps:            0          Tx-bps:            0
+    ############################################################################
 
-  ######################## NIC statistics for port 0  ########################
-  RX-packets: 100        RX-missed: 0          RX-bytes:  6000
-  RX-errors: 0
-  RX-nombuf:  0
-  TX-packets: 0          TX-errors: 0          TX-bytes:  0
-
-  Throughput (since last show)
-  Rx-pps:            0          Rx-bps:            0
-  Tx-pps:            0          Tx-bps:            0
-  ############################################################################
-
-  ######################## NIC statistics for port 1  ########################
-  RX-packets: 0          RX-missed: 0          RX-bytes:  0
-  RX-errors: 0
-  RX-nombuf:  0
-  TX-packets: 100        TX-errors: 0          TX-bytes:  6000
-
-  Throughput (since last show)
-  Rx-pps:            0          Rx-bps:            0
-  Tx-pps:            0          Tx-bps:            0
-  ############################################################################
-
-  testpmd> show port xstats all
-  ###### NIC extended statistics for port 0
-  rx_good_packets: 100
-  tx_good_packets: 0
-  rx_good_bytes: 6000
-  tx_good_bytes: 0
-  ......
-  rx_q0_packets: 0
-  rx_q0_bytes: 0
-  rx_q0_errors: 0
-  rx_q1_packets: 0
-  rx_q1_bytes: 0
-  rx_q1_errors: 0
-  rx_q2_packets: 0
-  rx_q2_bytes: 0
-  rx_q2_errors: 0
-  rx_q3_packets: 0
-  rx_q3_bytes: 0
-  rx_q3_errors: 0
-  tx_q0_packets: 0
-  tx_q0_bytes: 0
-  tx_q1_packets: 0
-  tx_q1_bytes: 0
-  tx_q2_packets: 0
-  tx_q2_bytes: 0
-  tx_q3_packets: 0
-  tx_q3_bytes: 0
-  ......
-  ###### NIC extended statistics for port 1
-  rx_good_packets: 0
-  tx_good_packets: 100
-  rx_good_bytes: 0
-  tx_good_bytes: 6000
-  rx_q0_packets: 0
-  rx_q0_bytes: 0
-  rx_q0_errors: 0
-  rx_q1_packets: 0
-  rx_q1_bytes: 0
-  rx_q1_errors: 0
-  rx_q2_packets: 0
-  rx_q2_bytes: 0
-  rx_q2_errors: 0
-  rx_q3_packets: 0
-  rx_q3_bytes: 0
-  rx_q3_errors: 0
-  tx_q0_packets: 0
-  tx_q0_bytes: 0
-  tx_q1_packets: 0
-  tx_q1_bytes: 0
-  tx_q2_packets: 0
-  tx_q2_bytes: 0
-  tx_q3_packets: 0
-  tx_q3_bytes: 0
+    testpmd> show port xstats all
+    ###### NIC extended statistics for port 0
+    rx_good_packets: 100
+    tx_good_packets: 0
+    rx_good_bytes: 6000
+    tx_good_bytes: 0
+    ......
+    rx_q0_packets: 0
+    rx_q0_bytes: 0
+    rx_q0_errors: 0
+    rx_q1_packets: 0
+    rx_q1_bytes: 0
+    rx_q1_errors: 0
+    rx_q2_packets: 0
+    rx_q2_bytes: 0
+    rx_q2_errors: 0
+    rx_q3_packets: 0
+    rx_q3_bytes: 0
+    rx_q3_errors: 0
+    tx_q0_packets: 0
+    tx_q0_bytes: 0
+    tx_q1_packets: 0
+    tx_q1_bytes: 0
+    tx_q2_packets: 0
+    tx_q2_bytes: 0
+    tx_q3_packets: 0
+    tx_q3_bytes: 0
+    ......
+    ###### NIC extended statistics for port 1
+    rx_good_packets: 0
+    tx_good_packets: 100
+    rx_good_bytes: 0
+    tx_good_bytes: 6000
+    rx_q0_packets: 0
+    rx_q0_bytes: 0
+    rx_q0_errors: 0
+    rx_q1_packets: 0
+    rx_q1_bytes: 0
+    rx_q1_errors: 0
+    rx_q2_packets: 0
+    rx_q2_bytes: 0
+    rx_q2_errors: 0
+    rx_q3_packets: 0
+    rx_q3_bytes: 0
+    rx_q3_errors: 0
+    tx_q0_packets: 0
+    tx_q0_bytes: 0
+    tx_q1_packets: 0
+    tx_q1_bytes: 0
+    tx_q2_packets: 0
+    tx_q2_bytes: 0
+    tx_q3_packets: 0
+    tx_q3_bytes: 0
 
 verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 100.
 rx_good_bytes, RX-bytes of port 0 and tx_good_bytes, TX-bytes of port 1 are the same.
diff --git a/test_plans/vhost_cbdma_test_plan.rst b/test_plans/vhost_cbdma_test_plan.rst
index 504b9aa0..bbfa22c1 100644
--- a/test_plans/vhost_cbdma_test_plan.rst
+++ b/test_plans/vhost_cbdma_test_plan.rst
@@ -181,11 +181,11 @@ Test Case2: Dynamic queue number test for DMA-accelerated vhost Tx operations
 
 10. Relaunch vhost with another two cbdma channels and 2 queueus, check perforamnce can get target::
 
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 28-29  \
-    --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=2,client=1,dmas=[txq0@00:04.5;txq1@00:04.6],dmathr=512' \
-    -- -i --nb-cores=1 --txd=1024 --rxd=1024 --txq=2 --rxq=2
-    >set fwd mac
-    >start
+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 28-29  \
+     --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=2,client=1,dmas=[txq0@00:04.5;txq1@00:04.6],dmathr=512' \
+     -- -i --nb-cores=1 --txd=1024 --rxd=1024 --txq=2 --rxq=2
+     >set fwd mac
+     >start
 
 11. Stop vhost port, check vhost RX and TX direction both exist packtes in two queues from vhost log.
 
diff --git a/test_plans/virtio_smoke_test_plan.rst b/test_plans/virtio_smoke_test_plan.rst
index 66f10805..cc184bf5 100644
--- a/test_plans/virtio_smoke_test_plan.rst
+++ b/test_plans/virtio_smoke_test_plan.rst
@@ -74,7 +74,7 @@ Test Case 1: loopback reconnect test with split ring mergeable path and server m
     testpmd>stop
 
 Test Case 2: pvp test with virtio packed ring vectorized path
-============================================================
+=============================================================
 
 1. Bind one port to vfio-pci, then launch vhost by below command::
 
diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
index 824cadde..f0107746 100644
--- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
+++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
@@ -224,7 +224,7 @@ Test Case 4: Check split ring virtio-net device capability
 1. Launch the Vhost sample by below commands::
 
     rm -rf vhost-net*
-   ./dpdk-testpmd -c 0xF0000000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' \
+    ./dpdk-testpmd -c 0xF0000000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' \
     --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
     testpmd>start
 
@@ -338,18 +338,18 @@ Test Case 5: VM2VM virtio-net split ring mergeable 8 queues CBDMA enable test wi
 
 10. Quit vhost ports and relaunch vhost ports with 1 queues::
 
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1
-    testpmd>start
+     ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
+     --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1
+     testpmd>start
 
 11. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
-    Under VM1, run: `scp [xxx] root@1.1.1.8:/`   [xxx] is the file name
+     Under VM1, run: `scp [xxx] root@1.1.1.8:/`   [xxx] is the file name
 
 12. Check the iperf performance, ensure queue0 can work from vhost side::
 
-    Under VM1, run: `taskset -c 0 iperf -s -i 1`
-    Under VM2, run: `taskset -c 0 iperf -c 1.1.1.2 -i 1 -t 60`
+     Under VM1, run: `taskset -c 0 iperf -s -i 1`
+     Under VM2, run: `taskset -c 0 iperf -c 1.1.1.2 -i 1 -t 60`
 
 Test Case 6: VM2VM virtio-net split ring non-mergeable 8 queues CBDMA enable test with large packet payload valid check
 ========================================================================================================================
@@ -423,18 +423,18 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable 8 queues CBDMA enable tes
 
 10. Quit vhost ports and relaunch vhost ports with 1 queues::
 
-    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1
-    testpmd>start
+     ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8' \
+     --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=1 --txq=1
+     testpmd>start
 
 11. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
-    Under VM1, run: `scp [xxx] root@1.1.1.8:/`   [xxx] is the file name
+     Under VM1, run: `scp [xxx] root@1.1.1.8:/`   [xxx] is the file name
 
 12. Check the iperf performance, ensure queue0 can work from vhost side::
 
-    Under VM1, run: `taskset -c 0 iperf -s -i 1`
-    Under VM2, run: `taskset -c 0 iperf -c 1.1.1.2 -i 1 -t 60`
+     Under VM1, run: `taskset -c 0 iperf -s -i 1`
+     Under VM2, run: `taskset -c 0 iperf -c 1.1.1.2 -i 1 -t 60`
 
 Test Case 7: VM2VM packed ring vhost-user/virtio-net test with tcp traffic
 ==========================================================================
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] test_plans: fix build warning and errors
  2020-12-21  9:53 [dts] [PATCH V1] test_plans: fix build warning and errors Haiyang Zhao
@ 2020-12-22  2:56 ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-12-22  2:56 UTC (permalink / raw)
  To: Zhao, HaiyangX, dts; +Cc: Zhao, HaiyangX

> fix test plans build warning and errors for DTS 20.11 formal release.
> 
> Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] test_plans: fix build warning and errors
  2021-03-19  2:57 Haiyang Zhao
@ 2021-03-19  9:01 ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-03-19  9:01 UTC (permalink / raw)
  To: Zhao, HaiyangX, dts; +Cc: Zhao, HaiyangX

> Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com

Applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH V1] test_plans: fix build warning and errors
@ 2021-03-19  2:57 Haiyang Zhao
  2021-03-19  9:01 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Haiyang Zhao @ 2021-03-19  2:57 UTC (permalink / raw)
  To: dts; +Cc: Haiyang Zhao

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 .../cvl_advanced_iavf_rss_gtpu_test_plan.rst  |   5 +-
 test_plans/cvl_ecpri_test_plan.rst            |  76 ++--
 test_plans/cvl_qinq_test_plan.rst             | 350 +++++++++---------
 test_plans/iavf_fdir_test_plan.rst            |  10 +-
 .../iavf_flexible_descriptor_test_plan.rst    |  91 +++--
 test_plans/index.rst                          |   7 +-
 .../vm2vm_virtio_net_perf_test_plan.rst       |  16 +-
 test_plans/vm2vm_virtio_user_test_plan.rst    |   2 +-
 8 files changed, 283 insertions(+), 274 deletions(-)

diff --git a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst
index 828403f0..0cbecb56 100644
--- a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst
+++ b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst
@@ -434,8 +434,8 @@ ipv4-udp packet::
 
 UL case::
 
-basic hit pattern packets are the same in this test case.
-ipv4-nonfrag packet::
+   basic hit pattern packets are the same in this test case.
+   ipv4-nonfrag packet::
 
     sendp([Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
 
@@ -2956,6 +2956,7 @@ all the test cases run the same test steps as below:
 5. destroy the rule and list rule.
 6. send the packet in step 4.
    check the received packet has different hash value with which in step 3(including the case has no hash value).
+
 Note: the GTPoGRE packets need to be added to symmetric cases as a Ptype, just like toeplitz cases.
 
 
diff --git a/test_plans/cvl_ecpri_test_plan.rst b/test_plans/cvl_ecpri_test_plan.rst
index a8cf802b..9665a040 100644
--- a/test_plans/cvl_ecpri_test_plan.rst
+++ b/test_plans/cvl_ecpri_test_plan.rst
@@ -96,39 +96,39 @@ Prerequisites
 
     check the VF0 driver is net_ice_dcf.
 
-9. For test case 01 and test case 02, need to add print log in testpmd to show the eCPRI ptype, then compile DPDK again:
-
-diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
- index af5a28d84..3dbd5ab97 100644
- --- a/drivers/net/iavf/iavf_rxtx.c
- +++ b/drivers/net/iavf/iavf_rxtx.c
- @@ -1314,6 +1314,8 @@ iavf_recv_pkts_flex_rxd(void *rx_queue,
-                 rxm->ol_flags = 0;
-                 rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M &
-                         rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0)];
- +                printf("++++++++++++ptype=%u\n",
- +                       IAVF_RX_FLEX_DESC_PTYPE_M & rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0));
-                 iavf_flex_rxd_to_vlan_tci(rxm, &rxd);
-                 rxq->rxd_to_pkt_fields(rxq, rxm, &rxd);
-                 pkt_flags = iavf_flex_rxd_error_to_pkt_flags(rx_stat_err0);
- @@ -2346,7 +2348,7 @@ iavf_set_rx_function(struct rte_eth_dev *dev)
-                 IAVF_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private);
-         struct iavf_info *vf = IAVF_DEV_PRIVATE_TO_VF(dev->data->dev_private);
-
- -#ifdef RTE_ARCH_X86
- +#if 0
-         struct iavf_rx_queue *rxq;
-         int i;
-         bool use_avx2 = false;
- @@ -2446,6 +2448,7 @@ iavf_set_rx_function(struct rte_eth_dev *dev)
-                 else
-                         dev->rx_pkt_burst = iavf_recv_pkts;
-         }
- +        dev->rx_pkt_burst = iavf_recv_pkts_flex_rxd;
-  }
-
-  /* choose tx function*/
- --
+9. For test case 01 and test case 02, need to add print log in testpmd to show the eCPRI ptype, then compile DPDK again::
+
+    diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
+    index af5a28d84..3dbd5ab97 100644
+    --- a/drivers/net/iavf/iavf_rxtx.c
+    +++ b/drivers/net/iavf/iavf_rxtx.c
+    @@ -1314,6 +1314,8 @@ iavf_recv_pkts_flex_rxd(void *rx_queue,
+                    rxm->ol_flags = 0;
+                    rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M &
+                            rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0)];
+    +                printf("++++++++++++ptype=%u\n",
+    +                       IAVF_RX_FLEX_DESC_PTYPE_M & rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0));
+                    iavf_flex_rxd_to_vlan_tci(rxm, &rxd);
+                    rxq->rxd_to_pkt_fields(rxq, rxm, &rxd);
+                    pkt_flags = iavf_flex_rxd_error_to_pkt_flags(rx_stat_err0);
+    @@ -2346,7 +2348,7 @@ iavf_set_rx_function(struct rte_eth_dev *dev)
+                    IAVF_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private);
+            struct iavf_info *vf = IAVF_DEV_PRIVATE_TO_VF(dev->data->dev_private);
+
+    -#ifdef RTE_ARCH_X86
+    +#if 0
+            struct iavf_rx_queue *rxq;
+            int i;
+            bool use_avx2 = false;
+    @@ -2446,6 +2448,7 @@ iavf_set_rx_function(struct rte_eth_dev *dev)
+                    else
+                            dev->rx_pkt_burst = iavf_recv_pkts;
+            }
+    +        dev->rx_pkt_burst = iavf_recv_pkts_flex_rxd;
+     }
+
+     /* choose tx function*/
+    --
 
 
 Test case 01: add and delete eCPRI port config in DCF
@@ -179,7 +179,7 @@ MAC_IPV4_UDP_ECPRI(ptype=381)::
 
     sendp([Ether(dst="00:11:22:33:44:11")/IP()/UDP(dport=0x5123)/Raw('\x10\x06')], iface="ens786f0")
 
-3. send eCPRI pkts which udp dport is not matched the config to VF1, check the pattern can not be recognized(all the ptype is 24)::
+3. send eCPRI pkts which udp dport is not matched the config to VF1, check the pattern can not be recognized(all the ptype is 24):
 
 MAC_IPV4_UDP_ECPRI_MSGTYPE0::
 
@@ -243,7 +243,7 @@ Test case 02: test eCPRI port config when DCF exit and reset
     testpmd> set verbose 1
     testpmd> start
 
-3. send eCPRI pkts which udp dport is match before config to VF1, check the pattern can not be recognized(all the ptype is 24)::
+3. send eCPRI pkts which udp dport is match before config to VF1, check the pattern can not be recognized(all the ptype is 24):
 
 MAC_IPV4_UDP_ECPRI_MSGTYPE0::
 
@@ -453,8 +453,8 @@ Test case 06: rss for eth_ecpri
    check the received packets have different hash values with basic packet,
    check the packets are distributed to queues by rss::
 
-   sendp([Ether(dst="00:11:22:33:44:11", type=0xAEFE)/Raw('\x10\x00\x02\x24\x23\x46')], iface="ens786f0")
-   sendp([Ether(dst="00:11:22:33:44:11", type=0xAEFE)/Raw('\x10\x00\x02\x24\x23\x47')], iface="ens786f0")
+    sendp([Ether(dst="00:11:22:33:44:11", type=0xAEFE)/Raw('\x10\x00\x02\x24\x23\x46')], iface="ens786f0")
+    sendp([Ether(dst="00:11:22:33:44:11", type=0xAEFE)/Raw('\x10\x00\x02\x24\x23\x47')], iface="ens786f0")
 
 6. Destroy the rule and list rule::
 
@@ -580,7 +580,7 @@ Test case 09: DCF reset for udp ecpri rss
 
 10. Set VF0 as trust::
 
-    ip link set ens785f0 vf 0 trust on
+      ip link set ens785f0 vf 0 trust on
 
 
 Test case 10: DCF reset for eth ecpri rss
diff --git a/test_plans/cvl_qinq_test_plan.rst b/test_plans/cvl_qinq_test_plan.rst
index beed340b..4f44150b 100644
--- a/test_plans/cvl_qinq_test_plan.rst
+++ b/test_plans/cvl_qinq_test_plan.rst
@@ -97,29 +97,29 @@ Prerequisites
 
 10. Bind VFs to dpdk driver::
 
-    modprobe vfio-pci
-    ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0 0000:18:01.1 0000:18:01.2 0000:18:01.3
+     modprobe vfio-pci
+     ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0 0000:18:01.1 0000:18:01.2 0000:18:01.3
 
 11. Disabel spoofchk for VF::
 
-    ip link set dev ens785f0 vf 0 spoofchk off
-    ip link set dev ens785f0 vf 1 spoofchk off
-    ip link set dev ens785f0 vf 2 spoofchk off
-    ip link set dev ens785f0 vf 3 spoofchk off
+     ip link set dev ens785f0 vf 0 spoofchk off
+     ip link set dev ens785f0 vf 1 spoofchk off
+     ip link set dev ens785f0 vf 2 spoofchk off
+     ip link set dev ens785f0 vf 3 spoofchk off
 
 12. For test cases for DCF switch filter(01-06), use below cmd to launch testpmd::
 
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i
-    testpmd> set fwd rxonly
-    testpmd> set verbose 1
-    testpmd> start
-    testpmd> show port info all
+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i
+     testpmd> set fwd rxonly
+     testpmd> set verbose 1
+     testpmd> start
+     testpmd> show port info all
 
    check the VF0 driver is net_ice_dcf.
 
    For test cases for DCF pvid(07-09), use below cmd to launch testpmd::
 
-   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf,representor=[1] -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i
+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf,representor=[1] -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i
     testpmd> set fwd mac
     testpmd> set verbose 1
     testpmd> start
@@ -129,17 +129,17 @@ Prerequisites
 
 13. For AVF QinQ test cases(10-14), recreate Generate 1 VFs on PF0, reconfig the VF then launch testpmd::
 
-    echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
-    ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off
-    echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
-    ip link set ens785f0 vf 0 mac 00:11:22:33:44:11
-    ip link set dev ens785f0 vf 0 spoofchk off
+     echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
+     ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off
+     echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
+     ip link set ens785f0 vf 0 mac 00:11:22:33:44:11
+     ip link set dev ens785f0 vf 0 spoofchk off
 
-    ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16
-    testpmd> set fwd mac
-    testpmd> set verbose 1
-    testpmd> start
+     ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0
+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16
+     testpmd> set fwd mac
+     testpmd> set verbose 1
+     testpmd> start
 
 DCF switch filter support pattern and input set
 -----------------------------------------------
@@ -724,27 +724,27 @@ Test case 07: vlan strip when pvid enable
 
 10. relaunch testpmd and enable vlan strip by AVF::
 
-    testpmd> vlan set strip on 2
+     testpmd> vlan set strip on 2
 
 11. repeat step 1,2 and 3, check the pkts can be received in VF1 and fwd to tester without both outer and inner vlan header::
 
-    testpmd> port 2/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 2/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    port 2/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     port 2/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    10:28:01.642361 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    10:28:01.642438 00:11:22:33:44:22 > 02:00:00:00:00:03, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:28:01.642361 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:28:01.642438 00:11:22:33:44:22 > 02:00:00:00:00:03, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
-    10:28:10.185876 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 21, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    10:28:10.185916 00:11:22:33:44:22 > 02:00:00:00:00:03, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:28:10.185876 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 21, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:28:10.185916 00:11:22:33:44:22 > 02:00:00:00:00:03, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 
 Test case 08: vlan insertion when pvid enable
@@ -834,73 +834,73 @@ Test case 08: vlan insertion when pvid enable
 
 10. repeat step 3, check the dpdk can receive this pkt with VF2 and fwd this pkt with outer vlan header id 24 by VF1, and the vlan header ptype is 9100::
 
-    testpmd> port 4/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 4/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    port 4/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     port 4/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    tcpdump -i ens786f0 -nn -e -v
-    11:12:13.237834 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:12:13.237890 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q-9100 (0x9100), length 518: vlan 24, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     tcpdump -i ens786f0 -nn -e -v
+     11:12:13.237834 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:12:13.237890 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q-9100 (0x9100), length 518: vlan 24, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
-    11:12:26.049869 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:12:26.049920 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q-9100, vlan 24, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:12:26.049869 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:12:26.049920 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q-9100, vlan 24, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 11. enable tx_vlan for VF1 by AVF::
 
-    testpmd> port stop 2
-    Stopping ports...
-    Checking link statuses...
-    Done
-    testpmd> tx_vlan set 2 11
-    testpmd> port start 2
+     testpmd> port stop 2
+     Stopping ports...
+     Checking link statuses...
+     Done
+     testpmd> tx_vlan set 2 11
+     testpmd> port start 2
 
 12. repeat step 3, check the dpdk can receive this pkt with VF2 and fwd this pkt with outer vlan header id 24, inner vlan id 11 by VF1::
 
-    testpmd> port 3/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 3/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    port 3/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     port 3/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    11:22:29.561918 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:22:29.561992 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:29.561918 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:29.561992 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
-    11:22:44.481889 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:22:44.481922 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 526: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype 802.1Q, vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:44.481889 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:44.481922 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 526: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype 802.1Q, vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 13. relaunch testpmd and execute step 11 then step 1, 2 and 3, check the dpdk can receive this pkt with VF2 and fwd this pkt with outer vlan header id 24, inner vlan id 11 by VF1::
 
-    testpmd> port 3/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 3/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x0800 - length=514 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    port 3/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
-    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     port 3/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:22 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x0
+     ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    11:22:29.561918 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:22:29.561992 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:29.561918 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:29.561992 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 522: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
-    11:22:44.481889 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    11:22:44.481922 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 526: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype 802.1Q, vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:44.481889 00:00:00:00:00:00 > 00:11:22:33:44:22, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     11:22:44.481922 00:11:22:33:44:11 > 02:00:00:00:00:02, ethertype 802.1Q (0x8100), length 526: vlan 24, p 0, ethertype 802.1Q, vlan 11, p 0, ethertype 802.1Q, vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 
 Test case 09: vlan filter when pvid enable
@@ -984,7 +984,7 @@ Test case 10: Enable/Disable IAVF VLAN filtering
     sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0")
     sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0")
 
-4. check the pkts can't be received in VF::
+4. check the pkts can't be received in VF.
 
 5. add rx_vlan in VF::
 
@@ -1416,121 +1416,121 @@ Test case 14: AVF CRC strip and Vlan strip co-exists
 
 10. check the vlan strip disable successfully::
 
-    testpmd> show port info 0
-    ********************* Infos for port 0  *********************
-    MAC address: 00:11:22:33:44:11
-    Device name: 0000:18:01.1
-    Driver name: net_iavf
-    ......
-    VLAN offload:
-      strip off, filter on, extend off, qinq strip off
+     testpmd> show port info 0
+     ********************* Infos for port 0  *********************
+     MAC address: 00:11:22:33:44:11
+     Device name: 0000:18:01.1
+     Driver name: net_iavf
+     ......
+     VLAN offload:
+       strip off, filter on, extend off, qinq strip off
 
 11. request disable crc strip::
 
-    testpmd> stop
-    testpmd> port stop 0
-    testpmd> port config 0 rx_offload keep_crc on
-    testpmd> port start 0
-    testpmd> start
+     testpmd> stop
+     testpmd> port stop 0
+     testpmd> port config 0 rx_offload keep_crc on
+     testpmd> port start 0
+     testpmd> start
 
 12. repeat step 5, send qinq pkts to check vlan strip is off, crc strip is off(rx+4)::
 
-    testpmd> port 0/queue 7: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7
-    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 0/queue 7: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7
+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    show port stats all
-    ######################## NIC statistics for port 0  ########################
-    RX-packets: 1          RX-missed: 0          RX-bytes:  526
-    RX-errors: 0
-    RX-nombuf:  0
-    TX-packets: 1          TX-errors: 0          TX-bytes:  522
+     show port stats all
+     ######################## NIC statistics for port 0  ########################
+     RX-packets: 1          RX-missed: 0          RX-bytes:  526
+     RX-errors: 0
+     RX-nombuf:  0
+     TX-packets: 1          TX-errors: 0          TX-bytes:  522
 
-    Throughput (since last show)
-    Rx-pps:            0          Rx-bps:            0
-    Tx-pps:            0          Tx-bps:            0
-    ############################################################################
+     Throughput (since last show)
+     Rx-pps:            0          Rx-bps:            0
+     Tx-pps:            0          Tx-bps:            0
+     ############################################################################
 
-    10:23:57.350934 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    10:23:57.351008 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:23:57.350934 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:23:57.351008 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 13. request enable vlan strip::
 
-    testpmd> vlan set strip on 0
-    iavf_execute_vf_cmd(): No response or return failure (-64) for cmd 54
-    iavf_config_vlan_strip_v2(): fail to execute command VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2
-    rx_vlan_strip_set(port_pi=0, on=1) failed diag=-5
+     testpmd> vlan set strip on 0
+     iavf_execute_vf_cmd(): No response or return failure (-64) for cmd 54
+     iavf_config_vlan_strip_v2(): fail to execute command VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2
+     rx_vlan_strip_set(port_pi=0, on=1) failed diag=-5
 
 14. repeat step 5, send qinq pkts to check the vlan strip can not enable::
 
-    testpmd> port 0/queue 7: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7
-    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     testpmd> port 0/queue 7: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7
+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
 
-    show port stats all
-    ######################## NIC statistics for port 0  ########################
-    RX-packets: 1          RX-missed: 0          RX-bytes:  526
-    RX-errors: 0
-    RX-nombuf:  0
-    TX-packets: 1          TX-errors: 0          TX-bytes:  522
+     show port stats all
+     ######################## NIC statistics for port 0  ########################
+     RX-packets: 1          RX-missed: 0          RX-bytes:  526
+     RX-errors: 0
+     RX-nombuf:  0
+     TX-packets: 1          TX-errors: 0          TX-bytes:  522
 
-    Throughput (since last show)
-    Rx-pps:            0          Rx-bps:            0
-    Tx-pps:            0          Tx-bps:            0
-    ############################################################################
+     Throughput (since last show)
+     Rx-pps:            0          Rx-bps:            0
+     Tx-pps:            0          Tx-bps:            0
+     ############################################################################
 
-    10:26:08.346936 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    10:26:08.347006 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:26:08.346936 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:26:08.347006 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
 
 15. request disable vlan strip::
 
-    vlan set strip off 0
+     vlan set strip off 0
 
 16. check the vlan strip still disable::
 
-    testpmd> show port info 0
-    ********************* Infos for port 0  *********************
-    MAC address: 00:11:22:33:44:11
-    Device name: 0000:18:01.1
-    Driver name: net_iavf
-    ......
-    VLAN offload:
-      strip off, filter on, extend off, qinq strip off
+     testpmd> show port info 0
+     ********************* Infos for port 0  *********************
+     MAC address: 00:11:22:33:44:11
+     Device name: 0000:18:01.1
+     Driver name: net_iavf
+     ......
+     VLAN offload:
+       strip off, filter on, extend off, qinq strip off
 
 17. request enable crc strip::
 
-    testpmd> stop
-    testpmd> port stop 0
-    testpmd> port config 0 rx_offload keep_crc off
-    testpmd> port start 0
-    testpmd> start
+     testpmd> stop
+     testpmd> port stop 0
+     testpmd> port config 0 rx_offload keep_crc off
+     testpmd> port start 0
+     testpmd> start
 
 18. repeat step 5, send qinq pkts to check the crc strip enable successfully::
 
-    testpmd> port 0/queue 3: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0x2b4ad203 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Receive queue=0x3
-    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
-    port 0/queue 3: sent 1 packets
-    src=00:11:22:33:44:11 - dst=02:00:00:00:00:00 - type=0x8100 - length=522 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Send queue=0x3
-    ol_flags: PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_UNKNOWN PKT_RX_OUTER_L4_CKSUM_UNKNOWN
-
-    show port stats all
-    ######################## NIC statistics for port 0  ########################
-    RX-packets: 1          RX-missed: 0          RX-bytes:  522
-    RX-errors: 0
-    RX-nombuf:  0
-    TX-packets: 1          TX-errors: 0          TX-bytes:  522
-
-    Throughput (since last show)
-    Rx-pps:            0          Rx-bps:            0
-    Tx-pps:            0          Tx-bps:            0
-    ############################################################################
-
-    10:29:19.995352 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
-    10:29:19.995424 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
-    196.222.232.221 > 127.0.0.1:  ip-proto-0 480
\ No newline at end of file
+     testpmd> port 0/queue 3: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0x2b4ad203 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Receive queue=0x3
+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     port 0/queue 3: sent 1 packets
+     src=00:11:22:33:44:11 - dst=02:00:00:00:00:00 - type=0x8100 - length=522 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Send queue=0x3
+     ol_flags: PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_UNKNOWN PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+
+     show port stats all
+     ######################## NIC statistics for port 0  ########################
+     RX-packets: 1          RX-missed: 0          RX-bytes:  522
+     RX-errors: 0
+     RX-nombuf:  0
+     TX-packets: 1          TX-errors: 0          TX-bytes:  522
+
+     Throughput (since last show)
+     Rx-pps:            0          Rx-bps:            0
+     Tx-pps:            0          Tx-bps:            0
+     ############################################################################
+
+     10:29:19.995352 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
+     10:29:19.995424 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)
+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480
\ No newline at end of file
diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst
index c4b134ce..1fd7b61b 100644
--- a/test_plans/iavf_fdir_test_plan.rst
+++ b/test_plans/iavf_fdir_test_plan.rst
@@ -40,6 +40,9 @@ Enable fdir filter for GTP (comm #1 package)
 Enable fdir filter for L2 Ethertype (comm #1 package)
 Enable fdir filter for PFCP (comm #1 package)
 
+Description
+===========
+
 Pattern and input set
 ---------------------
 
@@ -4555,6 +4558,7 @@ subcase 3: PFCP FDIR vlan insert on
 
 Test case: without input set test
 =================================
+
 Support ipv4 and ipv6 tcp/udp flow director rule without input set.
 The packets are for testing without input set cases.
 
@@ -4625,12 +4629,12 @@ Subcase 1: MAC_IPV4_TCP queue index
 
 3. verify rules can be listed and destroyed::
 
-    testpmd> flow list 0
+      testpmd> flow list 0
 
    check the rule listed.
    destroy the rule::
 
-   testpmd> flow destroy 0 rule 0
+      testpmd> flow destroy 0 rule 0
 
 4. verify matched packets are distributed to all queues.
    check there is no rule listed.
@@ -4732,7 +4736,7 @@ Subcase 1: MAC_IPV6_TCP queue index
    check the rule listed.
    destroy the rule::
 
-   testpmd> flow destroy 0 rule 0
+      testpmd> flow destroy 0 rule 0
 
 4. verify matched packets are distributed to all queues.
    check there is no rule listed.
diff --git a/test_plans/iavf_flexible_descriptor_test_plan.rst b/test_plans/iavf_flexible_descriptor_test_plan.rst
index c30b7380..ae28865d 100644
--- a/test_plans/iavf_flexible_descriptor_test_plan.rst
+++ b/test_plans/iavf_flexible_descriptor_test_plan.rst
@@ -74,70 +74,69 @@ The default DPDK don't support dump flexible descriptor fields, so need to patch
 
  1. Patch testpmd for dumping flexible fields from RXD::
 
-  diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
-  index 7e9c7bdd6..b75b90a9c 100644
-  --- a/app/test-pmd/meson.build
-  +++ b/app/test-pmd/meson.build
-  @@ -49,6 +49,9 @@ endif
-  if dpdk_conf.has('RTE_NET_I40E')
-        deps += 'net_i40e'
-   endif
-  +if dpdk_conf.has('RTE_NET_ICE')
-  +       deps += ['net_ice', 'net_iavf']
-  +endif
-   if dpdk_conf.has('RTE_NET_IXGBE')
-          deps += 'net_ixgbe'
-   endif
-
-  diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c
-  index a9e431a8b..3447a9b43 100644
-  --- a/app/test-pmd/util.c
-  +++ b/app/test-pmd/util.c
-  @@ -12,6 +12,7 @@
-   #include <rte_vxlan.h>
-   #include <rte_ethdev.h>
-   #include <rte_flow.h>
-  +#include <rte_pmd_iavf.h>
-
-   #include "testpmd.h"
-
-  @@ -151,6 +152,7 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],
-                            eth_type, (unsigned int) mb->pkt_len,
-                            (int)mb->nb_segs);
-                  ol_flags = mb->ol_flags;
-  +                rte_pmd_ifd_dump_proto_xtr_metadata(mb);
-                  if (ol_flags & PKT_RX_RSS_HASH) {
-                          MKDUMPSTR(print_buf, buf_size, cur_len,
-                                    " - RSS hash=0x%x",
+      diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
+      index 7e9c7bdd6..b75b90a9c 100644
+      --- a/app/test-pmd/meson.build
+      +++ b/app/test-pmd/meson.build
+      @@ -49,6 +49,9 @@ endif
+      if dpdk_conf.has('RTE_NET_I40E')
+      deps += 'net_i40e'
+      endif
+      +if dpdk_conf.has('RTE_NET_ICE')
+      +       deps += ['net_ice', 'net_iavf']
+      +endif
+      if dpdk_conf.has('RTE_NET_IXGBE')
+      deps += 'net_ixgbe'
+      endif
+
+      diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c
+      index a9e431a8b..3447a9b43 100644
+      --- a/app/test-pmd/util.c
+      +++ b/app/test-pmd/util.c
+      @@ -12,6 +12,7 @@
+      #include <rte_vxlan.h>
+      #include <rte_ethdev.h>
+      #include <rte_flow.h>
+      +#include <rte_pmd_iavf.h>
+
+      #include "testpmd.h"
+
+      @@ -151,6 +152,7 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],
+      eth_type, (unsigned int) mb->pkt_len,
+      (int)mb->nb_segs);
+      ol_flags = mb->ol_flags;
+      +                rte_pmd_ifd_dump_proto_xtr_metadata(mb);
+      if (ol_flags & PKT_RX_RSS_HASH) {
+      MKDUMPSTR(print_buf, buf_size, cur_len,
+      " - RSS hash=0x%x",
 
  2. Compile DPDK and testpmd::
 
-  CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib x86_64-native-linuxapp-gcc
-  ninja -C x86_64-native-linuxapp-gcc -j 70
+      CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc -j 70
 
 5. Generate 1 VF on each PF and set mac address for each VF::
 
-  echo 1 > /sys/bus/pci/devices/0000:af:00.0/sriov_numvfs
-  ip link set ens802f0 vf 0 mac 00:11:22:33:44:55
+      echo 1 > /sys/bus/pci/devices/0000:af:00.0/sriov_numvfs
+      ip link set ens802f0 vf 0 mac 00:11:22:33:44:55
 
 6. Bind the vf interface to vfio-pci driver::
 
-  ./usertools/dpdk-devbind.py -b vfio-pci af:01.0
+   ./usertools/dpdk-devbind.py -b vfio-pci af:01.0
 
 VLAN cases
 ==========
 
 1. Launch testpmd by::
 
-  ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=vlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2
-
-  testpmd>set verbose 1
-  testpmd>set fwd io
-  testpmd>start
+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -w af:01.0,proto_xtr=vlan -- -i --rxq=4 --txq=4 --portmask=0x1 --nb-cores=2
+     testpmd>set verbose 1
+     testpmd>set fwd io
+     testpmd>start
 
 2. check RXDID value correct::
 
-   expected: RXDID[17]
+      expected: RXDID[17]
 
 .. note::
     Please change the core setting (-l option) and port's PCI (-w option) by your DUT environment
diff --git a/test_plans/index.rst b/test_plans/index.rst
index 1a3f8383..2be687a9 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -51,8 +51,11 @@ The following are the test plans for the DPDK DTS automated test system.
     cvl_dcf_acl_filter_test_plan
     cvl_dcf_date_path_test_plan
     cvl_dcf_switch_filter_test_plan
+    cvl_ecpri_test_plan
     cvl_fdir_test_plan
+    cvl_iavf_rss_configure_test_plan
     cvl_limit_value_test_test_plan
+    cvl_qinq_test_plan
     cvl_rss_configure_test_plan
     cvl_switch_filter_test_plan
     cvl_vf_support_multicast_address_test_plan
@@ -84,6 +87,7 @@ The following are the test plans for the DPDK DTS automated test system.
     hotplug_mp_test_plan
     hotplug_test_plan
     iavf_fdir_test_plan
+    iavf_flexible_descriptor_test_plan
     iavf_package_driver_error_handle_test_plan
     ieee1588_test_plan
     inline_ipsec_test_plan
@@ -119,6 +123,7 @@ The following are the test plans for the DPDK DTS automated test system.
     perf_virtio_user_loopback_test_plan
     perf_virtio_user_pvp_test_plan
     perf_vm2vm_virtio_net_perf_test_plan
+    pf_smoke_test
     pipeline_test_plan
     pvp_virtio_user_multi_queues_port_restart_test_plan
     pmd_bonded_8023ad_test_plan
@@ -176,7 +181,6 @@ The following are the test plans for the DPDK DTS automated test system.
     multicast_test_plan
     ethtool_stats_test_plan
     metrics_test_plan.rst
-
     veb_switch_test_plan
     vf_daemon_test_plan
     vf_interrupt_pmd_test_plan
@@ -189,6 +193,7 @@ The following are the test plans for the DPDK DTS automated test system.
     vf_port_start_stop_test_plan
     vf_rss_test_plan
     vf_single_core_perf_test_plan
+    vf_smoke_test
     vf_to_vf_nic_bridge_test_plan
     vf_vlan_test_plan
     kernelpf_iavf_test_plan
diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
index 4085351a..6902bf55 100644
--- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst
+++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst
@@ -343,11 +343,11 @@ Test Case 5: VM2VM virtio-net split ring mergeable 8 queues CBDMA enable test wi
 
 11. On VM1, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 12. On VM2, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
@@ -436,11 +436,11 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable 8 queues CBDMA enable tes
 
 11. On VM1, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 12. On VM2, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
@@ -744,11 +744,11 @@ Test Case 11: VM2VM virtio-net packed ring mergeable 8 queues CBDMA enable test
 
 11. On VM1, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 12. On VM2, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
@@ -837,11 +837,11 @@ Test Case 12: VM2VM virtio-net packed ring non-mergeable 8 queues CBDMA enable t
 
 11. On VM1, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 12. On VM2, set virtio device::
 
-    ethtool -L ens5 combined 1
+      ethtool -L ens5 combined 1
 
 13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding success by scp::
 
diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst
index e198577b..a96c7110 100644
--- a/test_plans/vm2vm_virtio_user_test_plan.rst
+++ b/test_plans/vm2vm_virtio_user_test_plan.rst
@@ -964,7 +964,7 @@ Test Case 14: packed virtqueue vm2vm inorder mergeable path multi-queues payload
 7. Start vhost testpmd, then quit pdump and all testpmd, check 512 packets received by virtio-user1, check 54 packets with 8k length and 458 packets with 2k length in pdump-virtio-rx.pcap.
 
 Test Case 15: packed virtqueue vm2vm mergeable path multi-queues payload check with cbdma enabled
-================================================================================================
+=================================================================================================
 
 1. Launch vhost by below command::
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-19  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21  9:53 [dts] [PATCH V1] test_plans: fix build warning and errors Haiyang Zhao
2020-12-22  2:56 ` Tu, Lijuan
2021-03-19  2:57 Haiyang Zhao
2021-03-19  9:01 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git