From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68748A0564; Tue, 24 Mar 2020 09:34:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D1BE1C0CF; Tue, 24 Mar 2020 09:34:40 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B020F1C0C0 for ; Tue, 24 Mar 2020 09:34:38 +0100 (CET) IronPort-SDR: htTOvuyJkf3RKP2v58HhePv3v37ZjSSvW7BxU/GZA22BZLbajAaR+7Mx2vr8LR6ln49cI8+AhG dpUexGIcASbw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 01:34:38 -0700 IronPort-SDR: kRhfFDvbrlOq7l3IH3mB2+ntYxb3tIyX2dgKFrNdHmINi9fAHgTWn170sRPf7VOIU02dwEYGRI XKaH3UToTRcg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,299,1580803200"; d="scan'208";a="281644195" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga002.fm.intel.com with ESMTP; 24 Mar 2020 01:34:37 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Tue, 24 Mar 2020 16:27:58 +0800 Message-Id: <1585038488-76474-3-git-send-email-haiyangx.zhao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1585038488-76474-1-git-send-email-haiyangx.zhao@intel.com> References: <1585038488-76474-1-git-send-email-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 02/12] test_plans/ddp_l2tpv3_test_plan: fix build warnings and errors X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Haiyang Zhao --- test_plans/ddp_l2tpv3_test_plan.rst | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/test_plans/ddp_l2tpv3_test_plan.rst b/test_plans/ddp_l2tpv3_test_plan.rst index 77f03a9..6d3952f 100644 --- a/test_plans/ddp_l2tpv3_test_plan.rst +++ b/test_plans/ddp_l2tpv3_test_plan.rst @@ -700,20 +700,20 @@ Test Case: L2TPv3 with specific IPv4 SIP and IPv6 SIP configured together 10. Send L2TPv3 IPv6 packet with SIP and session ID matching the configured rule, Packets should be received on queue 20:: - p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xe8')/ - Raw('x' * 20) + p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xe8')/ + Raw('x' * 20) 11. Send L2TPv3 IPv6 packet with session ID not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xff') - /Raw('x' * 20) + p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xff') + /Raw('x' * 20) 12. Send L2TPv3 IPv6 packet with SIP not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(src="1111:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xe8') - /Raw('x' * 20) + p=Ether()/IPv6(src="1111:2:3:4:5:6:7:8",nh=115)/Raw('\x00\x00\x03\xe8') + /Raw('x' * 20) Test Case: L2TPv3 with specific IPv4 DIP and IPv6 DIP configured together ========================================================================= @@ -779,20 +779,20 @@ Test Case: L2TPv3 with specific IPv4 DIP and IPv6 DIP configured together 10. Send L2TPv3 packet with session ID, DIP matching the configured rule, Packets should be received on queue 20:: - p=Ether()/IPv6(dst="8:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xe8')/ - Raw('x' * 20) + p=Ether()/IPv6(dst="8:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xe8')/ + Raw('x' * 20) 11. Send L2TPv3 packet with session ID not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(dst="8:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xff')/ - Raw('x' * 20) + p=Ether()/IPv6(dst="8:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xff')/ + Raw('x' * 20) 12. Send L2TPv3 packet with DIP not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(dst="8888:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xe8')/ - Raw('x' * 20) + p=Ether()/IPv6(dst="8888:7:6:5:4:3:2:1",nh=115)/Raw('\x00\x00\x03\xe8')/ + Raw('x' * 20) Test Case: L2TPv3 with IPv4 SIP, DIP and IPv6 SIP, DIP configured together ========================================================================== @@ -866,35 +866,35 @@ Test Case: L2TPv3 with IPv4 SIP, DIP and IPv6 SIP, DIP configured together 9. Send L2TPv3 IPv4 packet with SIP not matching the configured rule, Packets should be received on queue 0:: - p=Ether()/IP(src="100.10.10.1", dst= "20.10.10.20",proto=115)/ - Raw('\x00\x00\x00\x01')/Raw('x' * 20) + p=Ether()/IP(src="100.10.10.1", dst= "20.10.10.20",proto=115)/ + Raw('\x00\x00\x00\x01')/Raw('x' * 20) 10. Send L2TPv3 IPv4 packet with DIP not matching the configured rule, Packet - should be received on queue 0:: + should be received on queue 0:: - p=Ether()/IP(src="10.10.10.1", dst="220.10.10.20",proto=115)/ - Raw('\x00\x00\x00\x01')/Raw('x' * 20) + p=Ether()/IP(src="10.10.10.1", dst="220.10.10.20",proto=115)/ + Raw('\x00\x00\x00\x01')/Raw('x' * 20) 11. Send L2TPv3 IPv6 packet with SIP, DIP and session ID matching the configured rule, Packets should be received on queue 20:: - p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115)/ - Raw('\x00\x00\x03\xe8')/Raw('x' * 20) + p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115)/ + Raw('\x00\x00\x03\xe8')/Raw('x' * 20) 12. Send L2TPv3 IPv6 packet with session ID not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115)/ - Raw('\x00\x00\x03\xF8')/Raw('x' * 20) + p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115)/ + Raw('\x00\x00\x03\xF8')/Raw('x' * 20) 13. Send L2TPv3 IPv6 packet with SIP not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(src="1111:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115) - /Raw('\x00\x00\x03\xe8')/Raw('x' * 20) + p=Ether()/IPv6(src="1111:2:3:4:5:6:7:8",ipv6 dst="8:7:6:5:4:3:2:1",nh=115) + /Raw('\x00\x00\x03\xe8')/Raw('x' * 20) 14. Send L2TPv3 IPv6 packet with DIP not matching the configured rule, Packet should be received on queue 0:: - p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8888:7:6:5:4:3:2:1",nh=115)/ - Raw('\x00\x00\x03\xe8')/Raw('x' * 20) + p=Ether()/IPv6(src="1:2:3:4:5:6:7:8",ipv6 dst="8888:7:6:5:4:3:2:1",nh=115)/ + Raw('\x00\x00\x03\xe8')/Raw('x' * 20) -- 1.8.3.1