From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A47DA04FF; Tue, 24 May 2022 04:13:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 711284067B; Tue, 24 May 2022 04:13:04 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id F13A54014F for ; Tue, 24 May 2022 04:13:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653358382; x=1684894382; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7985IlcdFygQVgpnMmTyFSc7//7wxOS7RkbErUEXPy8=; b=QSzU1ayNZjxPJvRVZYtgELSeDxzFXn/sgTIzOn2lOwjkaNKXaC7VrSiR ruJbHzwjsrT30atryihLzQCKbBrbAMNop+8rx0+YiOPKuAbcXmTTbuAgt nxr+uGHFUbSTtSTL9HK+tuyx2RHfQD2VcqzRjTc8jin5SmdUYfvfE1d8K M7XpurzxvcIGq8WYq3UDulr0cfA3zDS5rI8iQWNYU1oRhJH4glNhgaQMp CD/vauAYgKxvEOGVxZwxa6PqHU/d/3b6JAQKD3xWw2cL0xjQbbDFzz4ge +RUcTU/ftBx6Tdc4TpGR66bbAfk3JdMW/I5suf5kXFUECM7+1ziGUpBtu w==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="273133551" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="273133551" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 19:12:42 -0700 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="600981861" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 19:12:41 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V1 4/5] tests/ice_iavf_ip_fragment_rte_flow:extend mismatch pkts Date: Tue, 24 May 2022 10:12:31 +0800 Message-Id: <20220524021232.32762-4-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524021232.32762-1-zhiminx.huang@intel.com> References: <20220524021232.32762-1-zhiminx.huang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 mismatch pkt should cover mismatch inputset pkts and mismatch pattern pkts. extend mismatch pkts to cover more test. Signed-off-by: Zhimin Huang --- ...TestSuite_ice_iavf_ip_fragment_rte_flow.py | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py b/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py index 8c9cfd9d..8d035df5 100644 --- a/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py +++ b/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py @@ -49,6 +49,7 @@ tv_mac_ipv4_frag_fdir_queue_index = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -63,6 +64,7 @@ tv_mac_ipv4_frag_fdir_rss_queues = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -75,6 +77,7 @@ tv_mac_ipv4_frag_fdir_passthru = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -87,6 +90,7 @@ tv_mac_ipv4_frag_fdir_drop = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -99,6 +103,7 @@ tv_mac_ipv4_frag_fdir_mark_rss = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -111,6 +116,7 @@ tv_mac_ipv4_frag_fdir_mark = { "scapy_str": { "matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], "unmatched": [ + "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)", "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], }, @@ -157,7 +163,8 @@ tv_mac_ipv6_frag_fdir_queue_index = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": 1, "mark_id": 0}, } @@ -171,7 +178,8 @@ tv_mac_ipv6_frag_fdir_rss_queues = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": [2, 3], "mark_id": 0}, } @@ -183,7 +191,8 @@ tv_mac_ipv6_frag_fdir_passthru = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True}, } @@ -195,7 +204,8 @@ tv_mac_ipv6_frag_fdir_drop = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "drop": True}, } @@ -207,7 +217,8 @@ tv_mac_ipv6_frag_fdir_mark_rss = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True}, } @@ -219,7 +230,8 @@ tv_mac_ipv6_frag_fdir_mark = { "matched": [ "Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)" ], - "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], + "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)", + "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"], }, "check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 1}, } -- 2.17.1