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 92B4AA0540; 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 6501C406A2; 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 631C640697 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=1660273913; x=1691809913; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jjNduukqa3EhLLhgjDzZCgai8wM/4HvtCgBiIfWmGvE=; b=S0X6oxj10U7xqx0H8o0PnP4+wgqqTSywVuac44M6TVa5R0/VYV1abnbA Zn17WCnUUjsAunwG327U5qH4IMQ9pFzduN7iTsjtNSchgU/gE4/mlwlGW pDNKUTaETy3e98uuJq7Zvwf0GgHZrVrY3Pbd5VqhiaQnZNcunnvfPAC2B /LfnjsybdWCK1GUkruuVXnjp9zsSUWj7K5LTkk2bZrr40xFkoqxmL8jkp n9mWqerwiR0OydsUCVaI5LoLGx0uGAtRLYMaI/pM9qwGNIOofNZnuqSCW qHrGcnOUYn+OL9DJY1ZwJr3mjpYUC5EnEJ9IElAv/muxBD6IhFVgB4Jmg g==; X-IronPort-AV: E=McAfee;i="6400,9594,10436"; a="353253054" X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="353253054" 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:52 -0700 X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="665655407" 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:51 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 1/2] tests/kernelpf_iavf: remove duplicate case vf_tso Date: Fri, 12 Aug 2022 11:11:54 +0800 Message-Id: <20220812031155.26325-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 Duplicated to vf_offload tso, remove vf_tso from kernelpf_iavf. Signed-off-by: Weiyuan Li --- tests/TestSuite_kernelpf_iavf.py | 43 -------------------------------- 1 file changed, 43 deletions(-) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py index d7d17ac4..4cc603e0 100644 --- a/tests/TestSuite_kernelpf_iavf.py +++ b/tests/TestSuite_kernelpf_iavf.py @@ -635,49 +635,6 @@ class TestKernelpfIavf(TestCase): self.verify(bad_ipcsum == 1, "Bad-ipcsum check error") self.verify(bad_l4csum == 2, "Bad-ipcsum check error") - def test_vf_tso(self): - self.tester.send_expect( - "ethtool -K %s rx off tx off tso off gso off gro off lro off" - % self.tester_intf, - "#", - ) - self.tester.send_expect( - "ifconfig %s mtu %d" % (self.tester_intf, ETHER_JUMBO_FRAME_MTU), "#" - ) - self.vm_testpmd.start_testpmd( - "all", "--port-topology=chained --max-pkt-len=%d" % ETHER_JUMBO_FRAME_MTU - ) - self.vm_testpmd.execute_cmd("set fwd csum") - self.vm_testpmd.execute_cmd("set verbose 1") - self.enable_hw_checksum() - self.vm_testpmd.execute_cmd("tso set 1460 0") - self.vm_testpmd.execute_cmd("port start all") - self.vm_testpmd.execute_cmd("start") - self.tester.scapy_foreground() - time.sleep(5) - self.start_tcpdump(self.tester_intf) - pkt = ( - 'sendp([Ether(dst="%s")/IP(chksum=0x1234)/TCP(flags=0x10,chksum=0x1234)/' - 'Raw(RandString(5214))], iface="%s")' % (self.vf_mac, self.tester_intf) - ) - self.tester.scapy_append(pkt) - self.tester.scapy_execute() - time.sleep(5) - out = self.get_tcpdump_package() - self.verify_packet_segmentation(out) - self.vm_testpmd.execute_cmd("stop") - self.vm_testpmd.execute_cmd("port stop all") - self.vm_testpmd.execute_cmd("tso set 0 0") - self.vm_testpmd.execute_cmd("port start all") - self.vm_testpmd.execute_cmd("start") - - self.start_tcpdump(self.tester_intf) - self.tester.scapy_append(pkt) - self.tester.scapy_execute() - time.sleep(5) - out = self.get_tcpdump_package() - self.verify_packet_segmentation(out, seg=False) - def start_tcpdump(self, rxItf): self.tester.send_expect("rm -rf getPackageByTcpdump.cap", "#") self.tester.send_expect( -- 2.27.0