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 83FDBA04FD; Thu, 10 Nov 2022 06:29:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CA7F400EF; Thu, 10 Nov 2022 06:29:35 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 61764400D4 for ; Thu, 10 Nov 2022 06:29:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668058173; x=1699594173; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/jpEPdMlSr06iD9X4+6x3qx/GQ6N9Txd+nb9gCZEUVA=; b=SNJRLCre+sBdlesrFW/tAIMEBB4HDsDB9thBP13OH6o8pQYF4kB+55J9 QZzfwye76922/WXLJoy3DCzxrwyVWLgJt288O83HIxI2pNzTxGzZiq1fb 34PsFomxkpskEw1QwvsY6RqaIzsCBUyt5X8KvHNwdZsPl3trDVGDeq/bU fKkYky23vzh0entG/04sO9HB0FXV1UKENSk+4qIBZk5jg1zh69o4lyJhk pHaQfY6rvXgCpirSjpFCQCMGaO45ETWVFXflRwzoFX8K7aMMylAs7ZOHj Wxt9g81GBJ8a5XdGOb0cgc9KRMvhQmgnkZVATVtTZdbZ3qLIzTyTlvtYL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="373332592" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="373332592" 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:32 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="637036969" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="637036969" 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:30 -0800 From: Weiyuan Li To: dts@dpdk.org, lijuan.tu@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V2 1/8] test_plans/vlan: modify script and test plan to support i40e fimware > 8.3 Date: Thu, 10 Nov 2022 13:33:51 +0800 Message-Id: <20221110053358.437591-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.34.1 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_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..de4bccac 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 single 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 single 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