[dts] [PATCH V1] tests/tso:add -a params when tester and dut in the same server

lingwei weix.ling at intel.com
Wed Dec 16 14:05:27 CET 2020


add -a params when tester and dut in the same server

Signed-off-by: lingwei <weix.ling at intel.com>
---
 tests/TestSuite_tso.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index e119b3fd..3ef1d42f 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -77,7 +77,7 @@ class TestTSO(TestCase):
             self.table_header.append("%s Mpps" % test_cycle['cores'])
             self.table_header.append("% linerate")
 
-        self.eal_param = self.dut.create_eal_parameters(cores='1S/1C/2T')
+        self.eal_param = self.dut.create_eal_parameters(cores='1S/1C/2T', socket=self.ports_socket, ports=self.dut_ports)
 
         self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE[
             'ip'] + HEADER_SIZE['tcp']
-- 
2.17.1



More information about the dts mailing list