From patchwork Mon Sep 5 14:48:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 115941 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 DCF36A0093; Mon, 5 Sep 2022 16:48:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F15D1400D6; Mon, 5 Sep 2022 16:48:42 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 2B0CC40041 for ; Mon, 5 Sep 2022 16:48:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662389321; x=1693925321; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ik8tpUOt9n+vwdhP75StVUtANIHCXqkJvzoCLydUqfc=; b=B28L35IjMdS65mnQhd6FKYkZpoLFIKmRvSqvMCNz2Hw8lhUEet3FQieR /mR59+RDta3+zr48WG9/NkrkNBP2bNar+vHcoqRl+oV0WSw7OHSfd6LsE 3zaRekwtFdN4p1oUIfFwopfTTlCbzUurbSHhRs6iKMeR2AJtnpuL5zeR3 qS5ak7ShrecQWLbkZKuQoUppVJPaMNXrtW7lbcs7AM1YuX4jNf1DBdDVt gbkHQfvn4QMLPoZQueLgiWr2ZVgbuUG4ESAS2j92JAWtrnsqCSTkrz16x TkvM4tu1WW7MII9h1OqmaOudF/t3GXEgPh7qBsbowWCWUxaVjtThBOaJ1 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10461"; a="382701665" X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="382701665" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 07:48:39 -0700 X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="643832331" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 07:48:38 -0700 From: Weiyuan Li To: dts@dpdk.org, qi.fu@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V3 1/3] test_plans/vlan_ethertype_config: highlight check tpid point in test plan Date: Mon, 5 Sep 2022 22:48:50 +0800 Message-Id: <20220905144852.5158-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 Highlight check tpid point in test plan. Signed-off-by: Weiyuan Li --- test_plans/vlan_ethertype_config_test_plan.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test_plans/vlan_ethertype_config_test_plan.rst b/test_plans/vlan_ethertype_config_test_plan.rst index 836bfa3f..80a6ee28 100644 --- a/test_plans/vlan_ethertype_config_test_plan.rst +++ b/test_plans/vlan_ethertype_config_test_plan.rst @@ -52,15 +52,19 @@ Test Case 2: test VLAN filtering on/off testpmd> vlan set filter on 0 testpmd> start -2. Send 1 packet with the VLAN Tag 16 on port ``A``, +2. Send 1 packet with VLAN TPID 0xA100 and VLAN Tag 16 on port ``A``, Verify that the VLAN packet cannot be received in port ``B``. 3. Disable vlan filtering on port ``0``:: testpmd> vlan set filter off 0 -4. Send 1 packet with the VLAN Tag 16 on port ``A``, - Verify that the VLAN packet can be received in port ``B``. +4. Change VLAN TPIDs to 0xA100 on port ``0``:: + + testpmd> vlan set outer tpid 0xA100 0 + +5. Send 1 packet with VLAN TPID 0xA100 and VLAN Tag 16 on port ``A``, + Verify that the VLAN packet can be received in port ``B`` and TPID is 0xA100 Test Case 3: test adding VLAN Tag Identifier with changing VLAN TPID ====================================================================