From patchwork Fri May 20 05:45:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111476 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B18D7A0503; Fri, 20 May 2022 07:46:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7875540395; Fri, 20 May 2022 07:46:15 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id EC30940151 for ; Fri, 20 May 2022 07:46:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025574; x=1684561574; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5zvDK99B+e9A1kWWGbTFRTtBT4LZT7AvZ8igcC9QD3Y=; b=eFR60fIB6k8sGeULm5jexsbot7TdgL/ApYVCI9axyQSDmIbc2XhTVBqG IgQ42JOn8IsTIopadfWvjk83vutj2xc7jVNc4xUXJ1Y/AzjhqLwsZ3UZI uRj0nbAQw7GCWWoPXYj7skLi5Vad3S/eMVpeet8+9KilkmCcchSTURnlN L7jo6FBJYMfPReXKWia4qSItX/2AuO1pnCz0lWcsZz+8rcqBocaj0QYgK m2GapMPfAJqDTRP/EyljNHG0uZViFMfF/Xv0TY2PeqVoEPqM1zDQOXqOo 75zo0Q9BrKUee+gkz2znNMcjLzJ0jp+TbkECtgtO3hA8n/SPd5wPZlypr A==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203100" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203100" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:10 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510775" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:09 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Date: Fri, 20 May 2022 13:45:58 +0800 Message-Id: <20220520054605.1856551-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- .../ice_advanced_iavf_rss_test_plan.rst | 108 -------- tests/TestSuite_ice_advanced_iavf_rss.py | 236 ------------------ 2 files changed, 344 deletions(-) diff --git a/test_plans/ice_advanced_iavf_rss_test_plan.rst b/test_plans/ice_advanced_iavf_rss_test_plan.rst index fa02ddd6..7ac66f5a 100644 --- a/test_plans/ice_advanced_iavf_rss_test_plan.rst +++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst @@ -402,10 +402,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -425,10 +421,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -442,10 +434,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -467,10 +455,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -490,10 +474,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -507,10 +487,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -530,10 +506,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -547,10 +519,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -570,10 +538,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -587,10 +551,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -611,11 +571,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -631,10 +586,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -978,10 +929,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1001,10 +948,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1018,10 +961,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1043,10 +982,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1066,10 +1001,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1083,10 +1014,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1106,10 +1033,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1123,10 +1046,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1146,10 +1065,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1163,10 +1078,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1187,11 +1098,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0") sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -1207,10 +1113,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -2379,11 +2281,6 @@ ipv4-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)],iface="enp134s0f0") -ipv4-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0") - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)],iface="enp134s0f0") - ipv4-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0") @@ -2476,11 +2373,6 @@ ipv6-nonfrag packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") -ipv6-frag packets:: - - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0") - ipv6-icmp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0") diff --git a/tests/TestSuite_ice_advanced_iavf_rss.py b/tests/TestSuite_ice_advanced_iavf_rss.py index d9479e50..b91ce9a6 100644 --- a/tests/TestSuite_ice_advanced_iavf_rss.py +++ b/tests/TestSuite_ice_advanced_iavf_rss.py @@ -47,10 +47,6 @@ mac_ipv4_toeplitz_basic_pkt = { 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)' % vf0_mac, ], - "ipv4-frag": [ - 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)' - % vf0_mac, - ], "ipv4-icmp": [ 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)' % vf0_mac, @@ -99,10 +95,6 @@ mac_ipv6_toeplitz_basic_pkt = { 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)' % vf0_mac, ], - "ipv6-frag": [ - 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - ], "ipv6-icmp": [ 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)' % vf0_mac, @@ -166,20 +158,6 @@ mac_ipv4_l2_src = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -225,15 +203,6 @@ mac_ipv4_l2_dst = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -274,20 +243,6 @@ mac_ipv4_l2src_l2dst = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -338,20 +293,6 @@ mac_ipv4_l3_src = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -414,20 +355,6 @@ mac_ipv4_l3_dst = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -495,25 +422,6 @@ mac_ipv4_all = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -1993,20 +1901,6 @@ mac_ipv6_l2_src = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2052,15 +1946,6 @@ mac_ipv6_l2_dst = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2101,20 +1986,6 @@ mac_ipv6_l2src_l2dst = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2165,20 +2036,6 @@ mac_ipv6_l3_src = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2241,20 +2098,6 @@ mac_ipv6_l3_dst = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2322,25 +2165,6 @@ mac_ipv6_all = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -3748,16 +3572,6 @@ mac_ipv4_symmetric = { % vf0_mac, "action": {"check_hash_different": "ipv4-nonfrag-pre"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv4-frag-pre"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag-pre"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)' % vf0_mac, @@ -3798,16 +3612,6 @@ mac_ipv4_symmetric = { % vf0_mac, "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)' % vf0_mac, @@ -3858,16 +3662,6 @@ mac_ipv4_symmetric = { % vf0_mac, "action": {"check_hash_different": "ipv4-nonfrag-post"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv4-frag-post"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv4-frag-post"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)' % vf0_mac, @@ -4320,16 +4114,6 @@ mac_ipv6_symmetric = { % vf0_mac, "action": {"check_hash_different": "ipv6-nonfrag-pre"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv6-frag-pre"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag-pre"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)' % vf0_mac, @@ -4370,16 +4154,6 @@ mac_ipv6_symmetric = { % vf0_mac, "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)' % vf0_mac, @@ -4430,16 +4204,6 @@ mac_ipv6_symmetric = { % vf0_mac, "action": {"check_hash_different": "ipv6-nonfrag-post"}, }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"save_hash": "ipv6-frag-post"}, - }, - { - "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)' - % vf0_mac, - "action": {"check_hash_different": "ipv6-frag-post"}, - }, { "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)' % vf0_mac, From patchwork Fri May 20 05:45:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111477 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A66F8A0503; Fri, 20 May 2022 07:46:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9736540222; Fri, 20 May 2022 07:46:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id E317240156 for ; Fri, 20 May 2022 07:46:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025575; x=1684561575; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hdpaFxsX/NZRF5gTnZAMQVe/WpmAJUQTcnZ3bwt+83E=; b=d51s9FPAffMBtDJa0744BJbUGu0OStH3ANMOrd1NmcK5DvLemJ7MEdLM qMmAFoA9GQI/yaPRlrQcrLfFkFY6iRj09sfUhL+7FwNHClX7OpQ4QZylw H2clek4uscazzeBZ+nB8rC6+ge8vp1gVRrwvlFBnsvAf21YpboCoEwUdh WapVhzozy+GsNYL2h2Pxi6jlD7/mrX4GGK1N/e0szjZ5BnAtV5t9WLTBm VK0lKpA4EgNnDwkVfzqLUKOlloL1BWjZA6mD+nAuGIJtzTotKn1TtICB6 pArHZAufsSEvMRLdlEuV3hqKB9XUJmdbvvIsyvlz2yW980KjFQJzP5BHb Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203107" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203107" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:12 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510800" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:11 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: remove ip fragment packets Date: Fri, 20 May 2022 13:45:59 +0800 Message-Id: <20220520054605.1856551-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- .../ice_advanced_rss_pppoe_test_plan.rst | 240 --------- tests/TestSuite_ice_advanced_rss_pppoe.py | 464 +----------------- 2 files changed, 2 insertions(+), 702 deletions(-) diff --git a/test_plans/ice_advanced_rss_pppoe_test_plan.rst b/test_plans/ice_advanced_rss_pppoe_test_plan.rst index 05dd82b6..a8633f4b 100644 --- a/test_plans/ice_advanced_rss_pppoe_test_plan.rst +++ b/test_plans/ice_advanced_rss_pppoe_test_plan.rst @@ -487,8 +487,6 @@ packets mismatched the pattern:: sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0") sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)],iface="ens786f0") Subcase 1: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY ----------------------------------------- @@ -531,21 +529,6 @@ Subcase 1: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the field [Source MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -597,21 +580,6 @@ Subcase 2: MAC_PPPOE_IPV4_PAY_L2_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the field [Dest MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -665,23 +633,6 @@ Subcase 3: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY_L2_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the fields [Source MAC][Dest MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -733,21 +684,6 @@ Subcase 4: MAC_PPPOE_IPV4_PAY_L3_SRC_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the field [Source IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.7", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -799,21 +735,6 @@ Subcase 5: MAC_PPPOE_IPV4_PAY_L3_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the field [Dest IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.3", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.7", dst="192.168.1.2", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -867,23 +788,6 @@ Subcase 6: MAC_PPPOE_IPV4_PAY_L3_SRC_ONLY_L3_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - change the fields [Source IP][Dest IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.7", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.7", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53",dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=3)/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2223,9 +2127,7 @@ Test case: MAC_PPPOE_IPV6_PAY packets mismatched the pattern:: sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") Subcase 1: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY ----------------------------------------- @@ -2268,21 +2170,6 @@ Subcase 1: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the field [Source MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash value is different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2334,21 +2221,6 @@ Subcase 2: MAC_PPPOE_IPV6_PAY_L2_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the field [Dest MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash value is different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2402,23 +2274,6 @@ Subcase 3: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY_L2_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the field [Source MAC][Dest MAC], send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash value is different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2470,21 +2325,6 @@ Subcase 4: MAC_PPPOE_IPV6_PAY_L3_SRC_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the field [Source IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash value is different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2536,21 +2376,6 @@ Subcase 5: MAC_PPPOE_IPV6_PAY_L3_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the field [Dest IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -2604,23 +2429,6 @@ Subcase 6: MAC_PPPOE_IPV6_PAY_L3_SRC_ONLY_L3_DST_ONLY check the hash values are the same as the first packet. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - change the fields [Source IP][Dest IP], send packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are different from the first packet. - change other fields, send packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values are the same as the first packet. - 4. send packets mismatched the pattern, check the hash values not exist. 5. destroy the rule:: @@ -4150,16 +3958,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric check the hash value is not changed. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - - swap the values of [Source IP] and [Dest IP], send the packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash value is not changed. - 4. send packets mismatched the rule, and swap the [Source IP] and [Dest IP] * MAC_PPPOE_IPV6_PAY packet:: @@ -4169,13 +3967,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric check the hash values of the two packets are different. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values of the two packets are different. - * MAC_IPV4_PAY packet:: sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)],iface="ens786f0") @@ -4183,13 +3974,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric check the hash values of the two packets are different. - * MAC_IPV4_FRAG packet:: - - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values of the two packets are different. - 5. destroy the rule:: testpmd> flow destroy 0 rule 0 @@ -4404,16 +4188,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric check the hash value is not changed. - * MAC_PPPOE_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - swap the values of [Source IP] and [Dest IP], send the packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash value is not changed. - 4. send packets mismatched the rule, and swap the values of [Source IP] and [Dest IP] * MAC_PPPOE_IPV4_PAY packet:: @@ -4423,13 +4197,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric check the hash values of the two packets are different. - * MAC_PPPOE_IPV4_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)],iface="ens786f0") - - check the hash values of the two packets are different. - * MAC_IPV6_PAY packet:: sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0") @@ -4437,13 +4204,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric check the hash values of the two packets are different. - * MAC_IPV6_FRAG packet:: - - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0") - - check the hash values of the two packets are different. - 5. destroy the rule:: testpmd> flow destroy 0 rule 0 diff --git a/tests/TestSuite_ice_advanced_rss_pppoe.py b/tests/TestSuite_ice_advanced_rss_pppoe.py index 229cc311..968164a2 100644 --- a/tests/TestSuite_ice_advanced_rss_pppoe.py +++ b/tests/TestSuite_ice_advanced_rss_pppoe.py @@ -385,8 +385,6 @@ mac_pppoe_ipv4_pay_packets = { "mismatch": [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)', ] } @@ -398,14 +396,6 @@ mac_pppoe_ipv4_pay = [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5")/Raw("x"*80)', ] -mac_pppoe_ipv4_frag = [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=4)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)', -] - mac_pppoe_ipv4_pay_src_test = [ { "send_packet": mac_pppoe_ipv4_pay[0], @@ -419,18 +409,6 @@ mac_pppoe_ipv4_pay_src_test = [ "send_packet": mac_pppoe_ipv4_pay[2], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_frag[0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[1], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[2], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]], "action": "check_no_hash", @@ -450,18 +428,6 @@ mac_pppoe_ipv4_pay_dst_test = [ "send_packet": mac_pppoe_ipv4_pay[1], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_frag[0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[2], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[1], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]], "action": "check_no_hash", @@ -489,26 +455,6 @@ mac_pppoe_ipv4_pay_src_dst_test = [ "send_packet": mac_pppoe_ipv4_pay[-1], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_frag[0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[1], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[2], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[3], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_frag[-1], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]], "action": "check_no_hash", @@ -518,7 +464,7 @@ mac_pppoe_ipv4_pay_src_dst_test = [ mac_pppoe_ipv4_pay_post_test = ( [ { - "send_packet": [item for item in mac_pppoe_ipv4_pay + mac_pppoe_ipv4_frag], + "send_packet": [item for item in mac_pppoe_ipv4_pay], "action": "check_no_hash", }, ], @@ -554,11 +500,6 @@ mac_pppoe_ipv4_pay_l3_src_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7")/Raw("x"*80)', ], - "mac_pppoe_ipv4_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7", frag=3)/Raw("x"*80)', - ], } mac_pppoe_ipv4_pay_l3_src_only = { @@ -584,24 +525,6 @@ mac_pppoe_ipv4_pay_l3_src_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[ - "mac_pppoe_ipv4_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[ - "mac_pppoe_ipv4_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[ - "mac_pppoe_ipv4_frag" - ][2], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": mac_pppoe_ipv4_pay_packets["mismatch"], "action": "check_no_hash", @@ -609,8 +532,7 @@ mac_pppoe_ipv4_pay_l3_src_only = { ], "post-test": [ { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_pay"] - + mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_frag"], + "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_pay"], "action": "check_no_hash", }, ], @@ -622,11 +544,6 @@ mac_pppoe_ipv4_pay_l3_dst_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.3")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.7", dst="192.168.1.2")/Raw("x"*80)', ], - "mac_pppoe_ipv4_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.3", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.7", dst="192.168.1.2", frag=3)/Raw("x"*80)', - ], } mac_pppoe_ipv4_pay_l3_dst_only = { @@ -652,24 +569,6 @@ mac_pppoe_ipv4_pay_l3_dst_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][2], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]], "action": "check_no_hash", @@ -680,7 +579,6 @@ mac_pppoe_ipv4_pay_l3_dst_only = { "send_packet": [ i for i in mac_pppoe_ipv4_pay_l3_dst_only_packets["mac_pppoe_ipv4_pay"] - + mac_pppoe_ipv4_pay_l3_dst_only_packets["mac_pppoe_ipv4_frag"] ], "action": "check_no_hash", }, @@ -695,13 +593,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.7")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)', ], - "mac_pppoe_ipv4_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.7", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=3)/Raw("x"*80)', - ], } mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = { @@ -739,36 +630,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = { ][-1], "action": {"check_hash_same", "mac_pppoe_ipv4_pay"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][2], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][3], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ][-1], - "action": {"check_hash_same", "mac_pppoe_ipv4_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]], "action": "check_no_hash", @@ -781,9 +642,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = { for i in mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ "mac_pppoe_ipv4_pay" ] - + mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv4_frag" - ] ], "action": "check_no_hash", }, @@ -2295,9 +2153,7 @@ mac_pppoe_ipv4_tcp_pay_ipv4 = { mac_pppoe_ipv6_pay_packets = { "mismatch": [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', ] } @@ -2307,11 +2163,6 @@ mac_pppoe_ipv6_pay_l2_src_only_packets = { 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l2_src_only = { @@ -2337,37 +2188,11 @@ mac_pppoe_ipv6_pay_l2_src_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][2], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i for i in mac_pppoe_ipv6_pay_l2_src_only_packets["mac_pppoe_ipv6_frag"] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_pay_l2_dst_only_packets = { @@ -2376,11 +2201,6 @@ mac_pppoe_ipv6_pay_l2_dst_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l2_dst_only = { @@ -2406,37 +2226,11 @@ mac_pppoe_ipv6_pay_l2_dst_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][2], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i for i in mac_pppoe_ipv6_pay_l2_dst_only_packets["mac_pppoe_ipv6_frag"] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets = { @@ -2447,13 +2241,6 @@ mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets = { 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only = { @@ -2491,52 +2278,11 @@ mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only = { ][-1], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][2], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][3], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][-1], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i - for i in mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_pay_l3_src_only_packets = { @@ -2545,11 +2291,6 @@ mac_pppoe_ipv6_pay_l3_src_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l3_src_only = { @@ -2575,37 +2316,11 @@ mac_pppoe_ipv6_pay_l3_src_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][1:-1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[ - "mac_pppoe_ipv6_frag" - ][-1], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i for i in mac_pppoe_ipv6_pay_l3_src_only_packets["mac_pppoe_ipv6_frag"] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_pay_l3_dst_only_packets = { @@ -2614,11 +2329,6 @@ mac_pppoe_ipv6_pay_l3_dst_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l3_dst_only = { @@ -2644,37 +2354,11 @@ mac_pppoe_ipv6_pay_l3_dst_only = { ], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][1:-1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][-1], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i for i in mac_pppoe_ipv6_pay_l3_dst_only_packets["mac_pppoe_ipv6_frag"] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets = { @@ -2685,13 +2369,6 @@ mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], } mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only = { @@ -2729,52 +2406,11 @@ mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only = { ][-1], "action": {"check_hash_same", "mac_pppoe_ipv6_pay"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][2], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][3], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ][-1], - "action": {"check_hash_same", "mac_pppoe_ipv6_frag"}, - }, { "send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]], "action": "check_no_hash", }, ], - "post-test": [ - { - "send_packet": [ - i - for i in mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[ - "mac_pppoe_ipv6_frag" - ] - ], - "action": "check_no_hash", - }, - ], } mac_pppoe_ipv6_udp_pay_packets = { @@ -4626,28 +4262,16 @@ mac_pppoe_ipv6_pay_symmetric_packets = { 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], }, "mismatch": { "mac_pppoe_ipv4_pay": [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)', ], - "mac_pppoe_ipv4_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)', - ], "mac_ipv6_pay": [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)', ], - "mac_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], }, } @@ -4668,18 +4292,6 @@ mac_pppoe_ipv6_pay_symmetric = { ][1:], "action": {"check_hash_same": "mac_pppoe_ipv6_pay_match"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["match"][ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag_match"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["match"][ - "mac_pppoe_ipv6_frag" - ][1:], - "action": {"check_hash_same": "mac_pppoe_ipv6_frag_match"}, - }, { "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ "mac_pppoe_ipv4_pay" @@ -4692,18 +4304,6 @@ mac_pppoe_ipv6_pay_symmetric = { ][1:], "action": {"check_hash_different": "mac_pppoe_ipv4_pay_mismatch"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ - "mac_pppoe_ipv4_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv4_frag_mismatch"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ - "mac_pppoe_ipv4_frag" - ][1:], - "action": {"check_hash_different": "mac_pppoe_ipv4_frag_mismatch"}, - }, { "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ "mac_ipv6_pay" @@ -4716,18 +4316,6 @@ mac_pppoe_ipv6_pay_symmetric = { ][1:], "action": {"check_hash_different": "mac_ipv6_pay_mismatch"}, }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ - "mac_ipv6_frag" - ][0], - "action": {"save_hash": "mac_ipv6_frag_mismatch"}, - }, - { - "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][ - "mac_ipv6_frag" - ][1:], - "action": {"check_hash_different": "mac_ipv6_frag_mismatch"}, - }, ], "post-test": [ { @@ -4745,28 +4333,16 @@ mac_pppoe_ipv4_pay_symmetric_packets = { 'Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1")/Raw("x"*80)', ], - "mac_pppoe_ipv4_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)', - ], }, "mismatch": { "mac_pppoe_ipv6_pay": [ 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)', 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)', ], - "mac_pppoe_ipv6_frag": [ - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)', - 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)', - ], "mac_ipv4_pay": [ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20")/Raw("x"*80)', ], - "mac_ipv4_frag": [ - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20", frag=5)/Raw("x"*80)', - ], }, } @@ -4787,18 +4363,6 @@ mac_pppoe_ipv4_pay_symmetric = { ][1], "action": {"check_hash_same": "mac_pppoe_ipv4_pay_match"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["match"][ - "mac_pppoe_ipv4_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv4_frag_match"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["match"][ - "mac_pppoe_ipv4_frag" - ][1], - "action": {"check_hash_same": "mac_pppoe_ipv4_frag_match"}, - }, { "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ "mac_pppoe_ipv6_pay" @@ -4811,18 +4375,6 @@ mac_pppoe_ipv4_pay_symmetric = { ][1], "action": {"check_hash_different": "mac_pppoe_ipv6_pay_mismatch"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ - "mac_pppoe_ipv6_frag" - ][0], - "action": {"save_hash": "mac_pppoe_ipv6_frag_mismatch"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ - "mac_pppoe_ipv6_frag" - ][1], - "action": {"check_hash_different": "mac_pppoe_ipv6_frag_mismatch"}, - }, { "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ "mac_ipv4_pay" @@ -4835,18 +4387,6 @@ mac_pppoe_ipv4_pay_symmetric = { ][1], "action": {"check_hash_different": "mac_ipv4_pay_mismatch"}, }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ - "mac_ipv4_frag" - ][0], - "action": {"save_hash": "mac_ipv4_frag_mismatch"}, - }, - { - "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][ - "mac_ipv4_frag" - ][1], - "action": {"check_hash_different": "mac_ipv4_frag_mismatch"}, - }, ], "post-test": [ { From patchwork Fri May 20 05:46:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111478 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01436A0505; Fri, 20 May 2022 07:46:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD0884282A; Fri, 20 May 2022 07:46:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 3EAEB40151 for ; Fri, 20 May 2022 07:46:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025575; x=1684561575; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ffYa2jVoVG+wd2/3d0koSvsbMxCIZ+TytXspqQH/J5E=; b=ivwPCKIzqDqmEcylLadLhnKbSOcm4kmaBAJ22o0sMWKYsRNywSQ9yWpY BYpS1/AJxwD49dpSJaR0PgDUjjI8ymH44j83bVuK+of85eHjkg2hBpB7E AGTiuLHhjk3tqdticieXiYGe4/bYJacJtN2Syy8ROC+PW8OS3VkPZFt16 4DhIwiQgbIhhe6KnBMI6kiyB+CeuZUPSJcSlrbIxiPqrG9mqysOPY15sx TXMH/9gwzByLV7BC6i4vZkPWTW6x2FMk38RNdNOwz/RzkKGXAy4p5sYyu iVb6jii5Wl8NmEh03ENv2wwPFP12n6FF3/PIejZWvRZYm5SPTg0DcGJ2c A==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203113" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203113" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:14 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510819" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:12 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 3/8] tests/ice_advanced_rss: remove ip fragment packets Date: Fri, 20 May 2022 13:46:00 +0800 Message-Id: <20220520054605.1856551-3-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- test_plans/ice_advanced_rss_test_plan.rst | 120 ----------- tests/TestSuite_ice_advanced_rss.py | 252 ---------------------- 2 files changed, 372 deletions(-) diff --git a/test_plans/ice_advanced_rss_test_plan.rst b/test_plans/ice_advanced_rss_test_plan.rst index 84495696..15faea35 100644 --- a/test_plans/ice_advanced_rss_test_plan.rst +++ b/test_plans/ice_advanced_rss_test_plan.rst @@ -385,10 +385,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -416,10 +412,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -433,10 +425,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0") @@ -456,10 +444,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -473,10 +457,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0") @@ -498,12 +478,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -521,10 +495,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0") @@ -544,10 +514,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -561,10 +527,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -584,10 +546,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -605,10 +563,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -629,11 +583,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -649,10 +598,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -1012,10 +957,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1043,10 +984,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1060,10 +997,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="ens786f0") @@ -1083,10 +1016,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1100,10 +1029,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/ICMP()/("X"*480)],iface="ens786f0") @@ -1125,12 +1050,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1148,10 +1067,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="ens786f0") @@ -1171,10 +1086,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1188,10 +1099,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0") @@ -1211,10 +1118,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0") @@ -1228,10 +1131,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1252,11 +1151,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0") @@ -1272,10 +1166,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") @@ -1660,11 +1550,6 @@ ipv4-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)],iface="ens786f0") -ipv4-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)],iface="ens786f0") - ipv4-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0") @@ -1755,11 +1640,6 @@ ipv6-nonfrag packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0") -ipv6-frag packets:: - - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0") - ipv6-icmp packets:: sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0") diff --git a/tests/TestSuite_ice_advanced_rss.py b/tests/TestSuite_ice_advanced_rss.py index 5ddf20e0..8e637810 100644 --- a/tests/TestSuite_ice_advanced_rss.py +++ b/tests/TestSuite_ice_advanced_rss.py @@ -44,9 +44,6 @@ mac_ipv4_toeplitz_basic_pkt = { "ipv4-nonfrag": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)', ], - "ipv4-frag": [ - 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)', - ], "ipv4-icmp": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', ], @@ -107,9 +104,6 @@ mac_ipv6_toeplitz_basic_pkt = { "ipv6-nonfrag": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', ], - "ipv6-frag": [ - 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - ], "ipv6-icmp": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)', ], @@ -174,9 +168,6 @@ mac_ipv4_l2src_changed = { "ipv4-nonfrag": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)', ], - "ipv4-frag": [ - 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)', - ], "ipv4-icmp": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', ], @@ -192,9 +183,6 @@ mac_ipv4_l2dst_changed = { "ipv4-nonfrag": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)', ], - "ipv4-frag": [ - 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)', - ], "ipv4-icmp": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', ], @@ -210,9 +198,6 @@ mac_ipv4_l3src_changed = { "ipv4-nonfrag": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)', ], - "ipv4-frag": [ - 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2", frag=6)/("X"*480)', - ], "ipv4-icmp": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)', ], @@ -228,9 +213,6 @@ mac_ipv4_l3dst_changed = { "ipv4-nonfrag": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)', ], - "ipv4-frag": [ - 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2", frag=6)/("X"*480)', - ], "ipv4-icmp": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)', ], @@ -246,9 +228,6 @@ mac_ipv6_l2src_changed = { "ipv6-nonfrag": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', ], - "ipv6-frag": [ - 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - ], "ipv6-icmp": [ 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)', ], @@ -261,9 +240,6 @@ mac_ipv6_l2dst_changed = { "ipv6-nonfrag": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)', ], - "ipv6-frag": [ - 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)', - ], "ipv6-icmp": [ 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)', ], @@ -290,18 +266,6 @@ mac_ipv4_l2_src = { "send_packet": mac_ipv4_l2dst_changed["ipv4-nonfrag"], "action": "check_hash_same", }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2src_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"], - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -331,7 +295,6 @@ mac_ipv4_l2_src = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -357,18 +320,6 @@ mac_ipv4_l2_dst = { "send_packet": mac_ipv4_l2src_changed["ipv4-nonfrag"], "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2src_changed["ipv4-frag"], - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -398,7 +349,6 @@ mac_ipv4_l2_dst = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -432,26 +382,6 @@ mac_ipv4_l2src_l2dst = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)', "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l2src_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)', - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)', - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -497,7 +427,6 @@ mac_ipv4_l2src_l2dst = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -523,18 +452,6 @@ mac_ipv4_l3_src = { "send_packet": mac_ipv4_l3dst_changed["ipv4-nonfrag"], "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3src_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"], - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -552,7 +469,6 @@ mac_ipv4_l3_src = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -578,18 +494,6 @@ mac_ipv4_l3_dst = { "send_packet": mac_ipv4_l3src_changed["ipv4-nonfrag"], "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3src_changed["ipv4-frag"], - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -607,7 +511,6 @@ mac_ipv4_l3_dst = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -637,22 +540,6 @@ mac_ipv4_all = { "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)', "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"], - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": mac_ipv4_l3src_changed["ipv4-frag"], - "action": {"check_hash_different": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)', - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"], "action": {"save_hash": "ipv4-icmp"}, @@ -674,7 +561,6 @@ mac_ipv4_all = { { "send_packet": [ mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0], - mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0], mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0], ], @@ -2258,18 +2144,6 @@ mac_ipv6_l2_src = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)', "action": "check_hash_same", }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2303,7 +2177,6 @@ mac_ipv6_l2_src = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], ], @@ -2329,18 +2202,6 @@ mac_ipv6_l2_dst = { "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2374,7 +2235,6 @@ mac_ipv6_l2_dst = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], ], @@ -2408,26 +2268,6 @@ mac_ipv6_l2src_l2dst = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2477,7 +2317,6 @@ mac_ipv6_l2src_l2dst = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], ], @@ -2503,18 +2342,6 @@ mac_ipv6_l3_src = { "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2548,7 +2375,6 @@ mac_ipv6_l3_src = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], mac_ipv6_toeplitz_basic_pkt["nvgre"][0], @@ -2575,18 +2401,6 @@ mac_ipv6_l3_dst = { "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2620,7 +2434,6 @@ mac_ipv6_l3_dst = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], mac_ipv6_toeplitz_basic_pkt["nvgre"][0], @@ -2651,22 +2464,6 @@ mac_ipv6_all = { "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"], - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"], "action": {"save_hash": "ipv6-icmp"}, @@ -2708,7 +2505,6 @@ mac_ipv6_all = { { "send_packet": [ mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0], - mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0], mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0], mac_ipv6_toeplitz_basic_pkt["nvgre"][0], @@ -4253,14 +4049,6 @@ mac_ipv4_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)', "action": {"check_hash_different": "ipv4-nonfrag-pre"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)', - "action": {"save_hash": "ipv4-frag-pre"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)', - "action": {"check_hash_different": "ipv4-frag-pre"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', "action": {"save_hash": "ipv4-icmp-pre"}, @@ -4287,14 +4075,6 @@ mac_ipv4_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)', "action": {"check_hash_same": "ipv4-nonfrag"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)', - "action": {"save_hash": "ipv4-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)', - "action": {"check_hash_same": "ipv4-frag"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', "action": {"save_hash": "ipv4-icmp"}, @@ -4329,14 +4109,6 @@ mac_ipv4_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)', "action": {"check_no_hash_or_different": "ipv4-nonfrag-post"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)', - "action": {"save_or_no_hash": "ipv4-frag-post"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)', - "action": {"check_no_hash_or_different": "ipv4-frag-post"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)', "action": {"save_or_no_hash": "ipv4-icmp-post"}, @@ -4561,14 +4333,6 @@ mac_ipv6_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', "action": {"check_hash_different": "ipv6-nonfrag-pre"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"save_hash": "ipv6-frag-pre"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_different": "ipv6-frag-pre"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)', "action": {"save_hash": "ipv6-icmp-pre"}, @@ -4595,14 +4359,6 @@ mac_ipv6_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', "action": {"check_hash_same": "ipv6-nonfrag"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"save_hash": "ipv6-frag"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_hash_same": "ipv6-frag"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)', "action": {"save_hash": "ipv6-icmp"}, @@ -4637,14 +4393,6 @@ mac_ipv6_symmetric = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', "action": {"check_no_hash_or_different": "ipv6-nonfrag-post"}, }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"save_or_no_hash": "ipv6-frag-post"}, - }, - { - "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - "action": {"check_no_hash_or_different": "ipv6-frag-post"}, - }, { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)', "action": {"save_or_no_hash": "ipv6-icmp-post"}, From patchwork Fri May 20 05:46:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111479 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64967A0506; Fri, 20 May 2022 07:46:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF4E242B73; Fri, 20 May 2022 07:46:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 580DA40156 for ; Fri, 20 May 2022 07:46:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025576; x=1684561576; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RO5ni8Te1la21ICOnaMsxoGqkkj7S9UnyRj7wsKR8fw=; b=U1sB0WSWI2gb21GXkqzq8S1rio37o/02bVPhdcMG/VLyk1jpLjAvdgXQ c3piGSeg7shMoBPJp78j7bQkmC5+I38OeV9pqaiRY1sdc4DEhCGAYiZGM u5Udo1ZwJy23nVUZMR0LxgM+9IEcistFhFRLwVj+4zbfPk9pT8ja++leh R3IrH5OFKU+ujsOq376/cSG6wsNRKKi0VJBvwsqTB0huWBDsfFdYhq/Sk aMzWg/xDtv8wAng9ACyIHyHO59U7RE4cMMYuicaepdj5cs3SNNL0B1xqB 6jPtRRBLKfb2eNmEVRWeP7d19nQi+D3cmO9MBdEhAQiU2myhgLFRpFBLB A==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203114" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203114" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:15 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510831" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:14 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 4/8] tests/ice_dcf_acl_filter: remove ip fragment packets Date: Fri, 20 May 2022 13:46:01 +0800 Message-Id: <20220520054605.1856551-4-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- test_plans/ice_dcf_acl_filter_test_plan.rst | 10 ---------- tests/TestSuite_ice_dcf_acl_filter.py | 19 ------------------- 2 files changed, 29 deletions(-) diff --git a/test_plans/ice_dcf_acl_filter_test_plan.rst b/test_plans/ice_dcf_acl_filter_test_plan.rst index 1f92d659..00451ec5 100644 --- a/test_plans/ice_dcf_acl_filter_test_plan.rst +++ b/test_plans/ice_dcf_acl_filter_test_plan.rst @@ -141,7 +141,6 @@ Subcase 1: src mac(only 2ports NIC support) 2. matched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="01:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="02:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="ff:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -150,7 +149,6 @@ Subcase 1: src mac(only 2ports NIC support) 3. unmatched packets:: sendp([Ether(src="00:11:22:33:66:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:66", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:66:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:66", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:32:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -193,7 +191,6 @@ Subcase 3: src ipv4 2. matched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.158", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -202,7 +199,6 @@ Subcase 3: src ipv4 3. unmatched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -217,7 +213,6 @@ Subcase 4: dst ipv4 2. matched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.0")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.0",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.158")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.255")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.255")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -226,7 +221,6 @@ Subcase 4: dst ipv4 3. unmatched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -241,7 +235,6 @@ Subcase 5: src ipv4 + dst ipv4 2. matched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp216s0f0") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp216s0f0") @@ -250,7 +243,6 @@ Subcase 5: src ipv4 + dst ipv4 3. unmatched packets:: sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp216s0f0") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.3")/TCP()/Raw(load='X'*30)], iface="enp216s0f0") sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load='X'*30)], iface="enp216s0f0") @@ -269,7 +261,6 @@ Subcase 6: src mac + dst mac + src ipv4 + dst ipv4(only 2port NIC support) 2. matched packets:: sendp([Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:00", dst="33:00:00:00:00:03")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") @@ -278,7 +269,6 @@ Subcase 6: src mac + dst mac + src ipv4 + dst ipv4(only 2port NIC support) 3. unmatched packets:: sendp([Ether(src="00:11:22:33:66:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1") - sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:01")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1") sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1") diff --git a/tests/TestSuite_ice_dcf_acl_filter.py b/tests/TestSuite_ice_dcf_acl_filter.py index 49fd23a0..3a1f86e4 100644 --- a/tests/TestSuite_ice_dcf_acl_filter.py +++ b/tests/TestSuite_ice_dcf_acl_filter.py @@ -49,8 +49,6 @@ MAC_IPV4_PAY_SRC_MAC = { "match": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="01:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="02:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)' @@ -63,8 +61,6 @@ MAC_IPV4_PAY_SRC_MAC = { "unmatch": [ 'Ether(src="00:11:22:33:66:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:66", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:66:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:66", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)' @@ -92,8 +88,6 @@ MAC_IPV4_PAY_SRC_IP = { "match": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.0", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.158", dst="192.168.0.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2")/TCP()/Raw(load="x"*30)' @@ -106,8 +100,6 @@ MAC_IPV4_PAY_SRC_IP = { "unmatch": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)' @@ -123,8 +115,6 @@ MAC_IPV4_PAY_DST_IP = { "match": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.0")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.0",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.158")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.255")/TCP()/Raw(load="x"*30)' @@ -137,8 +127,6 @@ MAC_IPV4_PAY_DST_IP = { "unmatch": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/TCP()/Raw(load="x"*30)' @@ -154,8 +142,6 @@ MAC_IPV4_PAY_SRC_DST_IP = { "match": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load="x"*30)' @@ -168,8 +154,6 @@ MAC_IPV4_PAY_SRC_DST_IP = { "unmatch": [ 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load="x"*30)' % vf1_mac, - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)' % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.3")/TCP()/Raw(load="x"*30)' @@ -184,7 +168,6 @@ MAC_IPV4_PAY_SRC_DST_IP = { MAC_IPV4_PAY_SRC_DST_MAC_SRC_DST_IP = { "match": [ 'Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load="x"*30)', - 'Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load="x"*30)', 'Ether(src="00:11:22:33:44:00", dst="33:00:00:00:00:03")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load="x"*30)', 'Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load="x"*30)', 'Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load="x"*30)', @@ -192,8 +175,6 @@ MAC_IPV4_PAY_SRC_DST_MAC_SRC_DST_IP = { ], "unmatch": [ 'Ether(src="00:11:22:33:66:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)', - 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)' - % vf1_mac, 'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:01")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)', 'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)', 'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load="x"*30)', From patchwork Fri May 20 05:46:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111480 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C521A0503; Fri, 20 May 2022 07:46:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D12642B71; Fri, 20 May 2022 07:46:19 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 33B8F40151 for ; Fri, 20 May 2022 07:46:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025577; x=1684561577; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3sewBYJ7vmUEWPOBbKMNd/cq+CL3GkmW3FvyXXe6e30=; b=jZhhkOMd/oJsDm0JF5tU2G7m25aAjCDrpYEZ9ATWVSMkVDE0k9aEpKoi vM/hJ7Vvd+on/SpoiL7HZfEJ/PhirPIpOH7DjXEf6ufffUc7fkSMiFPWr wHEZm596kq31CFWgsB7aLhG1+xMZfV45c6AUqSIixszRheNUv78NKiJfF 2KniE0MY699FjE1EyIPcmiRRO55FI9HVkq3ev6E2VLR+kAa6rRp3rVuqR /fiQ47hL81mWupNuWvtwWJ1rMbuG4dM4sHdu22ettbJ6mfNeRuH8Gw5nd eV6viAOCyXPiWE4kcukSn/86DLWh95ZiEZvXr/1T11p2O7f79fPT7jot9 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203115" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203115" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:16 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510844" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:15 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function Date: Fri, 20 May 2022 13:46:02 +0800 Message-Id: <20220520054605.1856551-5-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- test_plans/ice_switch_filter_test_plan.rst | 20 +++++++++++++++++ tests/TestSuite_ice_switch_filter.py | 26 ++++++++++++++++------ 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/test_plans/ice_switch_filter_test_plan.rst b/test_plans/ice_switch_filter_test_plan.rst index b6d0d596..6db690fb 100644 --- a/test_plans/ice_switch_filter_test_plan.rst +++ b/test_plans/ice_switch_filter_test_plan.rst @@ -2766,6 +2766,10 @@ to queue action check the rule not exists in the list. + create rss rule to switch on ipfrag rss function:: + + flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end + 2. create a rule:: testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end @@ -2808,6 +2812,10 @@ to queue group action check the rule not exists in the list. + create rss rule to switch on ipfrag rss function:: + + flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end + 2. create a rule:: testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end @@ -3528,6 +3536,10 @@ to queue group action check the rule not exists in the list. + create rss rule to switch on ipfrag rss function:: + + flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end + 2. create a rule:: testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end @@ -3627,6 +3639,10 @@ to queue action check the rule not exists in the list. + create rss rule to switch on ipfrag rss function:: + + flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end + 2. create a rule:: testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end @@ -3669,6 +3685,10 @@ to queue group action check the rule not exists in the list. + create rss rule to switch on ipfrag rss function:: + + flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end + 2. create a rule:: testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end diff --git a/tests/TestSuite_ice_switch_filter.py b/tests/TestSuite_ice_switch_filter.py index 2622a5cd..c402fffc 100644 --- a/tests/TestSuite_ice_switch_filter.py +++ b/tests/TestSuite_ice_switch_filter.py @@ -3087,7 +3087,9 @@ mac_ipv4_frag_pipeline_mode_scapy_str = { tv_mac_ipv4_frag_pipeline_mode_in_queue_01 = { "name": "tv_mac_ipv4_frag_pipeline_mode_in_queue_01", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv4_frag_pipeline_mode_scapy_str["matched"], @@ -3109,7 +3111,9 @@ tv_mac_ipv4_frag_pipeline_mode_in_queue_01 = { tv_mac_ipv4_frag_pipeline_mode_queue_region_02 = { "name": "tv_mac_ipv4_frag_pipeline_mode_queue_region_02", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv4_frag_pipeline_mode_scapy_str["matched"], @@ -3525,7 +3529,9 @@ mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str = { tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01 = { "name": "tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 5 / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 5 / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str["matched"], @@ -3547,7 +3553,9 @@ tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01 = { tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_queue_region_02 = { "name": "tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_queue_region_02", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str["matched"], @@ -3611,7 +3619,9 @@ mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str = { tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01 = { "name": "tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str["matched"], @@ -3633,7 +3643,9 @@ tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01 = { tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_queue_region_02 = { "name": "tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_queue_region_02", - "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end", + "rte_flow_pattern": [ + "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end", + "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end",], "configuration": {"is_non_pipeline": False, "is_need_rss_rule": False}, "matched": { "scapy_str": mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str["matched"], @@ -4445,7 +4457,7 @@ class ICESwitchFilterTest(TestCase): if isinstance(rte_flow_pattern, list): for rule in rte_flow_pattern: out = self.dut.send_expect(rule, "testpmd> ") # create a rule - if s not in out: + if s not in out and 'frag' not in rule: rule_list.append(False) else: m = p.search(out) From patchwork Fri May 20 05:46:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111481 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D49CA0505; Fri, 20 May 2022 07:46:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 37FBF42B79; Fri, 20 May 2022 07:46:20 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 9763140156 for ; Fri, 20 May 2022 07:46:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025578; x=1684561578; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4B5DH/cSs3y2U1lmuVx6mY1CNV+bunJe7lFPwtStqkw=; b=fFUDfW3SFeeDdK3pszL2c1wuoyyOxGIsvI9TdSQ0EzI7sxpI3F7xmJRj 86h/2rfDC0TReRrovtQpjUG1lJs/E6taWemyWiCR6EszYrFnFxqQt+2k7 3ZP7NwX97U/FdjxFtzLW6tble0Di/GXnaOrBXIdh/Yj6o0LwQQeJbLDug z9nIgWNDiieCLJOiby7oyJj7YcW5ZfSnCDpkvctaQbbufx3Zamjeloprn AsVihVGN796si22R0GJ9INHeJx/WtEBsZ7SBjrKJETHaSYJkMiE/VJ0BR xrQ2kJUwBuA790ZRoylEnp9NphEEv2aIolh/qZgoMus26+BYaFr+NAjcv w==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203116" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203116" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510860" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:17 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets Date: Fri, 20 May 2022 13:46:03 +0800 Message-Id: <20220520054605.1856551-6-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- test_plans/ice_fdir_test_plan.rst | 23 +++++++++++------------ tests/TestSuite_ice_fdir.py | 27 +++++++++++++-------------- 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/test_plans/ice_fdir_test_plan.rst b/test_plans/ice_fdir_test_plan.rst index 906b3527..0bf5352c 100644 --- a/test_plans/ice_fdir_test_plan.rst +++ b/test_plans/ice_fdir_test_plan.rst @@ -210,7 +210,6 @@ Send packets matched packets:: sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface="enp175s0f0") - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw('x' * 80)],iface="enp175s0f0") unmatched packets:: @@ -819,11 +818,11 @@ Subcase 7: MAC_IPV4_PAY protocal 2. send matched packets:: pkt1 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1) / Raw('x' * 80) - pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1) / Raw('x' * 80) + pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw('x' * 80) pkt3 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4) /UDP(sport=22,dport=23)/Raw('x' * 80) - pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4) /UDP(sport=22,dport=23)/Raw('x' * 80) + pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22, dport=23)/Raw('x' * 80) pkt5 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw('x' * 80) - pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw('x' * 80) + pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/UDP(sport=22,dport=23)/TCP(sport=22, dport=23)/Raw('x' * 80) check the pkt1 and pkt2 are redirected to queue 1 with FDIR matched ID=0x1. check the pkt3-pkt6 are distributed by RSS with FDIR matched ID=0x3. @@ -832,7 +831,7 @@ Subcase 7: MAC_IPV4_PAY protocal pkt7 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1) / Raw('x' * 80) pkt8 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6) / Raw('x' * 80) pkt9 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/ Raw('x' * 80) - pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/ Raw('x' * 80) + pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/UDP(sport=22,dport=23)/Raw('x' * 80) check the packets received are distributed by RSS without FDIR matched ID. @@ -1055,15 +1054,15 @@ Subcase 7: MAC_IPV6_PAY protocal 1. create filter rules:: - flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 1 / end + flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 1 / end flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end 2. send matched packets:: - pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44, tc=1, hlim=2)/("X"*480) - pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b'1000')/("X"*480) - pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44)/TCP(sport=22,dport=23)/("X"*480) - pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b'1000')/TCP(sport=22,dport=23)/("X"*480) + pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17, tc=1, hlim=2)/("X"*480) + pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480) + pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17)/TCP(sport=22,dport=23)/("X"*480) + pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", tc=1, hlim=2)/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480) pkt5 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480) pkt6 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480) @@ -1071,8 +1070,8 @@ Subcase 7: MAC_IPV6_PAY protocal check pkt5 and pkt6 are distributed by RSS with FDIR matched ID=0x2. send unmatched packets:: - pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480) - pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480) + pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=17)/("X"*480) + pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/("X"*480) check the packets are distributed by RSS have not FDIR matched ID. diff --git a/tests/TestSuite_ice_fdir.py b/tests/TestSuite_ice_fdir.py index 7b642f70..ca1abd21 100644 --- a/tests/TestSuite_ice_fdir.py +++ b/tests/TestSuite_ice_fdir.py @@ -45,7 +45,6 @@ from framework.utils import GREEN, RED MAC_IPV4_PAY = { "match": [ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw("x" * 80)', ], "unmatched": [ 'Ether(dst="00:11:22:33:44:56")/IP(src="192.168.0.20",dst="192.168.0.22", proto=255, ttl=2, tos=4) / Raw("x" * 80)', @@ -3149,11 +3148,11 @@ class TestICEFdir(TestCase): ] rule_li = self.create_fdir_rule(rules, check_stats=True) pkt1 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=1) / Raw("x" * 80)' - pkt2 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, proto=1) / Raw("x" * 80)' + pkt2 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.19", dst="192.168.0.21", proto=1)/Raw("x" * 80)' pkt3 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", ttl=2, tos=4) / UDP(sport=22, dport=23) / Raw("x" * 80)' - pkt4 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, ttl=2, tos=4) / UDP(sport=22, dport=23) / Raw("x" * 80)' + pkt4 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=17)/TCP(sport=22, dport=23)/Raw("x" * 80)' pkt5 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=17, ttl=2, tos=4) / Raw("x" * 80)' - pkt6 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4) / Raw("x" * 80)' + pkt6 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.19", dst="192.168.0.21", proto=17, ttl=2, tos=4)/UDP(sport=22,dport=23)/TCP(sport=22, dport=23)/Raw("x" * 80)' out = self.send_pkts_getouput([pkt1, pkt2]) port_id = 0 @@ -3190,7 +3189,7 @@ class TestICEFdir(TestCase): pkt7 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1) / Raw("x" * 80)' pkt8 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6) / Raw("x" * 80)' pkt9 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/ Raw("x" * 80)' - pkt10 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/ Raw("x" * 80)' + pkt10 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/UDP(sport=22,dport=23)/Raw("x" * 80)' out3 = self.send_pkts_getouput([pkt7, pkt8, pkt9, pkt10]) fdir_scanner = re.compile("FDIR matched ID=(0x\w+)") @@ -3220,14 +3219,14 @@ class TestICEFdir(TestCase): def test_mac_ipv6_pay_protocal(self): rules = [ - "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 1 / end", + "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 1 / end", "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end", ] rule_li = self.create_fdir_rule(rules, check_stats=True) - pkt1 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44, tc=1, hlim=2)/("X"*480)' - pkt2 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b"1000")/("X"*480)' - pkt3 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44)/TCP(sport=22,dport=23)/("X"*480)' - pkt4 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b"1000")/TCP(sport=22,dport=23)/("X"*480)' + pkt1 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17, tc=1, hlim=2)/("X"*480)' + pkt2 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)' + pkt3 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17)/TCP(sport=22,dport=23)/("X"*480)' + pkt4 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", tc=1, hlim=2)/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)' pkt5 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)' pkt6 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)' @@ -3263,8 +3262,8 @@ class TestICEFdir(TestCase): "wrong received mark id %s, expect 0x2" % pkt_mark_id, ) - pkt8 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)' - pkt9 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)' + pkt8 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=17)/("X"*480)' + pkt9 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/("X"*480)' out3 = self.send_pkts_getouput([pkt8, pkt9]) fdir_scanner = re.compile("FDIR matched ID=(0x\w+)") @@ -3537,8 +3536,8 @@ class TestICEFdir(TestCase): check_param={"port_id": 1, "rss": True}, stats=False, ) - self.query_count(1, 2, 0, 0) - self.query_count(1, 2, 1, 0) + self.query_count(1, 1, 0, 0) + self.query_count(1, 1, 1, 0) self.check_fdir_rule(port_id=0, stats=True, rule_list=["0"]) self.check_fdir_rule(port_id=1, stats=True, rule_list=["0"]) self.destroy_fdir_rule(0, ["0"]) From patchwork Fri May 20 05:46:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111482 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5EA5BA0503; Fri, 20 May 2022 07:46:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59BC3427F0; Fri, 20 May 2022 07:46:22 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 01C3F40156 for ; Fri, 20 May 2022 07:46:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025580; x=1684561580; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z/9VcCOiOuTzbYbAjIA092ICJg9trZlawoqkuJ/JqfY=; b=jsff+Vn2CduiPY4q4s77LEPaNHJASiY04hB+3GTrsP2r4f3eLLUCn5W3 utqXUSvSPWWO3NcQxd80cJVQC2qzl5Kr/NWYafI9XIgDUytQhpQtP6GoI ZUUEAvas4xSWruhQQw7dcyo/Bvd4dU5anh/7jKsKS4uzJlm1P9X2leSCr 88FEd/cuaj/CWirfuhyfjNbwp6KS5Dr0QqBcXzzk8TTv+J/FO+TvDUnMH yKsr7DGQyjRSPf5h91FD8rRrpPZZM8ixgiLoP8UM2KhYIIbCpVGUUm0oz HkcQH0B13jZsU1GPyxnHtVUV3Gf7tpkZcslAQd0RaAGrRzlijWeqvyAjH Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203120" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203120" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:19 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510878" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:18 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 7/8] tests/ice_iavf_fdir: remove or replace ip fragment packets Date: Fri, 20 May 2022 13:46:04 +0800 Message-Id: <20220520054605.1856551-7-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Signed-off-by: Jiale Song --- test_plans/ice_iavf_fdir_test_plan.rst | 25 +++++++++++------------ tests/TestSuite_ice_iavf_fdir.py | 28 ++++++++++++++------------ 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst index f5940e1c..5b349738 100644 --- a/test_plans/ice_iavf_fdir_test_plan.rst +++ b/test_plans/ice_iavf_fdir_test_plan.rst @@ -316,7 +316,6 @@ Send packets matched packets:: sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface="enp134s0f1") - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw('x' * 80)],iface="enp134s0f1") sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)],iface="enp134s0f1") mismatched packets:: @@ -1359,11 +1358,11 @@ Subcase 7: MAC_IPV4_PAY protocal 2. send matched packets:: pkt1 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1)/Raw('x' * 80) - pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1)/Raw('x' * 80) + pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw('x' * 80) pkt3 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80) - pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80) + pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22,dport=23)/Raw('x' * 80) pkt5 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw('x' * 80) - pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw('x' * 80) + pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/Raw('x' * 80) check the pkt1 and pkt2 are redirected to queue 1 with FDIR matched ID=0x1. check the pkt3-pkt6 are distributed by RSS with FDIR matched ID=0x3. @@ -1372,7 +1371,7 @@ Subcase 7: MAC_IPV4_PAY protocal pkt7 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1)/Raw('x' * 80) pkt8 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6)/UDP(sport=22,dport=23)/Raw('x' * 80) pkt9 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/Raw('x' * 80) - pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/Raw('x' * 80) + pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/SCTP()/Raw('x' * 80) check the packets received have not FDIR matched ID. @@ -1594,15 +1593,15 @@ Subcase 7: MAC_IPV6_PAY protocal 1. create filter rules:: - flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 0 / end + flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 0 / end flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end 2. send matched packets:: - pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=44, tc=1, hlim=2)/("X"*480) - pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment(100)/("X"*480) - pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=44)/TCP(sport=22,dport=23)/("X"*480) - pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment(100)/TCP(sport=22,dport=23)/("X"*480) + pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=17, tc=1, hlim=2)/("X"*480) + pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480) + pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480) + pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480) pkt5 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480) pkt6 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480) @@ -1610,9 +1609,9 @@ Subcase 7: MAC_IPV6_PAY protocal check pkt5 and pkt6 are distributed by RSS with FDIR matched ID=0x2. send mismatched packets:: - pkt7 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=44)/("X"*480) - pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480) - pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480) + pkt7 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=1)/("X"*480) + pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP()/("X"*480) + pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/TCP(sport=22,dport=23)/("X"*480) check the packets are received without FDIR matched ID. diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py index 376275b7..f5a1d665 100644 --- a/tests/TestSuite_ice_iavf_fdir.py +++ b/tests/TestSuite_ice_iavf_fdir.py @@ -46,7 +46,6 @@ from .rte_flow_common import TXQ_RXQ_NUMBER MAC_IPV4_PAY = { "match": [ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw("x" * 80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)', ], "mismatch": [ @@ -61,17 +60,17 @@ MAC_IPV4_PAY = { MAC_IPV4_PAY_protocol = { "match": [ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1)/Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1)/Raw("x" * 80)', + 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw("x" * 80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)', + 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22,dport=23)/Raw("x" * 80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw("x" * 80)', + 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/Raw("x" * 80)', ], "mismatch": [ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1)/Raw("x" * 80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6)/UDP(sport=22,dport=23)/Raw("x" * 80)', 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/Raw("x" * 80)', - 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/Raw("x" * 80)', + 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/SCTP()/Raw("x" * 80)', ], } @@ -136,17 +135,17 @@ MAC_IPV6_PAY = { MAC_IPV6_PAY_protocol = { "match": [ - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=44, tc=1, hlim=2)/("X"*480)', - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=44)/TCP(sport=22,dport=23)/("X"*480)', - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/TCP(sport=22,dport=23)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=17, tc=1, hlim=2)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)', 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)', 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)', ], "mismatch": [ - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=44)/("X"*480)', - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)', - 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=1)/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP()/("X"*480)', + 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/TCP(sport=22,dport=23)/("X"*480)', ], } @@ -8815,7 +8814,7 @@ class TestICEIAVFFdir(TestCase): def test_mac_ipv6_protocol(self): rules = [ - "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 0 / end", + "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 0 / end", "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end", ] @@ -9397,6 +9396,7 @@ class TestICEIAVFFdir(TestCase): """ create same rules on pf and vf, no conflict """ + self.pmd_output.quit() self.session_secondary = self.dut.new_session() self.session_third = self.dut.new_session() @@ -9637,6 +9637,7 @@ class TestICEIAVFFdir(TestCase): """ create same input set but different action rules on pf and vf, no conflict. """ + self.pmd_output.quit() self.session_secondary = self.dut.new_session() self.session_third = self.dut.new_session() @@ -9900,6 +9901,7 @@ class TestICEIAVFFdir(TestCase): """ create different rules on pf and vf """ + self.pmd_output.quit() self.session_secondary = self.dut.new_session() self.session_third = self.dut.new_session() From patchwork Fri May 20 05:46:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111483 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82EFFA0503; Fri, 20 May 2022 07:46:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D7A042B78; Fri, 20 May 2022 07:46:23 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 6CF1440156 for ; Fri, 20 May 2022 07:46:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653025581; x=1684561581; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lEwUXRMfMrkA53wBMHUbE1uS1PxYQ4emM3FFdXZENiQ=; b=dHU3911fHTsQrYaqRCz291n8tb8YroYt2Q81vPQmkODatFpsXenueU1W h3RKAuVakTt818HxrvTnrqtp4qXLYzia5fF+8fi4gV7C3agS5QTfWUtS3 IIOX5D/I2jJPhyqR3N7MUQBRBfoCN4Z9lWoWHiNmKTbwDnZMaQ7JNGgfm yOTIyBveyNjow1AC4VbBBaCJTAMfK45mDzUMxX2/nNUJn4+wJ7iVBwlHS F7dKTvLCo/tUGjaBpcP1W8EhsnYtaCnYhZ08OOK8+Vd99IkdOG4PnXdw6 p79OIw6cN5jEZXS9zYgjUh3zxlWE731N0GasNGg3l/5yY92+YhgHeXnyF A==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="272203124" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="272203124" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:21 -0700 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="546510886" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 22:46:19 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 8/8] tests/vf_rss: remove ip fragment packets Date: Fri, 20 May 2022 13:46:05 +0800 Message-Id: <20220520054605.1856551-8-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520054605.1856551-1-songx.jiale@intel.com> References: <20220520054605.1856551-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 modify the script to adapt to the change of dpdk function According to dpdk commit f8d541da518 ("net/iavf: remove support for IP fragment default RSS"). According to dpdk commit cc46bab5968 ("net/ice: remove support for IP fragment default RSS"). Signed-off-by: Jiale Song --- tests/TestSuite_vf_rss.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py index 65995df1..a5314b13 100644 --- a/tests/TestSuite_vf_rss.py +++ b/tests/TestSuite_vf_rss.py @@ -392,12 +392,10 @@ class TestVfRss(TestCase): self.vm0_ports_socket = self.vm_dut_0.get_numa_id(vm0dutPorts[0]) iptypes = { "ipv4-other": "ip", - "ipv4-frag": "ip", "ipv4-udp": "udp", "ipv4-tcp": "tcp", "ipv4-sctp": "sctp", "ipv6-other": "ip", - "ipv6-frag": "ip", "ipv6-udp": "udp", "ipv6-tcp": "tcp", "ipv6-sctp": "sctp",