From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1 1/2] tests/kernelpf_iavf: remove duplicate case vf_tso
Date: Fri, 12 Aug 2022 11:11:54 +0800 [thread overview]
Message-ID: <20220812031155.26325-1-weiyuanx.li@intel.com> (raw)
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
next reply other threads:[~2022-08-12 3:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-12 3:11 Weiyuan Li [this message]
2022-08-12 3:11 ` [dts][PATCH V1 2/2] test_plans/kernelpf_iavf: " Weiyuan Li
2022-08-24 8:01 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220812031155.26325-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).