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 EA30BA0543; Fri, 12 Aug 2022 05:11:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80A42410FC; Fri, 12 Aug 2022 05:11:55 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 05A7E40697 for ; Fri, 12 Aug 2022 05:11:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660273914; x=1691809914; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AFAb2jp20AVF+6z6Hy/Nb9z68myKqMaOmb+LG/gPDGA=; b=CTGqxjnc53p9C31TXS6W8UO8fmzx4g4V7VobuAfZP5yv37tLmrKzzC/7 dKUdVGRjtk3f6ZpmmKsZPhanBCmncJWWyl46DK/GrnU8fAgVY/RrpItKF /E3MSCN+IdH03NG/1LUHZ1yfGO1QwxArxRN6IPRptgPSMmARpvlzXc7Tj V++zuqw39tnbAEHiD71a1tRzsATUgoXxQ6WwbbBlltj84QDKAAWDG/Jhc GBFOZ8DC9TwjnUCbcywovEKx/voW9YWtuHTigmKynjnM072sma7YMYPWo 6kb2Pp9JkFRbEq3GK3cxKEsuZIBXiGze7EoxWEtNC1vZpxazAD8C3WsEo A==; X-IronPort-AV: E=McAfee;i="6400,9594,10436"; a="353253056" X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="353253056" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2022 20:11:53 -0700 X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="665655416" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2022 20:11:52 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 2/2] test_plans/kernelpf_iavf: remove duplicate case vf_tso Date: Fri, 12 Aug 2022 11:11:55 +0800 Message-Id: <20220812031155.26325-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220812031155.26325-1-weiyuanx.li@intel.com> References: <20220812031155.26325-1-weiyuanx.li@intel.com> 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 Duplicated to vf_offload tso, remove vf_tso from kernelpf_iavf. Signed-off-by: Weiyuan Li --- test_plans/kernelpf_iavf_test_plan.rst | 76 -------------------------- 1 file changed, 76 deletions(-) diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst index 8c7d1ad5..7613fa68 100644 --- a/test_plans/kernelpf_iavf_test_plan.rst +++ b/test_plans/kernelpf_iavf_test_plan.rst @@ -320,82 +320,6 @@ Send ipv4 packets, check RSS hash value is different:: p=Ether(dst="56:0A:EC:50:A4:28")/IP(src="1.2.3.4")/Raw(load='X'*30) -Test case: VF TSO -================= -Turn off all hardware offloads on tester machine:: - - ethtool -K eth1 rx off tx off tso off gso off gro off lro off - -Change mtu for large packet:: - - ifconfig 'tester interface' mtu 9000 - -Launch the ``testpmd`` with the following arguments, add "--max-pkt-len" -for large packet:: - - .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --max-pkt-len=9000 - -Set csum forward:: - - testpmd> set fwd csum - testpmd> set verbose 1 - -Enable HW checksum:: - - testpmd> port stop all - testpmd> csum set ip hw 0 - testpmd> csum set udp hw 0 - testpmd> csum set tcp hw 0 - testpmd> csum set sctp hw 0 - -Set TSO turned on, set TSO size as 1460:: - - testpmd> tso set 1460 0 - testpmd> port start all - testpmd> start - -Send few IP/TCP packets from tester machine to DUT. Check IP/TCP checksum -correctness in captured packet and verify correctness of HW TSO offload -for large packets. One large TCP packet (5214 bytes + headers) segmented -to four fragments (1460 bytes+header, 1460 bytes+header, 1460 bytes+header -and 834 bytes + headers), checksums are also ok:: - - p=Ether()/IP(chksum=0x1234)/TCP(flags=0x10,chksum=0x1234)/Raw(RandString(5214)) - -Transmitted packet:: - - 21:48:24.214136 00:00:00:00:00:00 > 3c:fd:fe:9d:69:68, ethertype IPv6 - (0x86dd), length 5288: (hlim 64, next-header TCP (6) payload length: 5234) - ::1.ftp-data > ::1.http: Flags [.], cksum 0xac95 (correct), seq 0:5214, - ack 1, win 8192, length 5214: HTTP - -Captured packet:: - - 21:48:24.214207 3c:fd:fe:9d:69:68 > 02:00:00:00:00:00, ethertype IPv6 - (0x86dd), length 1534: (hlim 64, next-header TCP (6) payload length: 1480) - ::1.ftp-data > ::1.http: Flags [.], cksum 0xa641 (correct), seq 0:1460, - ack 1, win 8192, length 1460: HTTP - 21:48:24.214212 3c:fd:fe:9d:69:68 > 02:00:00:00:00:00, ethertype IPv6 - (0x86dd), length 1534: (hlim 64, next-header TCP (6) payload length: 1480) - ::1.ftp-data > ::1.http: Flags [.], cksum 0xae89 (correct), seq 1460:2920, - ack 1, win 8192, length 1460: HTTP - 21:48:24.214213 3c:fd:fe:9d:69:68 > 02:00:00:00:00:00, ethertype IPv6 - (0x86dd), length 1534: (hlim 64, next-header TCP (6) payload length: 1480) - ::1.ftp-data > ::1.http: Flags [.], cksum 0xfdb6 (correct), seq 2920:4380, - ack 1, win 8192, length 1460: HTTP - 21:48:24.214215 3c:fd:fe:9d:69:68 > 02:00:00:00:00:00, ethertype IPv6 - (0x86dd), length 908: (hlim 64, next-header TCP (6) payload length: 854) - ::1.ftp-data > ::1.http: Flags [.], cksum 0xe629 (correct), seq 4380:5214, - ack 1, win 8192, length 834: HTTP - -Set TSO turned off:: - - testpmd> tso set 0 0 - -Send few IP/TCP packets from tester machine to DUT. Check IP/TCP checksum -correctness in captured packet and verify correctness of HW TSO offload -for large packets, but don't do packet segmentation. - Test case: VF port stop/start ============================= -- 2.27.0