[PATCH] tests/compress_common: replace coremask with corelist in compress_common

Manit Mahajan mmahajan at iol.unh.edu
Fri Jul 11 22:30:30 CEST 2025


The compress_common.py script previously used the --coremask parameter,
which has been removed from DPDK. As a result, zlib_pmd test cases
fail when invoking this script. This patch updates the script to
use the --corelist parameter instead, which is the more common
way to specify core assignment in DPDK.

Signed-off-by: Manit Mahajan <mmahajan at iol.unh.edu>
---
 tests/compress_common.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/compress_common.py b/tests/compress_common.py
index aa591270..22ce4b74 100644
--- a/tests/compress_common.py
+++ b/tests/compress_common.py
@@ -94,12 +94,14 @@ def get_input_file(test_case):
 
 def run_unit(test_case, eal={}):
     cores = test_case.dut.get_core_list("1S/3C/1T")
-    core_mask = utils.create_mask(cores)
+    core_list = []
+    for core in cores:
+        core_list.append(str(core))
+    core_str = ",".join(core_list)
     mem_channels = test_case.dut.get_memory_channels()
 
     default = default_eals.copy()
-    default["l"] = None
-    default["c"] = core_mask
+    default["l"] = core_str
     default["n"] = mem_channels
 
     eal_str = get_opt_str(test_case, default, eal)
-- 
2.41.0



More information about the dts mailing list