From patchwork Wed Apr 12 07:26:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 125954 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 C67B042923; Wed, 12 Apr 2023 09:25:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97896410F3; Wed, 12 Apr 2023 09:25:48 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 0BEA54067B for ; Wed, 12 Apr 2023 09:25:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681284347; x=1712820347; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YARw2Raf2GqvP3wTPkduhNQviQkwkK9tsBymSEXesj8=; b=GDFSOBtHkZSrNCA+2COn7WyMKk0f/36fZ/AFR1AUB2bb3351CW7KuPlr sg7rkLzS82HwRYh7FhAjGv7AS0NGEJBPYbzghXrpBe/KfNChIS7axw4pR r35ZC6wG4HnIp3nct4xmzaQvNzfO2xcpYvDggRp4kOEfxhl+9fRwQ4uT3 fwtY4sve6UidJpzi1I3ALdSnwBQJo0HQHc4ZU6Bz/0/O9BzGGy8vbK1Lb a5sA4TefdhCFLqFNUiP8btFodkalJnkgy4mcBuoUV29qpbiPhZtMJLT9+ jsFgaIBfGNo/xrSZojf57Zv449mlirS3NRVIkWT+ouBu0H0bPER1QiAYZ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="342579991" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="342579991" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 00:25:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="812882125" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="812882125" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 00:25:44 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 1/2] test_plans/ice_iavf_fdir: update dts code for gtpu rule changes Date: Wed, 12 Apr 2023 15:26:11 +0800 Message-Id: <20230412072612.12506-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 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 According to dpdk commit 16b8e92d49 (ethdev: use extension header for GTP PSC item) modify script adapt to dpdk changes. Because fixed support for this input set in this commit, this validate was removed from negative case. Signed-off-by: Weiyuan Li --- test_plans/ice_iavf_fdir_test_plan.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst index 16412acd..b6ceded2 100644 --- a/test_plans/ice_iavf_fdir_test_plan.rst +++ b/test_plans/ice_iavf_fdir_test_plan.rst @@ -1238,7 +1238,6 @@ Note: some of the error messages may be differernt. 8. Invalid value of input set:: - flow validate 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x100 / end actions queue index 1 / end flow validate 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / gtp_psc qfi is 0x5 / end actions queue index 2 / end flow validate 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / end actions queue index 1 / end @@ -4203,7 +4202,6 @@ Subcase 3: Invalid parameters of GTPU input set 1. Invalid value of teid and qfi:: - flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x100 / end actions queue index 1 / end flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / gtp_psc qfi is 0x5 / end actions queue index 2 / end flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / end actions queue index 1 / end From patchwork Wed Apr 12 07:26:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 125955 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 C41ED42923; Wed, 12 Apr 2023 09:25:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB7FD40FAE; Wed, 12 Apr 2023 09:25:49 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 4BF294067B for ; Wed, 12 Apr 2023 09:25:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681284348; x=1712820348; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=498IPU68As6f0b/OJa2NZ08TX24jcn/bsTVCE33mWBQ=; b=mGv36A2ljLBRJef4qXyJyq1VgUMrOAZnC3SnrsX7GlNjwQ5kISxmWDuc zKD5Tk+Ty6u/JfXz9puqx5Yb0yzIPtadcHYuRSUAMPD11/+8dsU1Mvya3 tPt6/sBi8H0pJKHyVA+3gdXfC2bW6EVF+F4D9jU2OkTxr+2L2UwHwwyqB LvnBQFE6+2REjb3Gk7LhcHij8h8betDxaQ9Il1dSOZ5e2OpKXJ8DYFf5Y V+1s2bu6ZvlxHW/zfr3bYWm8xic9IyKHPAxgo45P55zUn35ZYwAP+4SDM RwEKnk4zcM+OSw0GjNetYTtcYbv25YE0lLx53L1dLZst9u7O+VdDGyqIB w==; X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="342579993" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="342579993" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 00:25:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="812882134" X-IronPort-AV: E=Sophos;i="5.98,338,1673942400"; d="scan'208";a="812882134" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 00:25:46 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 2/2] tests/ice_iavf_fdir: update dts code for gtpu rule changes Date: Wed, 12 Apr 2023 15:26:12 +0800 Message-Id: <20230412072612.12506-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20230412072612.12506-1-weiyuanx.li@intel.com> References: <20230412072612.12506-1-weiyuanx.li@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 According to dpdk commit 16b8e92d49 (ethdev: use extension header for GTP PSC item) modify script adapt to dpdk changes. Because fixed support for this input set in this commit, this validate was removed from negative case. Signed-off-by: Weiyuan Li Acked-by: Zhimin Huang --- tests/TestSuite_ice_iavf_fdir.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py index 5370ea8e..ba231915 100644 --- a/tests/TestSuite_ice_iavf_fdir.py +++ b/tests/TestSuite_ice_iavf_fdir.py @@ -9573,7 +9573,6 @@ class TestICEIAVFFdir(TestCase): def test_l2_ethertype(self): self.multirules_process(vectors_l2_ethertype) - @skip_unsupported_pkg("comms") def test_negative_case(self): """ negative cases @@ -9590,7 +9589,6 @@ class TestICEIAVFFdir(TestCase): ], "invalid mark id": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 proto is 255 ttl is 2 tos is 4 / end actions passthru / mark id 4294967296 / end", "invalid parameters of GTPU input set": [ - "flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x100 / end actions queue index 1 / end", "flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / gtp_psc qfi is 0x5 / end actions queue index 2 / end", "flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x100000000 / end actions queue index 1 / end", ],