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 8E492A0032; Fri, 25 Nov 2022 10:16:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5750240156; Fri, 25 Nov 2022 10:16:44 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id DE9A740150 for ; Fri, 25 Nov 2022 10:16:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669367803; x=1700903803; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hoe1w1lmBQ6OnUF1E5Qpcx5uJJ6p3p/+WgPvMMCTV90=; b=nrf0n6JaLHtGFxcWFkJX5eCYMkHOKOstcRPtarzIkYjidI0pLnIr0HZq luEIiDV6r2nnd0NfW56Wb4qTN3ycLZVdvwaSPpLiiHd8RZZr7dLAc/yTA knvFHRgM5y2o4WV7s04jRbeNeUHYOSTLb/PB1pPTg6K2pd5UDQqTLQZHB kTXlG2nrsYUY315YUEAul2BQNPEXxOq0T4IHTQJraA3nwbsQeOzoXsCuh WzQboi4b2n7z8xbqNj+QOJxF/XZK4vtIv+DRKYlFPYHI7LEQkgO7zY9rF Q5SNZ/G9zZHFlgSz83AnlbIpWAS8+Q3+AACtvYPuJS5jGomdT7dXbOg5A A==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="294148461" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="294148461" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 01:16:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="971513279" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="971513279" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 01:16:40 -0800 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 01/12] test_plans/vf_offload: dts adaptation DPDk checksum function changes Date: Fri, 25 Nov 2022 17:16:26 +0800 Message-Id: <20221125091637.1811-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 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 DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum functions adds switches to control whether to exchange MAC address. Modify DTS code to adapt to this change. Signed-off-by: Weiyuan Li --- test_plans/vf_offload_test_plan.rst | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst index c5e720f2..c3b189c0 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -92,7 +92,13 @@ Enable the IPv4/UDP/TCP/SCTP HW checksum offload on port 0:: testpmd> csum set udp hw 0 testpmd> csum set sctp hw 0 testpmd> port start all - testpmd> set promisc 0 on + testpmd> set promisc 0 + + Due to DPDK 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum + functions adds switches to control whether to exchange MAC address. + Currently, our test scripts are based on not exchanging MAC addresses, mac-swap needs to be disabled: + testpmd> csum mac-swap off 0 + testpmd> start csum packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=10 @@ -133,6 +139,12 @@ Enable the IPv4/UDP/TCP/SCTP SW checksum offload on port 0:: testpmd> csum set sctp sw 0 testpmd> port start all testpmd> set promisc 0 on + + Due to DPDK 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum + functions adds switches to control whether to exchange MAC address. + Currently, our test scripts are based on not exchanging MAC addresses, mac-swap needs to be disabled: + testpmd> csum mac-swap off 0 + testpmd> start csum packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=10 @@ -217,6 +229,12 @@ Launch the userland ``testpmd`` application on DUT as follows:: # Set fwd engine and start testpmd> set fwd csum + + Due to DPDK 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum + functions adds switches to control whether to exchange MAC address. + Currently, our test scripts are based on not exchanging MAC addresses, mac-swap needs to be disabled: + testpmd> csum mac-swap off 0 + testpmd> start Test IPv4() in scapy:: -- 2.27.0