* [dts] [PATCH V2] add tx-offloads to start testpmd
@ 2018-01-29 6:33 xu,gang
2018-01-29 6:35 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: xu,gang @ 2018-01-29 6:33 UTC (permalink / raw)
To: dts; +Cc: xu,gang
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..7bd7250 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=0x8ffe", 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 V2] add tx-offloads to start testpmd
2018-01-29 6:33 [dts] [PATCH V2] add tx-offloads to start testpmd xu,gang
@ 2018-01-29 6:35 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-01-29 6:35 UTC (permalink / raw)
To: Xu, GangX, dts; +Cc: Xu, GangX
Gang,
Please check which Tx offload flags is must. Do not enable all flags which most of them are not needed.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
> Sent: Monday, January 29, 2018 2:34 PM
> To: dts@dpdk.org
> Cc: Xu, GangX <gangx.xu@intel.com>
> Subject: [dts] [PATCH V2] add tx-offloads to start testpmd
>
> 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..7bd7250 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=0x8ffe", 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 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 6:33 [dts] [PATCH V2] add tx-offloads to start testpmd xu,gang
2018-01-29 6:35 ` Liu, Yong
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).