test suite reviews and discussions
 help / color / Atom feed
From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 07/14] test_plans/l2tp_esp_coverage: fix build warnings and errors
Date: Tue, 23 Jun 2020 10:21:34 +0800
Message-ID: <1592878901-216102-8-git-send-email-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <1592878901-216102-1-git-send-email-haiyangx.zhao@intel.com>

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 test_plans/l2tp_esp_coverage_test_plan.rst | 70 +++++++++++++++---------------
 1 file changed, 35 insertions(+), 35 deletions(-)

diff --git a/test_plans/l2tp_esp_coverage_test_plan.rst b/test_plans/l2tp_esp_coverage_test_plan.rst
index 2e04c0e..4998f0f 100644
--- a/test_plans/l2tp_esp_coverage_test_plan.rst
+++ b/test_plans/l2tp_esp_coverage_test_plan.rst
@@ -236,7 +236,7 @@ Test Case 2: test MAC_IPV4_ESP HW checksum offload
 Test Case 3: test MAC_IPV4_AH HW checksum offload
 =================================================
 
-1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode::
+1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode:
 
 2. DUT setup csum forwarding mode::
 
@@ -309,7 +309,7 @@ Test Case 3: test MAC_IPV4_AH HW checksum offload
 Test Case 4: test MAC_IPV4_NAT-T-ESP HW checksum offload
 ========================================================
 
-1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode::
+1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode:
 
 2. DUT setup csum forwarding mode::
 
@@ -414,34 +414,34 @@ Test Case 4: test MAC_IPV4_NAT-T-ESP HW checksum offload
 
 10. DUT check the packets are correctly received by DUT and report the checksum error::
 
-    testpmd> port 0/queue 0: received 1 packets
-    src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=530 - nb_segs=1 - RSS hash=0x0 - RSS queue=0x0 - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
-    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
-    -----------------
-    port=0, mbuf=0x22848a0ac0, pkt_len=530, nb_segs=1:
-    rx: l2_len=14 ethertype=800 l3_len=20 l4_proto=17 l4_len=8 flags=PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
-    tx: m->l2_len=14 m->l3_len=20 m->l4_len=8
-    tx: flags=PKT_TX_IP_CKSUM PKT_TX_L4_NO_CKSUM PKT_TX_IPV4
-    stop
-    Telling cores to stop...
-    Waiting for lcores to finish...
-
-    ---------------------- Forward statistics for port 0  ----------------------
-    RX-packets: 1              RX-dropped: 0             RX-total: 1
-    Bad-ipcsum: 1              Bad-l4csum: 1             Bad-outer-l4csum: 0
-    TX-packets: 1              TX-dropped: 0             TX-total: 1
-    ----------------------------------------------------------------------------
-
-    +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
-    RX-packets: 1              RX-dropped: 0             RX-total: 1
-    TX-packets: 1              TX-dropped: 0             TX-total: 1
-    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+     testpmd> port 0/queue 0: received 1 packets
+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=530 - nb_segs=1 - RSS hash=0x0 - RSS queue=0x0 - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     -----------------
+     port=0, mbuf=0x22848a0ac0, pkt_len=530, nb_segs=1:
+     rx: l2_len=14 ethertype=800 l3_len=20 l4_proto=17 l4_len=8 flags=PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+     tx: m->l2_len=14 m->l3_len=20 m->l4_len=8
+     tx: flags=PKT_TX_IP_CKSUM PKT_TX_L4_NO_CKSUM PKT_TX_IPV4
+     stop
+     Telling cores to stop...
+     Waiting for lcores to finish...
+
+     ---------------------- Forward statistics for port 0  ----------------------
+     RX-packets: 1              RX-dropped: 0             RX-total: 1
+     Bad-ipcsum: 1              Bad-l4csum: 1             Bad-outer-l4csum: 0
+     TX-packets: 1              TX-dropped: 0             TX-total: 1
+     ----------------------------------------------------------------------------
+
+     +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
+     RX-packets: 1              RX-dropped: 0             RX-total: 1
+     TX-packets: 1              TX-dropped: 0             TX-total: 1
+     ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 
 Test Case 5: test MAC_IPV6_NAT-T-ESP HW checksum offload
 ========================================================
 
-1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode::
+1. DUT enable rx checksum with "--enable-rx-cksum" when start testpmd, setup csum forwarding mode:
 
 2. DUT setup csum forwarding mode::
 
@@ -713,7 +713,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IP(proto=50)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -781,7 +781,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IPv6(nh=50)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -848,7 +848,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IP(proto=51)/AH(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -917,7 +917,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IPv6(nh=51)/AH(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -985,7 +985,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IP()/UDP(dport=4500)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -1053,7 +1053,7 @@ subcase 1: vlan stripping
 
     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=2)/IPv6()/UDP(dport=4500)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
-6. DUT check the pkt is not recieved::
+6. DUT check the pkt is not recieved:
 
 7. DUT disable the vlan header stripping with vlan tag identifier 1::
 
@@ -1169,7 +1169,7 @@ The pre-steps are as l2tp_esp_iavf_test_plan.
 
 10. Tester send matched packets with VLAN tag "1" and incorrect checksum::
 
-    sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(proto=115,chksum=0x123)/L2TP('\x00\x00\x00\x01')/Raw('x'*480)], iface="enp134s0f0")
+     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(proto=115,chksum=0x123)/L2TP('\x00\x00\x00\x01')/Raw('x'*480)], iface="enp134s0f0")
 
 11.DUT check the packets are not distributed to expected queue without mark id and and without VLAN tag "1", and report the checksum error::
 
@@ -1261,7 +1261,7 @@ Test Case 15: MAC_IPV4_L2TPv3 vlan insert on + SW checksum offload check
 
 10. Tester send matched packets with incorrect checksum::
 
-    sendp([Ether(dst="00:11:22:33:44:55")/IP(proto=115,chksum=0x123)/L2TP('\x00\x00\x00\x02')/Raw('x'*480)], iface="enp134s0f0")
+     sendp([Ether(dst="00:11:22:33:44:55")/IP(proto=115,chksum=0x123)/L2TP('\x00\x00\x00\x02')/Raw('x'*480)], iface="enp134s0f0")
 
 11.DUT check the packets are not distributed to expected queue without mark id and report the checksum error::
 
@@ -1352,7 +1352,7 @@ The pre-steps are as l2tp_esp_iavf_test_plan.
 
 10. Tester send matched packets with VLAN tag "1" and incorrect checksum::
 
-    sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(proto=50,chksum=0x123)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
+     sendp([Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(proto=50,chksum=0x123)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
     
 11.DUT check the packets are not distributed to expected queue without mark id and and fwd without VLAN tag "1", and report the checksum error::
 
@@ -1444,7 +1444,7 @@ Test Case 17: MAC_IPV6_NAT-T-ESP vlan insert on + SW checksum offload check
 
 10. Tester send matched packets with incorrect checksum::
 
-    sendp([Ether(dst="00:11:22:33:44:55")/IP(chksum=0x123)/UDP(dport=4500)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
+     sendp([Ether(dst="00:11:22:33:44:55")/IP(chksum=0x123)/UDP(dport=4500)/ESP(spi=1)/Raw('x'*480)], iface="enp134s0f0")
 
 11.DUT check the packets are not distributed to expected queue without mark id and report the checksum error::
 
-- 
1.8.3.1


  parent reply index

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23  2:21 [dts] [PATCH V1 00/14] test_plans: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 01/14] test_plans/cvl_advanced_iavf_rss: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 02/14] test_plans/cvl_fdir: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 03/14] test_plans/fortville_rss_input: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 04/14] test_plans/generic_flow_api: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 05/14] test_plans/iavf_fdir: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 06/14] test_plans/iavf_package_driver_error_handle: " Haiyang Zhao
2020-06-23  2:21 ` Haiyang Zhao [this message]
2020-06-23  2:21 ` [dts] [PATCH V1 08/14] test_plans/loopback_virtio_user_server_mode: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 09/14] test_plans/pvp_multi_paths_performance: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 10/14] test_plans/pvp_multi_paths_virtio_single_core_performance: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 11/14] test_plans/rss_to_rte_flow: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 12/14] test_plans/stats_checks: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 13/14] test_plans/vm2vm_virtio_net_perf: " Haiyang Zhao
2020-06-23  2:21 ` [dts] [PATCH V1 14/14] test_plans/index: " Haiyang Zhao
2020-06-28  6:44 ` [dts] [PATCH V1 00/14] test_plans: " Tu, Lijuan

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592878901-216102-8-git-send-email-haiyangx.zhao@intel.com \
    --to=haiyangx.zhao@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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