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 C678DA0542; Thu, 29 Dec 2022 07:02:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A10E741133; Thu, 29 Dec 2022 07:02:43 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 818C3410F9 for ; Thu, 29 Dec 2022 07:02:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672293762; x=1703829762; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=i7GI5FJAP5YfVUIzqj0mIOpe0R13Uzi+fpH6b8aaO3A=; b=IYak5bNE3RU5AZZy/f9PXcnPlc5KLDd7pacaimaEUGBMT6sJyZDl1HtN XoHu3DwmmxolsHLPagdO0xlYhH3WOd7OUj7cXftRGrFnmKhS6/WsWz0ps rAoQz7P7A/REan2NJ1Y5iwXPPTNxZ5B45TrjflkB5Bitxj1FhYHNGub5T vlsjDtt2fdIjC6H6TMlDO6jkbzj8jW6KO1oicGC+fJHvlIH1jxw/52QWR ygm3x9J8/4ifSNIINcS9tyx/p6jDibqscRi+AZG2rFS25tAfKlQp4jaPJ AmuyBpciR9hEtIg3UhaB7K+gyI6pUSn1bU0Iti5Gk73sm3xAtuzXHXkSX A==; X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="300677060" X-IronPort-AV: E=Sophos;i="5.96,283,1665471600"; d="scan'208";a="300677060" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2022 22:02:32 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="760864070" X-IronPort-AV: E=Sophos;i="5.96,283,1665471600"; d="scan'208";a="760864070" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2022 22:02:28 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V2] test_plans/dual_vlan: optimize the test steps in the test plan Date: Thu, 29 Dec 2022 14:02:32 +0800 Message-Id: <20221229060232.25358-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 port stop first when set the tx_vlan. Signed-off-by: Weiyuan Li --- v2: -fix typos. 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