[dts] [PATCH V3] add tx-offloads value to start testpmd

Tu, Lijuan lijuan.tu at intel.com
Thu Jun 14 10:34:04 CEST 2018


Hi gang,
Could add some words why you add this tx-offloads?

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
Sent: Wednesday, June 13, 2018 5:01 PM
To: dts at dpdk.org
Cc: Xu, GangX <gangx.xu at intel.com>
Subject: [dts] [PATCH V3] add tx-offloads value to start testpmd

open TX_OFFLOAD options 

Signed-off-by: xu,gang <gangx.xu at intel.com>
---
 tests/TestSuite_scatter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py index 74fc08f..31f400d 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -105,7 +105,7 @@ class TestScatter(TestCase):
         """
         out = self.pmdout.start_testpmd(
             "1S/2C/1T", "--mbcache=200 --mbuf-size=%d --portmask=0x1 "
-            "--max-pkt-len=9000 --port-topology=loop" % (self.mbsize))
+            "--max-pkt-len=9000 --port-topology=loop 
+ --tx-offloads=0x00000008" % (self.mbsize))
 
         self.verify("Error" not in out, "launch error 1")
 
--
1.9.3



More information about the dts mailing list