From patchwork Fri Oct 7 11:53:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 117550 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 A0C9AA00C4; Fri, 7 Oct 2022 13:53:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C9C642B77; Fri, 7 Oct 2022 13:53:16 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id F16DB40042 for ; Fri, 7 Oct 2022 13:53:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665143595; x=1696679595; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PWNNznpLOODBwroFYuOm6TiLhLEK1qz/0fLe/iMvi8U=; b=BgdxHEeI6s6Z3FtgNq3ei8k8HLxML06k5N0WCHPjwLV7e22Ax47+vDm8 X0uhmgOUYUU11hiRFaCkqH093V8g4+MlX2TK5MWLm9LLu6yNqSBMDG1Qp PNmU56bswJTZgW9ilhC2cJ9e/m36QXsrpQcpOuz7LwJA26HFRYZbbqqUi VRsot4OZJo499hxy7snHEpRlS/nWo+epdR9Vj83ahp+DVfSc9czLmndSB nT/J8ZybSTuJqhBXqw18lNI+cJDE3NevMQ4A/qbeHMeFaYcV5ecnvRosY TxWa4OzhlHc8143X3bIgtbmt/+q+JDchREHXhSNVGzjuSbVewVZyPvjAx A==; X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="304716858" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="304716858" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2022 04:53:12 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="714249972" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="714249972" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2022 04:53:11 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 2/8] test_plans/vlan: modify script and test plan to support i40e fimware > 8.3 Date: Fri, 7 Oct 2022 19:53:27 +0800 Message-Id: <20221007115333.29277-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221007115333.29277-1-weiyuanx.li@intel.com> References: <20221007115333.29277-1-weiyuanx.li@intel.com> 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 Modify script and test plan to i40e support fimware > 8.3. When the fimrware > 8.3, if the filter is to take effect need to enable extend. Signed-off-by: Weiyuan Li --- test_plans/vlan_test_plan.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_plans/vlan_test_plan.rst b/test_plans/vlan_test_plan.rst index 6e2bf74e..4e72667b 100644 --- a/test_plans/vlan_test_plan.rst +++ b/test_plans/vlan_test_plan.rst @@ -61,6 +61,7 @@ Enable the receipt of VLAN packets with VLAN Tag Identifier 1 on port 0:: testpmd> rx_vlan add 1 0 testpmd> vlan set strip off 0 + testpmd> vlan set extend on 0 testpmd> start rxonly packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=10 @@ -111,7 +112,8 @@ Test Case: Disable receipt of VLAN packets Disable the receipt of VLAN packets with Tag Identifier ``1`` on port 0. Send VLAN packets with the Tag Identifier ``1`` check that no packet is received on port ``B``, meaning that VLAN packets are now dropped on port 0:: - + + testpmd> vlan set extend on 0 testpmd> rx_vlan rm 1 0 testpmd> start rxonly packet forwarding - CRC stripping disabled - packets/burst=32