* [dts] [PATCH V3] add tx-offloads to start testpmd in checksum_offload test suite
@ 2018-01-29 8:43 xu,gang
2018-01-29 8:48 ` Tu, LijuanX A
0 siblings, 1 reply; 2+ messages in thread
From: xu,gang @ 2018-01-29 8:43 UTC (permalink / raw)
To: dts; +Cc: xu,gang
open IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TX_offload
Signed-off-by: xu,gang <gangx.xu@intel.com>
---
tests/TestSuite_checksum_offload.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 5f5547f..f82514c 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -67,7 +67,7 @@ class TestChecksumOffload(TestCase):
"""
self.pmdout.start_testpmd("Default", "--portmask=%s " %
(self.portMask) + "--disable-hw-vlan --enable-rx-cksum " +
- "--port-topology=loop", socket=self.ports_socket)
+ "--port-topology=loop --tx-offloads=0x1e", socket=self.ports_socket)
self.dut.send_expect("set verbose 1", "testpmd>")
self.dut.send_expect("set fwd csum", "testpmd>")
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V3] add tx-offloads to start testpmd in checksum_offload test suite
2018-01-29 8:43 [dts] [PATCH V3] add tx-offloads to start testpmd in checksum_offload test suite xu,gang
@ 2018-01-29 8:48 ` Tu, LijuanX A
0 siblings, 0 replies; 2+ messages in thread
From: Tu, LijuanX A @ 2018-01-29 8:48 UTC (permalink / raw)
To: Xu, GangX, dts; +Cc: Xu, GangX
Hi Gang,
This suite contain enable/disable offload , your patch will enable offload for all cases.
I think you should stop port and then set checksum offload , this will be a better solution.
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
Sent: Monday, January 29, 2018 4:44 PM
To: dts@dpdk.org
Cc: Xu, GangX <gangx.xu@intel.com>
Subject: [dts] [PATCH V3] add tx-offloads to start testpmd in checksum_offload test suite
open IPV4_CKSUM UDP_CKSUM TCP_CKSUM SCTP_CKSUM TX_offload
Signed-off-by: xu,gang <gangx.xu@intel.com>
---
tests/TestSuite_checksum_offload.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 5f5547f..f82514c 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -67,7 +67,7 @@ class TestChecksumOffload(TestCase):
"""
self.pmdout.start_testpmd("Default", "--portmask=%s " %
(self.portMask) + "--disable-hw-vlan --enable-rx-cksum " +
- "--port-topology=loop", socket=self.ports_socket)
+ "--port-topology=loop --tx-offloads=0x1e", socket=self.ports_socket)
self.dut.send_expect("set verbose 1", "testpmd>")
self.dut.send_expect("set fwd csum", "testpmd>")
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-29 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 8:43 [dts] [PATCH V3] add tx-offloads to start testpmd in checksum_offload test suite xu,gang
2018-01-29 8:48 ` Tu, LijuanX A
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).