Skip to content

Commit

Permalink
issue: 4202062 sockperf tests for DOCA
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tomerdbz committed Dec 30, 2024
1 parent b9d7f90 commit 4dbed3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/jenkins_tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ 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
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
Expand Down Expand Up @@ -132,7 +133,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

Expand Down

0 comments on commit 4dbed3d

Please sign in to comment.