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 9DC2EA04FD; Thu, 10 Nov 2022 06:29:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99AF6410DE; Thu, 10 Nov 2022 06:29:37 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 0684B40150 for ; Thu, 10 Nov 2022 06:29:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668058176; x=1699594176; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KOOpn6COr+cSYyMbBGB3sjBmW5D6x2k3Gho4SC098bU=; b=C5Az+GjWzxIr0Z2lHp3nKZ45df1ZLtAtdwbdZlOq7G+ly/wwVkFhPolY dMkM+SqI5PTCPVkOl9swft4k47lqYHqPzYN63pC8SSIWchHuiyKd3fS3M 4DZIW+zuPopoMbQqtmwfesYBSjkaayOlS0qEnVW/VcMG22AwWwzCpoGrY ZudNJMXwqEVmcn9HosB4hjROfwbawvDxTIfJJAieCF0VviHR4L7V7S0Bs qL37gE6hjUnkFgWHuz+EtLukjIF0YSQNsUCDVSnBgqdK922JDEaOVr/Xn SlyF8UUi+P44NGA1u80MfAqaVyRIcR/LmL7om+7wGUJ8gqaBktYdrQ4gy w==; X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="373332604" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="373332604" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 21:29:35 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="637036993" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="637036993" Received: from unknown (HELO dpdk-VF-dut247..) ([10.239.252.247]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 21:29:34 -0800 From: Weiyuan Li To: dts@dpdk.org, lijuan.tu@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V2 3/8] test_plans/vlan: modify script and test plan to support i40e fimware > 8.3 Date: Thu, 10 Nov 2022 13:33:53 +0800 Message-Id: <20221110053358.437591-3-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221110053358.437591-1-weiyuanx.li@intel.com> References: <20221110053358.437591-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.3. When the fimrware > 8.3, if the filter is to take effect need to enable extend. Signed-off-by: Weiyuan Li --- v2: -use the firmware version to judge whether to add command `extend on`. test_plans/vlan_test_plan.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test_plans/vlan_test_plan.rst b/test_plans/vlan_test_plan.rst index 6e2bf74e..442e4efe 100644 --- a/test_plans/vlan_test_plan.rst +++ b/test_plans/vlan_test_plan.rst @@ -61,6 +61,10 @@ 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 + + if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the single VLAN filter work normally: + 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 +115,10 @@ 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:: - + + if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the single VLAN filter work normally: + testpmd> vlan set extend on 0 + testpmd> rx_vlan rm 1 0 testpmd> start rxonly packet forwarding - CRC stripping disabled - packets/burst=32 -- 2.27.0