From patchwork Tue Aug 30 02:47:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 115634 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 EED85A0542; Tue, 30 Aug 2022 04:47:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9DF241140; Tue, 30 Aug 2022 04:47:42 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 6E86A41140 for ; Tue, 30 Aug 2022 04:47:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661827661; x=1693363661; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=USHH3fPFmHw/Fc/9IRtXfoYJDmMyZhD1k4uUxSw0bxE=; b=MAPagRlbJq19JeVF5RZl5n+h4j558/MzMeR0Io6Yol/0oQZUGsTNkHDQ iZvl5krpN6HWgJK5HBmL3THF0AQjqenFUvStHkgBKhjYXQUnoz0zF4X+c 5LO4zhQjuSSEz4+CkX/dj0ejwZVFxoSATUzTMbFO+VM8/FZtrcHFbxhzL DnhFj1wIy+tZZlPaKlbSbSrQXmDaeEpDeUiWBH8Uce+rFXyc1B81c7CjY y1sZv05WbFUs709CQWJWGCo6ECW9ZNQU2mVcQ8VhW9o65vyqrLzna4Tus qje7VvlJEDNm0Au3LGsLFyDUlCPhJUvsx6Mbfop0xlMdRoHLbvHWJoyc+ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="359024455" X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="359024455" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 19:47:37 -0700 X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="641181921" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 19:47:35 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li , Jiale Song Subject: [dts][PATCH V3 05/10] test_plans/ice_advanced_iavf_rss: update dts code for dpdk csum change Date: Tue, 30 Aug 2022 10:47:35 +0800 Message-Id: <20220830024740.26250-5-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220830024740.26250-1-weiyuanx.li@intel.com> References: <20220830024740.26250-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 Signed-off-by: Weiyuan Li Tested-by: Jiale Song < songx.jiale@intel.com> --- Tested-by: Jiale Song < songx.jiale@intel.com> v2: -Modify the dst mac variable to 'dst_mac' -Enable promisc mode in testpmd v3: -Test plan csum add enable promisc mode test_plans/ice_advanced_iavf_rss_test_plan.rst | 5 +++++ 1 file changed, 5 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..4213334b 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 @@ -2911,6 +2915,7 @@ Test case: Set HW csum, flow rule does not impact RX checksum and TX checksum csum set tcp hw 0 csum set sctp hw 0 port start all + set promisc 0 on set verbose 1 start