mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
demo: update accel-config 3.5.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
b7320c4219
commit
6e77933c19
@ -16,9 +16,9 @@
|
||||
###
|
||||
FROM debian:unstable-slim AS builder
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends gcc make patch autoconf automake libtool pkg-config libjson-c-dev uuid-dev curl ca-certificates
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.0"
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.2"
|
||||
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"
|
||||
ARG ACCEL_CONFIG_SHA256="4d2fecbbb29f293791214f475c44e73c25171f75c1725dbc516731b768e2e7c9"
|
||||
ARG ACCEL_CONFIG_SHA256="a2d52007b4bfdc050a21893466e78328c6800f9a87b0806c7e7f5775ff48387b"
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN curl -fsSL "$ACCEL_CONFIG_DOWNLOAD_URL" -o accel-config.tar.gz && echo "$ACCEL_CONFIG_SHA256 accel-config.tar.gz" | sha256sum -c - && tar -xzf accel-config.tar.gz
|
||||
RUN cd idxd-config-accel-config-v$ACCEL_CONFIG_VERSION && ./git-version-gen && autoreconf -i && ./configure -q --libdir=/usr/lib64 --disable-test --disable-docs && make && make install
|
||||
|
@ -5,9 +5,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
automake libtool pkg-config \
|
||||
libjson-c-dev uuid-dev curl ca-certificates
|
||||
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.0"
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.2"
|
||||
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"
|
||||
ARG ACCEL_CONFIG_SHA256="4d2fecbbb29f293791214f475c44e73c25171f75c1725dbc516731b768e2e7c9"
|
||||
ARG ACCEL_CONFIG_SHA256="a2d52007b4bfdc050a21893466e78328c6800f9a87b0806c7e7f5775ff48387b"
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN curl -fsSL "$ACCEL_CONFIG_DOWNLOAD_URL" -o accel-config.tar.gz && \
|
||||
|
@ -12,15 +12,15 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM ubuntu:20.04 AS builder
|
||||
FROM ubuntu:22.04 AS builder
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
gcc make patch autoconf automake libtool pkg-config curl ca-certificates \
|
||||
libjson-c-dev uuid-dev zlib1g-dev
|
||||
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.0"
|
||||
ARG ACCEL_CONFIG_VERSION="3.5.2"
|
||||
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"
|
||||
ARG ACCEL_CONFIG_SHA256="4d2fecbbb29f293791214f475c44e73c25171f75c1725dbc516731b768e2e7c9"
|
||||
ARG ACCEL_CONFIG_SHA256="a2d52007b4bfdc050a21893466e78328c6800f9a87b0806c7e7f5775ff48387b"
|
||||
|
||||
RUN curl -fsSL "$ACCEL_CONFIG_DOWNLOAD_URL" -o accel-config.tar.gz && echo "$ACCEL_CONFIG_SHA256 accel-config.tar.gz" | sha256sum -c - && tar -xzf accel-config.tar.gz
|
||||
|
||||
@ -35,9 +35,9 @@ RUN cd idxd-config-accel-config-v$ACCEL_CONFIG_VERSION && \
|
||||
./configure -q --libdir=/usr/lib64 --enable-test=yes --disable-docs && \
|
||||
make install
|
||||
|
||||
FROM ubuntu:20.04
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt update && apt install -y libjson-c4
|
||||
RUN apt update && apt install -y libjson-c5
|
||||
|
||||
COPY --from=builder /usr/lib64/libaccel-config.so.1.0.0 "/lib/x86_64-linux-gnu/"
|
||||
RUN ldconfig
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- idxd-config-accel-config-v3.5.0/test/dsa_user_test_runner.sh.orig 2022-10-24 04:51:11.670675030 +0300
|
||||
+++ idxd-config-accel-config-v3.5.0/test/dsa_user_test_runner.sh 2022-10-24 04:53:04.694783767 +0300
|
||||
--- idxd-config-accel-config-v3.5.2/test/dsa_user_test_runner.sh.orig 2022-11-29 12:41:55.188306049 +0200
|
||||
+++ idxd-config-accel-config-v3.5.2/test/dsa_user_test_runner.sh 2022-11-29 12:44:20.711820711 +0200
|
||||
@@ -6,7 +6,8 @@
|
||||
|
||||
rc="$EXIT_SKIP"
|
||||
@ -19,7 +19,7 @@
|
||||
done
|
||||
done
|
||||
}
|
||||
@@ -95,14 +96,11 @@
|
||||
@@ -99,7 +100,7 @@
|
||||
for xfer_size in $SIZE_1 $SIZE_4K $SIZE_64K $SIZE_1M $SIZE_2M; do
|
||||
echo "Testing $xfer_size bytes"
|
||||
"$DSATEST" -w "$wq_mode_code" -l "$xfer_size" -o 0x1 -b "$opcode" \
|
||||
@ -28,23 +28,40 @@
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
@@ -124,7 +125,7 @@
|
||||
for xfer_size in $SIZE_512 $SIZE_1K $SIZE_4K; do
|
||||
echo "Testing $xfer_size bytes"
|
||||
"$DSATEST" -w "$wq_mode_code" -l "$xfer_size" -o "$opcode" \
|
||||
- -f "$flag" t200 -v
|
||||
+ -f "$flag" t200 -d "$DEV"
|
||||
done
|
||||
done
|
||||
}
|
||||
@@ -149,13 +150,10 @@
|
||||
for xfer_size in $SIZE_512 $SIZE_1K $SIZE_4K; do
|
||||
echo "Testing $xfer_size bytes"
|
||||
"$DSATEST" -w "$wq_mode_code" -l "$xfer_size" -o 0x1 -b "$opcode" \
|
||||
- -c 16 -f "$flag" t2000 -v
|
||||
+ -c 16 -f "$flag" t2000 -d "$DEV"
|
||||
done
|
||||
done
|
||||
}
|
||||
-_cleanup
|
||||
-start_dsa
|
||||
-enable_wqs
|
||||
# shellcheck disable=SC2034
|
||||
rc="$EXIT_FAILURE"
|
||||
|
||||
@@ -120,7 +118,3 @@
|
||||
test_op_batch $opcode $flag
|
||||
@@ -188,7 +186,3 @@
|
||||
test_dif_op_batch $opcode $flag
|
||||
done
|
||||
|
||||
-disable_wqs
|
||||
-stop_dsa
|
||||
-_cleanup
|
||||
-exit 0
|
||||
--- idxd-config-accel-config-v3.5.0/test/iaa_user_test_runner.sh.orig 2022-10-21 23:08:55.270519931 +0300
|
||||
+++ idxd-config-accel-config-v3.5.0/test/iaa_user_test_runner.sh 2022-11-08 11:01:28.919717758 +0200
|
||||
--- idxd-config-accel-config-v3.5.2/test/iaa_user_test_runner.sh.orig 2022-11-29 12:41:55.188306049 +0200
|
||||
+++ idxd-config-accel-config-v3.5.2/test/iaa_user_test_runner.sh 2022-11-29 12:44:20.711820711 +0200
|
||||
@@ -6,7 +6,8 @@
|
||||
|
||||
rc="$EXIT_SKIP"
|
||||
@ -72,175 +89,175 @@
|
||||
wq_mode_name=$(wq_mode2name "$wq_mode_code")
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x7c -3 128 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x7c -3 256 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x7c -3 1024 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x7c -3 16384 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x7c -3 262144 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x7c -3 524288 \
|
||||
- -o 0x50 -f 0x0 -t 5000 -v
|
||||
+ -o 0x50 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x50 -t 5000 -v
|
||||
+ -o 0x50 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x38 -3 256 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x38 -3 512 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x38 -3 2048 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x38 -3 32768 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x38 -3 524288 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x38 -3 1048576 \
|
||||
- -o 0x51 -f 0x0 -t 5000 -v
|
||||
+ -o 0x51 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x51 -t 5000 -v
|
||||
+ -o 0x51 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x7c -3 128 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x7c -3 256 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x7c -3 1024 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x7c -3 16384 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x7c -3 262144 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x7c -3 524288 \
|
||||
- -o 0x52 -f 0x0 -t 5000 -v
|
||||
+ -o 0x52 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x52 -t 5000 -v
|
||||
+ -o 0x52 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x7c -3 128 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x7c -3 256 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x7c -3 1024 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x7c -3 16384 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x7c -3 262144 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x7c -3 524288 \
|
||||
- -o 0x53 -f 0x0 -t 5000 -v
|
||||
+ -o 0x53 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x53 -t 5000 -v
|
||||
+ -o 0x53 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x1c -3 512 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x1c -3 1024 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x1c -3 4096 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 32768 -2 0x1c -3 32768 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x1c -3 65536 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 131072 -2 0x1c -3 131072 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 32 -2 0x3c -3 16 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 64 -2 0x3c -3 32 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 128 -2 0x3c -3 64 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 256 -2 0x3c -3 128 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x3c -3 256 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x3c -3 512 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 64 -2 0x7c -3 16 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 128 -2 0x7c -3 32 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 256 -2 0x7c -3 64 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x7c -3 128 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x7c -3 256 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2048 -2 0x7c -3 512 \
|
||||
- -o 0x54 -f 0x0 -t 5000 -v
|
||||
+ -o 0x54 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x54 -t 5000 -v
|
||||
+ -o 0x54 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x38 -3 256 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x38 -3 512 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x38 -3 2048 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x38 -3 32768 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x38 -3 524288 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x38 -3 1048576 \
|
||||
- -o 0x55 -f 0x0 -t 5000 -v
|
||||
+ -o 0x55 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x55 -t 5000 -v
|
||||
+ -o 0x55 -t 5000 -d "$DEV"
|
||||
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 512 -2 0x7c -3 128 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1024 -2 0x7c -3 256 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 4096 -2 0x7c -3 1024 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 65536 -2 0x7c -3 16384 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 1048576 -2 0x7c -3 262144 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
./iaa_test -w "$wq_mode_code" -f "$flag" -l 2097152 -2 0x7c -3 524288 \
|
||||
- -o 0x56 -f 0x0 -t 5000 -v
|
||||
+ -o 0x56 -f 0x0 -t 5000 -d "$DEV"
|
||||
- -o 0x56 -t 5000 -v
|
||||
+ -o 0x56 -t 5000 -d "$DEV"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -12,22 +12,16 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM ubuntu:20.04 AS builder
|
||||
FROM ubuntu:22.04 AS builder
|
||||
|
||||
RUN apt update && DEBIAN_FRONTEND=noninteractive TZ="Etc/UTC" \
|
||||
apt install -y --no-install-recommends \
|
||||
g++ clang nasm cmake make git ca-certificates uuid-dev \
|
||||
gcc autoconf automake libtool pkg-config libjson-c-dev curl zlib1g-dev
|
||||
|
||||
RUN git clone --recursive --depth 1 --branch v0.2.0 \
|
||||
https://github.com/intel/qpl.git && \
|
||||
mkdir qpl/build && cd qpl/build && \
|
||||
cmake .. && \
|
||||
make install
|
||||
|
||||
ARG ACCEL_CONFIG_VERSION=3.5.0
|
||||
ARG ACCEL_CONFIG_VERSION=3.5.2
|
||||
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"
|
||||
ARG ACCEL_CONFIG_SHA256="4d2fecbbb29f293791214f475c44e73c25171f75c1725dbc516731b768e2e7c9"
|
||||
ARG ACCEL_CONFIG_SHA256="a2d52007b4bfdc050a21893466e78328c6800f9a87b0806c7e7f5775ff48387b"
|
||||
|
||||
RUN curl -fsSL "$ACCEL_CONFIG_DOWNLOAD_URL" -o accel-config.tar.gz && echo "$ACCEL_CONFIG_SHA256 accel-config.tar.gz" | sha256sum -c - && tar -xzf accel-config.tar.gz
|
||||
RUN cd idxd-config-accel-config-v$ACCEL_CONFIG_VERSION && \
|
||||
@ -36,10 +30,17 @@ RUN cd idxd-config-accel-config-v$ACCEL_CONFIG_VERSION && \
|
||||
./configure -q --libdir=/usr/lib64 --disable-test --disable-docs && \
|
||||
make install
|
||||
|
||||
FROM ubuntu:20.04
|
||||
RUN git clone --recursive --depth 1 --branch v1.0.0 \
|
||||
https://github.com/intel/qpl.git && \
|
||||
mkdir qpl/build && cd qpl/build && \
|
||||
sed -i '10i #include <stdexcept>' ../tools/benchmarks/include/types.hpp && \
|
||||
cmake -DLOG_HW_INIT=ON .. && \
|
||||
cmake --build . --target install
|
||||
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt update && DEBIAN_FRONTEND=noninteractive TZ="Etc/UTC" \
|
||||
apt install -y libjson-c4 python
|
||||
apt install -y libjson-c5 python3
|
||||
|
||||
COPY --from=builder /usr/bin/accel-config /usr/bin/
|
||||
COPY --from=builder /usr/lib64/libaccel-config.so.1.0.0 "/lib/x86_64-linux-gnu/"
|
||||
|
Loading…
Reference in New Issue
Block a user