From patchwork Fri Aug 26 02:43:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 115444 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 37B8BA0551; Fri, 26 Aug 2022 04:43:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3001C427F4; Fri, 26 Aug 2022 04:43:16 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 505BA427F9 for ; Fri, 26 Aug 2022 04:43:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661481795; x=1693017795; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WSkkaR5pJCBN72VZgqcS0LdO1OHcBQ9r0n9IybMhYJM=; b=Oxy5Ly2M9hYTbShF50trJaEoV0uujkmpXCtdQqGviLarcKJXJKuDrXbI /CbV4ZyZ2QpEFKtxrfM+XkEfVyVwlUhhhvMpa3ZIL4D0+30EJwAZPMYJv KE8w6b0o3icSpwHhItTfV30GKkBK/SJl97oLz8pOBo8jcsKBvKmjjj8mE w4pO2F8F3BBS+EC29pugPk0QeJDnYIhLKT8+kEPtwMpysoRw7I5DWpK4Y vv2PQp8yJfNwSjX49KrhcKs3RUm44G1Xah1sdJdwqoGVcp9QzynbU1eIr PZYoRCTTUC+x6z/VVW8/RzDUapK1K5lTpE9sipD54CU2b34YoP+ZJRPdl g==; X-IronPort-AV: E=McAfee;i="6500,9779,10450"; a="295187357" X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="295187357" 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:14 -0700 X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="671275203" 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:12 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Jiale Song Subject: [dts][PATCH V2 05/10] test_plans/ice_advanced_iavf_rss: update dts code for dpdk csum change Date: Fri, 26 Aug 2022 10:43:03 +0800 Message-Id: <20220826024308.17447-5-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_advanced_iavf_rss_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/ice_advanced_iavf_rss_test_plan.rst b/test_plans/ice_advanced_iavf_rss_test_plan.rst index 2400f01a..fac4b082 100644 --- a/test_plans/ice_advanced_iavf_rss_test_plan.rst +++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst @@ -310,6 +310,10 @@ Prerequisites echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:55 + If test set HW csum flow rule does not impact RX checksum and TX checksum: + ip link set enp24s0f0 vf 0 trust on + ip link set enp24s0f0 vf 0 spoofchk off + 4. bind the VF to dpdk driver in DUT:: modprobe vfio-pci