From 28cfc296008fe9effbb79873fbe83cfd06c00fad Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Mon, 30 Dec 2024 09:46:19 +0000 Subject: [PATCH] issue: 4202062 sockperf tests for DOCA as part of the preparations for DOCA TCP/IP - adjusting sockperf verifier to use doca. Changing timeout and expected sockperf server success messages. Signed-off-by: Tomer Cabouly --- contrib/jenkins_tests/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/test.sh b/contrib/jenkins_tests/test.sh index 5aef47023..12238a8c0 100755 --- a/contrib/jenkins_tests/test.sh +++ b/contrib/jenkins_tests/test.sh @@ -19,6 +19,8 @@ test_app="sockperf" # Download sockperf to use verifier do_cmd "wget -O sockperf_v2.zip https://github.com/Mellanox/sockperf/archive/sockperf_v2.zip && unzip sockperf_v2.zip && mv sockperf-sockperf_v2 sockperf" cd sockperf +echo ">> WARNING: applying patch on sockperf_v2.zip for doca compatability." +do_cmd "wget https://github.com/user-attachments/files/18245687/doca_support.patch && patch -f -p1 < doca_support.patch && rm -f doca_support.patch" # This unit requires sockperf so check for existence if [ $(command -v ${test_app} >/dev/null 2>&1 || echo $?) ]; then @@ -132,7 +134,7 @@ for test_link in $test_ip_list; do else ${sudo_cmd} $timeout_exe $PWD/tests/verifier/verifier.pl -a ${test_app} -x " --pre-warmup-wait=2 --debug " \ -t ${test}:tc[6-9]$ -s ${test_ip} -l ${test_dir}/${test_name}.log \ - -e " XLIO_MEM_ALLOC_TYPE=ANON XLIO_DOCA_RX=0 XLIO_DOCA_TX=0 LD_PRELOAD=$test_lib " \ + -e " XLIO_MEM_ALLOC_TYPE=ANON XLIO_DOCA_RX=1 XLIO_DOCA_TX=1 LD_PRELOAD=$test_lib " \ --progress=0 fi