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 EA3F1A04FD; Wed, 28 Dec 2022 10:35:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E62A440FDF; Wed, 28 Dec 2022 10:35:52 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id BB80840141 for ; Wed, 28 Dec 2022 10:35:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672220150; x=1703756150; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ip8N8z+NznAZJ1jvpugWkC+oqgES0PhzCDYrSdmNMIA=; b=UjBaQExlQ81ToS969HoSl0xSXThs6FbOVP9CnpPN3hGOkF8/bfW36Evw Y0YZcQQa5WCiaWBLoOeHuFa2tHC8L1UACGgPdgNom/wNVdAJZKQVqwkO3 o9ZbLx2vFIkowoq34sXJqontK0BrSuQYq19JCQT7xxp/A8NC+XNEhulvG AqNMCdfSOZzSC0iWPIx5fF9tczo6v4Yyz79v/duWeooLCAlZvDw23iwhG VWWc2VnvzhvayQB5h0PJzcCUvnqsKKQ6WN35QJy8P7s1cs3EpBJKj+Szg VvjA9W0BvSFVw33uBqpmXm0XcNiOfmYkUjjTKsPergWTCohBidGF8RNe2 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10573"; a="308596662" X-IronPort-AV: E=Sophos;i="5.96,280,1665471600"; d="scan'208";a="308596662" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2022 01:35:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10573"; a="827358233" X-IronPort-AV: E=Sophos;i="5.96,280,1665471600"; d="scan'208";a="827358233" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2022 01:35:48 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1] test_plans/dual_vlan: optimize the test steps in the test plan Date: Wed, 28 Dec 2022 17:35:51 +0800 Message-Id: <20221228093551.9853-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 modify the test plan need to set prot stop first when set the tx_vlan. Signed-off-by: Weiyuan Li --- test_plans/dual_vlan_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/dual_vlan_test_plan.rst b/test_plans/dual_vlan_test_plan.rst index fd953cd9..11dfa332 100644 --- a/test_plans/dual_vlan_test_plan.rst +++ b/test_plans/dual_vlan_test_plan.rst @@ -242,7 +242,9 @@ Enable vlan packet forwarding on port ``0`` first:: Insert VLAN Tag Identifier ``1`` on port ``1``:: + testpmd> port stop all testpmd> tx_vlan set 1 1 + testpmd> port start all Configure the traffic generator to send VLAN packet without VLAN Tag Identifier and send 1 packet on port ``A``. Verify that the packet can been received on port @@ -250,7 +252,9 @@ and send 1 packet on port ``A``. Verify that the packet can been received on por Delete the VLAN Tag Identifier ``1`` on port ``1``:: + testpmd> port stop all testpmd> tx_vlan reset 1 + testpmd> port start all Configure the traffic generator to send VLAN packet without VLAN Tag Identifier and send 1 packet on port ``A``. Verify that the packet can been received on port -- 2.25.1