From patchwork Fri Oct 29 06:18:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103209 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 BD592A0C45; Fri, 29 Oct 2021 08:32:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7079241135; Fri, 29 Oct 2021 08:32:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 50BEF41120 for ; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370571" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370571" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:40 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459720" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:36 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:24 +0800 Message-Id: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1 1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- .../cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 2 +- tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py diff --git a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst old mode 100644 new mode 100755 index b9229f19..34f97ed9 --- a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst +++ b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst @@ -1142,7 +1142,7 @@ Subcase 5: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 1 2. check the rule list on port 0:: diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py old mode 100644 new mode 100755 index df2f8d58..02da01e0 --- a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py @@ -992,7 +992,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase): def test_invalid_port(self): rule = 'flow create 1 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end' - self.rsspro.create_rule(rule, check_stats=False, msg='No such device') + self.rsspro.create_rule(rule, check_stats=False, msg='Invalid port 1') self.rsspro.check_rule(stats=False, rule_list=[rule]) pattern = 'Invalid port 1' out = self.dut.send_command("flow list 1", timeout=1) From patchwork Fri Oct 29 06:18:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103208 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 25724A0547; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FF1D410E0; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0EE2140395 for ; Fri, 29 Oct 2021 08:32:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370573" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370573" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:40 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459727" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:38 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:25 +0800 Message-Id: <1635488309-118246-2-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 2/6] tests/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 2 +- tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst mode change 100644 => 100755 tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py diff --git a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst old mode 100644 new mode 100755 index bc2db466..d1f0ddbe --- a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst +++ b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst @@ -1288,7 +1288,7 @@ Subcase 5: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 1 2. check the rule list on port 0:: diff --git a/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py old mode 100644 new mode 100755 index 975de56f..da5cac84 --- a/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py +++ b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py @@ -968,7 +968,7 @@ class Advanced_rss_vlan_ah_l2tp_pfcp(TestCase): def test_invalid_port(self): self.switch_testpmd(symmetric=True) rule = 'flow create 1 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end' - self.rsspro.create_rule(rule, check_stats=False, msg='No such device') + self.rsspro.create_rule(rule, check_stats=False, msg='Invalid port 1') self.rsspro.check_rule(stats=False, rule_list=[rule]) pattern = 'Invalid port 1' out = self.dut.send_command("flow list 1", timeout=1) From patchwork Fri Oct 29 06:18:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103212 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 9A976A0547; Fri, 29 Oct 2021 08:32:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9335C40688; Fri, 29 Oct 2021 08:32:57 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A065B40395 for ; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370577" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370577" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:41 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459737" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:39 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:26 +0800 Message-Id: <1635488309-118246-3-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 3/6] tests/cvl_fdir: update case code for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- test_plans/cvl_fdir_test_plan.rst | 4 ++-- tests/TestSuite_cvl_fdir.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 test_plans/cvl_fdir_test_plan.rst mode change 100644 => 100755 tests/TestSuite_cvl_fdir.py diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst old mode 100644 new mode 100755 index b5052578..8e508d71 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -703,7 +703,7 @@ Note: there may be error message change. get the message:: - No such device: No such device + Invalid port 2 10. check the flow list:: @@ -3550,7 +3550,7 @@ Subcase 11: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 2 2. check there is no rule listed on port 2:: diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py old mode 100644 new mode 100755 index 75c3ba93..d0ed03bc --- a/tests/TestSuite_cvl_fdir.py +++ b/tests/TestSuite_cvl_fdir.py @@ -2759,7 +2759,7 @@ class TestCVLFdir(TestCase): # check_stats=False, check_msg='Bad arguments') self.validate_fdir_rule( 'flow validate 2 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 queue index 1 / end', - check_stats=False, check_msg='No such device') + check_stats=False, check_msg='Invalid port 2') self.check_fdir_rule(stats=False) def test_mac_ipv4_pay_protocal(self): @@ -2980,7 +2980,7 @@ class TestCVLFdir(TestCase): def test_invalid_port(self): rule = "flow create 2 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 1 / end" - self.create_fdir_rule(rule, check_stats=False, msg="No such device: No such device") + self.create_fdir_rule(rule, check_stats=False, msg="Invalid port 2") out = self.pmd_output.execute_cmd("flow list 2") self.verify("Invalid port 2" in out, "expect Invalid port 2 in %s" % out) From patchwork Fri Oct 29 06:18:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103211 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 C7901A0C47; Fri, 29 Oct 2021 08:32:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3CE64113A; Fri, 29 Oct 2021 08:32:57 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id E90B640688 for ; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370581" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370581" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:42 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459748" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:41 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:27 +0800 Message-Id: <1635488309-118246-4-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 4/6] tests/flow_classify_softnic: update case code for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- test_plans/flow_classify_softnic_test_plan.rst | 8 ++++---- tests/TestSuite_flow_classify_softnic.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 test_plans/flow_classify_softnic_test_plan.rst mode change 100644 => 100755 tests/TestSuite_flow_classify_softnic.py diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst old mode 100644 new mode 100755 index b18d32b6..2b46d0af --- a/test_plans/flow_classify_softnic_test_plan.rst +++ b/test_plans/flow_classify_softnic_test_plan.rst @@ -562,7 +562,7 @@ a) Map the table a:: dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 \ / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end - Error reported, rule item is inconsistent with the table match. + Invalid port 4, rule item is inconsistent with the table match. Table with hask key mask for src addr, but the rule added is for dst addr. b) Map the table b:: @@ -571,7 +571,7 @@ b) Map the table b:: dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 \ / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end - Error reported, rule item is inconsistent with the table match. + Invalid port 4, rule item is inconsistent with the table match. Table with hask key mask for dst addr 255.255.255.0, but the rule added is 255.255.255.255. Test Case: ipv6 rule item inconsistent with table match format @@ -605,7 +605,7 @@ a) Map the table a:: src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 \ src spec 31 dst spec 41 / end actions queue index 3 / end - Error reported, rule item is inconsistent with the table match. + Invalid port 4, rule item is inconsistent with the table match. Table with hask key mask for 5 tuple, but the rule added mask udp src with 0. b) Map the table b:: @@ -615,7 +615,7 @@ b) Map the table b:: ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 \ / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end - Error reported, rule item is inconsistent with the table match. + Invalid port 4, rule item is inconsistent with the table match. Table with hask key mask for dst addr, but the rule added is for src addr. Test Case: ipv4 hash table rss action diff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py old mode 100644 new mode 100755 index a2c15dcc..329e3d4c --- a/tests/TestSuite_flow_classify_softnic.py +++ b/tests/TestSuite_flow_classify_softnic.py @@ -844,13 +844,13 @@ class TestFlowClassifySoftnic(TestCase): self.start_testpmd(filename, self.port_num) # create rule - self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end", "error", 60) + self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end", "Invalid port 4", 60) self.dut.send_expect("quit", "# ", 60) cmd = "pipeline RX table match hash ext key 8 mask FFFFFF0000000000 offset 286 buckets 16K size 64K action AP0" self.set_table(cmd, filename) self.start_testpmd(filename, self.port_num) - self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end", "error", 60) + self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv4 proto mask 0 src mask 0.0.0.0 dst mask 255.255.255.255 src spec 100.0.0.1 dst spec 200.0.0.1 proto spec 17 / udp src mask 0 dst mask 0 src spec 100 dst spec 200 / end actions queue index 3 / end", "Invalid port 4", 60) self.dut.send_expect("quit", "# ", 60) # ipv6 @@ -858,13 +858,13 @@ class TestFlowClassifySoftnic(TestCase): cmd = "pipeline RX table match hash ext key 64 mask 0000FF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000 offset 274 buckets 16K size 64K action AP0" self.set_table(cmd, filename) self.start_testpmd(filename, self.port_num) - self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv6 proto mask 255 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 src spec 31 dst spec 41 / end actions queue index 3 / end", "error", 60) + self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv6 proto mask 255 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff src spec 2001::1 dst spec 0::1 proto spec 17 / udp src mask 0 dst mask 65535 src spec 31 dst spec 41 / end actions queue index 3 / end", "Invalid port 4", 60) self.dut.send_expect("quit", "# ", 60) cmd = "pipeline RX table match hash ext key 16 mask FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF offset 294 buckets 16K size 64K action AP0" self.set_table(cmd, filename) self.start_testpmd(filename, self.port_num) - self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv6 proto mask 0 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask 0:0:0:0:0:0:0:0 src spec ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end", "error", 60) + self.dut.send_expect("flow create 4 group 0 ingress pattern eth / ipv6 proto mask 0 src mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff dst mask 0:0:0:0:0:0:0:0 src spec ABCD:EF01:2345:6789:ABCD:EF01:2345:5789 dst spec 0:0:0:0:0:0:0:0 proto spec 17 / udp src mask 0 dst mask 0 src spec 0 dst spec 0 / end actions queue index 3 / end", "Invalid port 4", 60) self.dut.send_expect("quit", "# ", 60) def test_ipv4_hash_rss_action(self): From patchwork Fri Oct 29 06:18:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103210 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 59057A0C41; Fri, 29 Oct 2021 08:32:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50A3241123; Fri, 29 Oct 2021 08:32:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C4D5B40395 for ; Fri, 29 Oct 2021 08:32:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370587" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370587" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:43 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459756" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:42 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:28 +0800 Message-Id: <1635488309-118246-5-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 5/6] test_plan/cvl_switch_filter_pppoe: update test plan for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- test_plans/cvl_switch_filter_pppoe_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 test_plans/cvl_switch_filter_pppoe_test_plan.rst diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst old mode 100644 new mode 100755 index b9e04ea6..4f3da525 --- a/test_plans/cvl_switch_filter_pppoe_test_plan.rst +++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst @@ -5748,7 +5748,7 @@ Subcase 13: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 1 2. check the rule list on port 0:: @@ -5857,7 +5857,7 @@ Note: some of the error messages may be different. get the error message:: - No such device: No such device + Invalid port 1 11. check the rule list:: From patchwork Fri Oct 29 06:18:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 103213 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 147D9A0C4B; Fri, 29 Oct 2021 08:32:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D361440395; Fri, 29 Oct 2021 08:32:57 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4CC8841120 for ; Fri, 29 Oct 2021 08:32:56 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370594" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370594" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:45 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459769" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:44 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:29 +0800 Message-Id: <1635488309-118246-6-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 6/6] test_plans/iavf_fdir: update test plan for dpdk code change 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" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- test_plans/iavf_fdir_test_plan.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 test_plans/iavf_fdir_test_plan.rst diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst old mode 100644 new mode 100755 index 784392e2..8ffcab41 --- a/test_plans/iavf_fdir_test_plan.rst +++ b/test_plans/iavf_fdir_test_plan.rst @@ -1239,7 +1239,7 @@ Note: some of the error messages may be differernt. get the message:: - No such device: No such device + Invalid port 1 11. check the flow list:: @@ -4325,7 +4325,7 @@ Subcase 9: delete a non-existent rule flush rules of port 1:: testpmd> flow flush 1 - port_flow_complain(): Caught PMD error type 1 (cause unspecified): No such device: No such device + Invalid port 1 Subcase 10: unsupported input set field --------------------------------------- @@ -4395,7 +4395,7 @@ Subcase 13: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 1 2. check there is no rule listed on port 0, check on port 1::