diff mbox series

[V1,1/2] tests/kernelpf_iavf: remove duplicate case vf_tso

Message ID 20220812031155.26325-1-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1,1/2] tests/kernelpf_iavf: remove duplicate case vf_tso | expand

Commit Message

Weiyuan Li Aug. 12, 2022, 3:11 a.m. UTC
Duplicated to vf_offload tso, remove vf_tso from kernelpf_iavf.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 43 --------------------------------
 1 file changed, 43 deletions(-)
diff mbox series

Patch

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(