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 35B2AA057F; Tue, 22 Nov 2022 08:09:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31C0442D4B; Tue, 22 Nov 2022 08:09:47 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id D717742D43 for ; Tue, 22 Nov 2022 08:09:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669100986; x=1700636986; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gIsAPqtKknR5megxjvehwuvViK5WdGcMbE/lXmg6Rls=; b=FNsndzB5pmC6jAVLmvO+XTotRdHqHwtHnLEOx8hvCXwHws6MMwIWAbNx CBp1Ijym+aNycB4rPDsFlEdFymU2HFDdSs4RLBXRtK6hD9P+wE3CANogz XEWxkEnt4Vd+p81oQ6rdbFbNFJQBXhHo6lxFLRj9JeB1iVONxn7WQdT9M 8FusUe9luhWOUrq+rbbuTVXPgolt7BsSG9ehDDYVtsssBte3T5y/k5+If K2EBUxAcqsbd/YNKog1R5h7W/KAZTFVFjABAqPiG+ABHye4YcBFJPBOBt LDKR/kM1DoEV7SMGsvzumKZo917dizSP1VThf/VqMRMR1cxALhO6JmyZU w==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="314899813" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="314899813" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 23:09:45 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="730296336" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="730296336" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 23:09:43 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Song Jiale Subject: [dts][PATCH V4 5/8] test_plans/vlan_ethertype_config: modify script and test plan to support i40e fimware >= 8.4 Date: Tue, 22 Nov 2022 15:09:24 +0800 Message-Id: <20221122070927.7634-5-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221122070927.7634-1-weiyuanx.li@intel.com> References: <20221122070927.7634-1-weiyuanx.li@intel.com> 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 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. v4: -modify comments. -dual_vlan test plan modify table and add header. test_plans/vlan_ethertype_config_test_plan.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test_plans/vlan_ethertype_config_test_plan.rst b/test_plans/vlan_ethertype_config_test_plan.rst index 80a6ee28..752e5849 100644 --- a/test_plans/vlan_ethertype_config_test_plan.rst +++ b/test_plans/vlan_ethertype_config_test_plan.rst @@ -52,6 +52,10 @@ Test Case 2: test VLAN filtering on/off testpmd> vlan set filter on 0 testpmd> start + Due to the kernel enables Qinq and cannot be closed, the DPDK cn only add `extend on` to make the VLAN filter + work normally. Therefore, 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 +81,10 @@ Test Case 3: test adding VLAN Tag Identifier with changing VLAN TPID testpmd> vlan set strip off 0 testpmd> start + Due to the kernel enables Qinq and cannot be closed, the DPDK cn only add `extend on` to make the VLAN filter + work normally. Therefore, 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 -- 2.27.0