[PATCH v1] tests/nic_single_core_perf: Initalize packet generator

ohilyard at iol.unh.edu ohilyard at iol.unh.edu
Tue Jan 18 17:30:32 CET 2022


From: Owen Hilyard <ohilyard at iol.unh.edu>

Call the initialization function for the packet generator to make sure
it is set up properly before trying to use it.

Signed-off-by: Owen Hilyard <ohilyard at iol.unh.edu>
---
 tests/TestSuite_nic_single_core_perf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index 1012dbf3..8515861b 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -89,6 +89,7 @@ class TestNicSingleCorePerf(TestCase):
             self.output_path = os.sep.join([cur_path, self.logger.log_path])
         # create an instance to set stream field setting
         self.pktgen_helper = PacketGeneratorHelper()
+        self.tester.init_ext_gen()
 
     def set_up(self):
         """
-- 
2.30.2



More information about the dts mailing list