From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2EAEFA00C2; Fri, 12 Mar 2021 06:04:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A0364067E; Fri, 12 Mar 2021 06:04:31 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id C98354014D for ; Fri, 12 Mar 2021 06:04:29 +0100 (CET) IronPort-SDR: LkKuGh539qfDFAb146Blvt3B6JncE/m74AUiGUv6n0wcFwYEGKqknqXD7LwkAaT5mVdR/sn6on mIZchsKAxq9w== X-IronPort-AV: E=McAfee;i="6000,8403,9920"; a="175902586" X-IronPort-AV: E=Sophos;i="5.81,242,1610438400"; d="scan'208";a="175902586" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2021 21:04:26 -0800 IronPort-SDR: ijPLE910QZDz3NR1JfeOsC1rqWnMNIs0QZC8axEd1mViKvGoJEjfM4qLHd3sfmWOvZUsNJaC5N JiugmhPSly/A== X-IronPort-AV: E=Sophos;i="5.81,242,1610438400"; d="scan'208";a="410886540" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2021 21:04:22 -0800 From: sunqin To: dts@dpdk.org Cc: qi.fu@intel.com, sunqin Date: Fri, 12 Mar 2021 13:30:04 +0000 Message-Id: <20210312133004.1339-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/flexible_rxd: remove one unsupported case 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" Confirmed with developer,only type=0x8100 needs to be supported in single vlan mode, other type values do not need to be verified, so remove the type=0x88A8 case from test suite and plan. Signed-off-by: sunqin --- test_plans/flexible_rxd_test_plan.rst | 38 +++++++-------------------- tests/TestSuite_flexible_rxd.py | 6 ----- 2 files changed, 10 insertions(+), 34 deletions(-) diff --git a/test_plans/flexible_rxd_test_plan.rst b/test_plans/flexible_rxd_test_plan.rst index c3a0e1c6..b2ca34a4 100644 --- a/test_plans/flexible_rxd_test_plan.rst +++ b/test_plans/flexible_rxd_test_plan.rst @@ -123,25 +123,7 @@ Check the output in testpmd, **ctag=1:0:23** is expected, which is consistent wi ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN -Test Case 02: Check single VLAN fields in RXD (802.1ad) -======================================================= - -Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output - -Launch testpmd command:: - - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 - -Test packet:: - - p = Ether(src='3c:fd:fe:bc:f6:78', dst='68:05:ca:a3:13:4c', type=0x88A8)/Dot1Q(prio=1,vlan=23)/IP()/UDP()/DNS() - -Expected output in testpmd:: - - stag=1:0:23 - - -Test Case 03: Check double VLAN fields in RXD (802.1Q) only 1 VLAN tag +Test Case 02: Check double VLAN fields in RXD (802.1Q) only 1 VLAN tag ====================================================================== Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -159,7 +141,7 @@ Expected output in testpmd:: stag=1:0:23 -Test Case 04: Check double VLAN fields in RXD (802.1Q) 2 VLAN tags +Test Case 03: Check double VLAN fields in RXD (802.1Q) 2 VLAN tags ================================================================== Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -178,7 +160,7 @@ Expected output in testpmd:: ctag=4:0:56 -Test Case 05: Check double VLAN fields in RXD (802.1ad) +Test Case 04: Check double VLAN fields in RXD (802.1ad) ======================================================= Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -197,7 +179,7 @@ Expected output in testpmd:: ctag=4:0:56 -Test Case 06: Check IPv4 fields in RXD +Test Case 05: Check IPv4 fields in RXD ====================================== Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -219,7 +201,7 @@ Expected output in testpmd:: proto=17 -Test Case 07: Check IPv6 fields in RXD +Test Case 06: Check IPv6 fields in RXD ======================================================= Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -241,7 +223,7 @@ Expected output in testpmd:: hoplimit=34 -Test Case 08: Check IPv6 flow field in RXD +Test Case 07: Check IPv6 flow field in RXD ======================================================= Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -261,7 +243,7 @@ Expected output in testpmd:: flow=0x98765 -Test Case 09: Check TCP fields in IPv4 in RXD +Test Case 08: Check TCP fields in IPv4 in RXD ======================================================= Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -280,7 +262,7 @@ Expected output in testpmd:: flags=AS -Test Case 10: Check TCP fields in IPv6 in RXD +Test Case 09: Check TCP fields in IPv6 in RXD ======================================================= Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -299,7 +281,7 @@ Expected output in testpmd:: flags=S -Test Case 11: Check IPv4, IPv6, TCP fields in RXD on specific queues +Test Case 10: Check IPv4, IPv6, TCP fields in RXD on specific queues ==================================================================== Test steps are same to ``Test Case 01``, just change the launch command of testpmd, test packet and expected output @@ -341,7 +323,7 @@ Expected output in testpmd:: flags=AS -Test Case 12: Check effect of replacing pkg from RXID #22 to RXID #16 +Test Case 11: Check effect of replacing pkg from RXID #22 to RXID #16 ===================================================================== Put the ice.pkg with RXID #16(ice-1.3.7.0.pkg and more) to /lib/firmware/updates/intel/ice/ddp/ice.pkg, then reload ice driver:: diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py index 6ce0a091..648173e7 100644 --- a/tests/TestSuite_flexible_rxd.py +++ b/tests/TestSuite_flexible_rxd.py @@ -117,12 +117,6 @@ class TestFlexibleRxd(TestCase, FlexibleRxdBase): """ self.check_single_VLAN_fields_in_RXD_8021Q() - def test_check_single_VLAN_fields_in_RXD_8021ad(self): - """ - Check single VLAN fields in RXD (802.1ad) - """ - self.check_single_VLAN_fields_in_RXD_8021ad() - def test_check_double_VLAN_fields_in_RXD_8021Q_1_VLAN_tag(self): """ Check double VLAN fields in RXD (802.1Q) only 1 VLAN tag -- 2.17.1