From patchwork Tue Nov 22 08:22:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 120055 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 37E14A0580; Tue, 22 Nov 2022 09:22:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D80942D4B; Tue, 22 Nov 2022 09:22:21 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5ED2142D43 for ; Tue, 22 Nov 2022 09:22:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669105339; x=1700641339; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uVoBg1NTkNbcvqOqFz5vpNgsW3FSS3zscryW0LRSSwk=; b=F5W0KYOwgSq0zDxOenH7YfgMrcvmW0afxasGd1riRfThYgSX2hukbBi/ +ZSYRgER/0U2hVqNdh4uEDkosQUwUS8V37FTyO055BIuVfa/qJ9PJMXUA uIw3uPu91vKmwaEYXrwhCueE62QWWRiRzqb/qRt/TzkM1fJX3vRLB7Hf0 1x2F9+sTUKHCizV9SpCmp5zEiB0aIeOnljCyJ0qpKoQpPSrQRs3J+/LJn ypRgzDy3T3Ra3iftfpzcvnNl8RI3mWT+xfsX+cmxpcojEpETwtdLlTjen Ivh3y2cttHoEjZ9bMsDuH/lAx7zR9XtW9PBQTvDZkBH0H6lTnLfLCEsQt w==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="297118811" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="297118811" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 00:22:18 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="970392820" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="970392820" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 00:22:16 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Song Jiale Subject: [dts][PATCH V5 3/8] test_plans/ipgre: modify script and test plan to support i40e fimware >= 8.4 Date: Tue, 22 Nov 2022 16:22:01 +0800 Message-Id: <20221122082206.12559-3-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221122082206.12559-1-weiyuanx.li@intel.com> References: <20221122082206.12559-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. v4: -modify comments. -dual_vlan test plan modify table and add header. v5: -fix some typos. test_plans/ipgre_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/ipgre_test_plan.rst b/test_plans/ipgre_test_plan.rst index 693432ef..f51193b2 100644 --- a/test_plans/ipgre_test_plan.rst +++ b/test_plans/ipgre_test_plan.rst @@ -58,6 +58,10 @@ Start testpmd and enable rxonly forwarding mode:: testpmd> set verbose 1 testpmd> start + Due to the kernel enables Qinq and cannot be closed, the DPDK 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 + Send packet as table listed and packet type match each layer:: Ether()/IPv6(nh=47)/GRE()/IP()/UDP()/Raw('x'*40)