test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1 1/2] tests/kernelpf_iavf: remove duplicate case vf_tso
@ 2022-08-12  3:11 Weiyuan Li
  2022-08-12  3:11 ` [dts][PATCH V1 2/2] test_plans/kernelpf_iavf: " Weiyuan Li
  0 siblings, 1 reply; 3+ messages in thread
From: Weiyuan Li @ 2022-08-12  3:11 UTC (permalink / raw)
  To: dts; +Cc: Weiyuan Li

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 --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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-24  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12  3:11 [dts][PATCH V1 1/2] tests/kernelpf_iavf: remove duplicate case vf_tso Weiyuan Li
2022-08-12  3:11 ` [dts][PATCH V1 2/2] test_plans/kernelpf_iavf: " Weiyuan Li
2022-08-24  8:01   ` lijuan.tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).