From patchwork Thu Oct 14 06:14:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 101550 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 8BA1BA0C53; Thu, 14 Oct 2021 08:01:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5189540042; Thu, 14 Oct 2021 08:01:24 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B9B7440041 for ; Thu, 14 Oct 2021 08:01:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="251036367" X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="251036367" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 23:01:21 -0700 X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="491797799" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 23:01:19 -0700 From: Jiale Song To: dts@dpdk.org Cc: qi.fu@intel.com, Jiale Song Date: Thu, 14 Oct 2021 14:14:32 +0800 Message-Id: <1634192072-46527-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V2] tests/iavf_fdir_gtpogre: modify the test code design 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 Sender: "dts" because some rules have been successfully created in ICE GTP over GRE Package, so modify the code design to fix the bug Signed-off-by: Jiale Song --- test_plans/iavf_fdir_gtpogre_test_plan.rst | 2 -- tests/TestSuite_iavf_fdir_gtpogre.py | 1 - 2 files changed, 3 deletions(-) mode change 100644 => 100755 test_plans/iavf_fdir_gtpogre_test_plan.rst mode change 100644 => 100755 tests/TestSuite_iavf_fdir_gtpogre.py diff --git a/test_plans/iavf_fdir_gtpogre_test_plan.rst b/test_plans/iavf_fdir_gtpogre_test_plan.rst old mode 100644 new mode 100755 index 29a4b8b..8e9e187 --- a/test_plans/iavf_fdir_gtpogre_test_plan.rst +++ b/test_plans/iavf_fdir_gtpogre_test_plan.rst @@ -635,8 +635,6 @@ negative test case iavf_flow_create(): Failed to create flow port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): Failed to create parser engine.: Invalid argument - testpmd> flow create 0 ingress pattern eth / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / gre / ipv6 / udp / gtpu teid is 0x12 / gtp_psc pdu_t is 1 qfi is 0x100 / end actions rss queues 4 5 end / mark id 23 / end - Bad arguments testpmd> flow create 0 ingress pattern eth / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / gre / ipv4 / udp / gtpu teid is 0x100000000 / gtp_psc pdu_t is 1 qfi is 0x3 / end actions drop / end Bad arguments diff --git a/tests/TestSuite_iavf_fdir_gtpogre.py b/tests/TestSuite_iavf_fdir_gtpogre.py old mode 100644 new mode 100755 index 1e10d58..f9915a3 --- a/tests/TestSuite_iavf_fdir_gtpogre.py +++ b/tests/TestSuite_iavf_fdir_gtpogre.py @@ -2117,7 +2117,6 @@ class TestCvlIavfGTPoGREFDIR(TestCase): 'flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / udp dst is 13 / gtpu / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / end actions queue index 33 / mark id 13 / end', 'flow create 0 ingress pattern eth / ipv6 / gre / ipv4 / udp / gtpu / gtp_psc pdu_t is a/ ipv4 src is 1.1.2.4 dst is 1.1.2.5 / end actions mark / rss / end', 'flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / udp / gtpu / gtp_psc pdu_t is 2 / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / tcp src is 13 dst is 23 / end actions queue index 3 / mark id 13 / end', - 'flow create 0 ingress pattern eth / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / gre / ipv6 / udp / gtpu teid is 0x12 / gtp_psc pdu_t is 1 qfi is 0x100 / end actions rss queues 4 5 end / mark id 23 / end', 'flow create 0 ingress pattern eth / ipv4 src is 1.1.2.4 dst is 1.1.2.5 / gre / ipv4 / udp / gtpu teid is 0x100000000 / gtp_psc pdu_t is 1 qfi is 0x3 / end actions drop / end', ] self.launch_testpmd(param_fdir=True)