From patchwork Fri May 27 06:07:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111964 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 B346FA055F; Fri, 27 May 2022 08:07:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABBE240E50; Fri, 27 May 2022 08:07:39 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 2CD2640E25 for ; Fri, 27 May 2022 08:07:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653631658; x=1685167658; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FXBr/w9jU839MsbTeqnielYZTReDHtd5byP+5IjdxJI=; b=MkHPt0BV+NDR4DC+0QTFPDMP39rScFBhLJv2PCB8F1uwJe7XgKpvzZtU 8dn2zBpXr7wRSY+6QqW1dEnXcQaav5l7aIKL6v3Mir8NtnzoK7zYeppt0 G7GPr3wc6vddY0J3/61J8Xogjkp87kGEtB5uGzpy+3vH0GLh2AVM4mr8a OI2A6xY1aEm+PLAFaHKRUKiL+OsS12Kpldwah2Ut1RnO52cp4ujqWNSHA yIb4I2m2iGoBLLxP4HiB5E+RquQt4uN7LyRMbJfiHXN1VZeQwYpItLx/w c67zn2IoMHP5uvIElXbEDHWsbrUy40HLtFjyswCxXUBoGFTYBe3B/wmb5 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="299734154" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="299734154" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 23:07:36 -0700 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="549991177" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 23:07:32 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/vlan_ethertype_config: fix script Date: Fri, 27 May 2022 14:07:28 +0800 Message-Id: <20220527060728.180550-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 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 fix 2 issue: 1.IGC-I225_LM only support '0x8100' tpid in rx mode. 2.IGC-I225_LM not suport vlan qinq, add to checklist. Signed-off-by: Jiale Song --- conf/test_case_checklist.json | 3 ++- tests/TestSuite_vlan_ethertype_config.py | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 2185fcaf..053841ce 100644 --- a/conf/test_case_checklist.json +++ b/conf/test_case_checklist.json @@ -2300,7 +2300,8 @@ "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "cavium_a064", - "I40E_10G-10G_BASE_T_BC" + "I40E_10G-10G_BASE_T_BC", + "IGC-I225_LM" ], "Target": [ "ALL" diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py index ce7f1c7b..43e36ead 100644 --- a/tests/TestSuite_vlan_ethertype_config.py +++ b/tests/TestSuite_vlan_ethertype_config.py @@ -209,7 +209,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("vlan set strip off %s" % dutRxPortId, "testpmd> ", 20) rx_vlans = [1, random_vlan, MAX_VLAN] # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100] @@ -242,7 +242,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("start", "testpmd> ") # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I225_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100] @@ -275,7 +275,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("start", "testpmd> ", 20) # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100]