From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 928DEA00E6 for ; Mon, 5 Aug 2019 12:09:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89C061BE1F; Mon, 5 Aug 2019 12:09:59 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 942691BDFE for ; Mon, 5 Aug 2019 12:09:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Aug 2019 03:09:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,349,1559545200"; d="scan'208";a="192384108" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 05 Aug 2019 03:09:57 -0700 From: Lin Xueqin To: dts@dpdk.org Cc: Xueqin Lin Date: Mon, 5 Aug 2019 18:08:32 +0800 Message-Id: <1564999712-118706-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" From: Xueqin Lin Signed-off-by: Xueqin Lin --- tests/TestSuite_generic_flow_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index a7810fd..ee94bf7 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -288,7 +288,7 @@ class TestGeneric_flow_api(TestCase): if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % str(MAX_QUEUE + 1) in flow_cmd: if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela", "bartonhills", "twinville", "sagepond", "sageville", "powerville"]: self.dut.send_expect(flow_cmd, "error") - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd: + elif "type is 0x8100" in flow_cmd: if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV"]: self.dut.send_expect(flow_cmd, "error") # vf queue id exceeds max vf queue number. @@ -301,7 +301,7 @@ class TestGeneric_flow_api(TestCase): if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % str(MAX_QUEUE + 1) in flow_cmd: if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela", "bartonhills", "twinville", "sagepond", "sageville", "powerville"]: self.dut.send_expect(flow_cmd, "error") - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd: + elif "type is 0x8100" in flow_cmd: if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV"]: self.dut.send_expect(flow_cmd, "error") # vf queue id exceeds max vf queue number. @@ -775,6 +775,7 @@ class TestGeneric_flow_api(TestCase): {'create': 'create', 'flows': ['ether', 'lwapp'], 'actions': ['queue']}, {'create': 'create', 'flows': ['ether', 'ppp'], 'actions': ['drop']}, {'create': 'create', 'flows': ['dst_mac', 'ether', 'mpls'], 'actions': ['queue']}, + {'create': 'create', 'flows': ['ether', 'lldp'], 'actions': ['queue']}, ] extrapkt_rulenum = self.all_flows_process(basic_flow_actions) rule_num = extrapkt_rulenum['rulenum'] -- 2.7.5