From patchwork Mon Nov 21 08:05:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 119984 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 B9916A055B; Mon, 21 Nov 2022 09:05:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 323AA42D1C; Mon, 21 Nov 2022 09:05:54 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 7A3F74014F for ; Mon, 21 Nov 2022 09:05:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669017952; x=1700553952; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W6s+Z5Q8cAUr+yW4b3kt6y/RdPxmTptTFH5JlbhaI7M=; b=hcMcCh1dINa8oSag4AeBckSCxCkALWdd20QE5gDUKEgZbHdtOavE5m8Y TZ8gkpx2ijO9/zTecGKOFTD1QYhrSdX9SiYu9HvZmsEnMLEl6D1KALSN6 2f5I+G4RF8yXYnoSn8f9VdKqCZtYXvQ2oyNMkfxi+fXYEETfvmo/XxKRD 2vd6c01cwQh/YlGUsPOpqVp4wLsbX9I18kh5bCn8ElUyxLJl/xflCWalG gndgcMnoJJ7bJc2X3iXQRzYso0y/jbPGSSM0UDaFwOTPQxQhfTlKxt2vo 3lXyGHCRPUbvySQH7uiTyVANowLQTABig61NkFR3q2HLDqp4NKFTp8k/2 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="312201081" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="312201081" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 00:05:34 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="635099758" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="635099758" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 00:05:29 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Song Jiale Subject: [dts][PATCH V3 5/8] test_plans/vlan_ethertype_config: modify script and test plan to support i40e fimware >= 8.4 Date: Mon, 21 Nov 2022 16:05:06 +0800 Message-Id: <20221121080509.10128-5-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221121080509.10128-1-weiyuanx.li@intel.com> References: <20221121080509.10128-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.4. When the fimrware >= 8.4, if the filter is to take effect need to enable extend. Signed-off-by: Weiyuan Li --- Tested-by: Song Jiale v2: -use the firmware version to judge whether to add command `extend on`. v3: -modify description. test_plans/vlan_ethertype_config_test_plan.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_plans/vlan_ethertype_config_test_plan.rst b/test_plans/vlan_ethertype_config_test_plan.rst index 80a6ee28..c67e8420 100644 --- a/test_plans/vlan_ethertype_config_test_plan.rst +++ b/test_plans/vlan_ethertype_config_test_plan.rst @@ -52,6 +52,9 @@ Test Case 2: test VLAN filtering on/off testpmd> vlan set filter on 0 testpmd> start + if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally: + testpmd> vlan set extend on 0 + 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``. @@ -77,6 +80,9 @@ Test Case 3: test adding VLAN Tag Identifier with changing VLAN TPID testpmd> vlan set strip off 0 testpmd> start + if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally: + testpmd> vlan set extend on 0 + 2. Add a VLAN Tag Identifier ``16`` on port ``0``:: testpmd> rx_vlan add 16 0