From patchwork Fri Aug 26 02:43:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 115449 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 EABD8A0551; Fri, 26 Aug 2022 04:43:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E62D240156; Fri, 26 Aug 2022 04:43:23 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 4BBFF400D6 for ; Fri, 26 Aug 2022 04:43:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661481802; x=1693017802; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sPZSUlER7FRW6esZ/b4bY8pItDCZZyd1JHyNDQ7xras=; b=BTuZOWmGkEkM4kFrMcr8NCRRebV9sMVz7ZoIERjIgp0hL4RrctXZzhu5 cddNlUd5Ai03N844DdgG4gjn3aK+chdDwqlLTnNnkp0sxAvIL6D6yTkSU RqjtOZfPlKcdyTrgBHd+A7cZCTKX7Nt2XVI7Ko6bFcsm+GzaueWmwiNiF Zg3k2fLMVC495kBL5OZKDjAcQPJFBCnbSevHHc7C+qgeLM4N1gnmtg5L4 98/Tt5phaTUcqq0t0LZGlW8cuPcIFzB/SQ2EkG5mFNeL6lAzXMvy3qd+b jvoJP1iAsgSe4beC6NunR9nxX/wvBRMINE8So6x8gJp16fO9JlkFwzRXV g==; X-IronPort-AV: E=McAfee;i="6500,9779,10450"; a="295187374" X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="295187374" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2022 19:43:21 -0700 X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="671275238" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2022 19:43:20 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Jiale Song Subject: [dts][PATCH V2 10/10] test_plans/ice_iavf_fdir: update dts code for dpdk csum change Date: Fri, 26 Aug 2022 10:43:08 +0800 Message-Id: <20220826024308.17447-10-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220826024308.17447-1-weiyuanx.li@intel.com> References: <20220826024308.17447-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 According to dpdk commit 9b4ea7ae77fa(app/testpmd: revert MAC update in checksum forwarding) modify the script adapt to this chagne. 1. Modify VF case to enable promisc. 2. Modify PF case to send packet dst mac is random. Signed-off-by: Weiyuan Li --- Tested-by: Jiale Song < songx.jiale@intel.com> test_plans/ice_iavf_fdir_test_plan.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst index b485f899..1e788d0d 100644 --- a/test_plans/ice_iavf_fdir_test_plan.rst +++ b/test_plans/ice_iavf_fdir_test_plan.rst @@ -195,6 +195,12 @@ Prerequisites ip link set enp134s0f1 vf 0 mac 00:11:22:33:44:77 ip link set enp134s0f1 vf 1 mac 00:11:22:33:44:88 + If test set HW checksum and SW checksum: + ip link set enp24s0f0 vf 0 trust on + ip link set enp24s0f0 vf 0 spoofchk off + ip link set enp24s0f0 vf 1 trust on + ip link set enp24s0f0 vf 1 spoofchk off + 0000:86:00.0 generate 0000:86:01.0 and 0000:86:01.1 0000:86:00.1 generate 0000:86:11.0 and 0000:86:11.1 define 86:01.0 as vf00, 86:01.1 as vf01, 86:11.0 as vf10, 86:11.1 as vf11.