Skip to content

Commit 2cd45ea

Browse files
authored
Merge pull request #1478 from mythi/PR-2023-033
demo: crypto-perf, accel-config-demo and openssl-qat-engine updates
2 parents 89986b9 + cad7fea commit 2cd45ea

File tree

4 files changed

+10
-64
lines changed

4 files changed

+10
-64
lines changed

demo/accel-config-demo/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,15 @@ RUN cd idxd-config-accel-config-v$ACCEL_CONFIG_VERSION && \
3535
./configure -q --libdir=/usr/lib64 --enable-test=yes --disable-docs && \
3636
make install
3737

38-
COPY dml.patch /
39-
RUN cd / && git clone --recurse-submodules --branch v0.1.9-beta --depth 1 https://github.com/intel/DML.git && \
38+
RUN cd / && git clone --recurse-submodules --branch v1.1.0 --depth 1 https://github.com/intel/DML.git && \
4039
mkdir DML/build && cd DML/build && \
41-
patch -d .. -p1 < /dml.patch && \
4240
cmake .. && \
4341
make install && \
4442
mv -v /usr/local/bin/tests /usr/local/bin/dml_tests && \
45-
mv -v /usr/local/bin/tests_mt /usr/local/bin/dml_tests_mt && \
46-
mv -v /usr/local/bin/job_api_samples /usr/local/bin/dml_job_api_samples
43+
mv -v /usr/local/bin/tests_mt /usr/local/bin/dml_tests_mt
4744

48-
RUN cd / && git clone --recursive --depth 1 --branch v1.0.0 https://github.com/intel/qpl.git && \
45+
RUN cd / && git clone --recursive --depth 1 --branch v1.2.0 https://github.com/intel/qpl.git && \
4946
mkdir qpl/build && cd qpl/build && \
50-
sed -i '10i #include <stdexcept>' ../tools/benchmarks/include/types.hpp && \
5147
cmake -DLOG_HW_INIT=ON .. && \
5248
make install
5349

demo/accel-config-demo/dml.patch

Lines changed: 0 additions & 51 deletions
This file was deleted.

demo/crypto-perf/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ RUN echo "deb-src http://deb.debian.org/debian unstable main" >> \
88
RUN apt-get update && apt-get install -y --no-install-recommends wget build-essential meson ninja-build python3-pyelftools libnuma-dev python3-pip libssl-dev pkg-config dpkg-dev
99

1010
# Download & unpack DPDK tarball
11-
ARG DPDK_TARBALL=dpdk-22.11.tar.xz
12-
ARG DPDK_TARBALL_SHA256="8eefcc69afa87dccaf8d730d805ded70fb8b64905295d6396977c1322e59eadb"
11+
ARG DPDK_TARBALL=dpdk-23.07-rc4.tar.xz
12+
ARG DPDK_TARBALL_SHA256="f16e25a8b1eeb7335fbd265a6d4f9cce512709436efc80f6422ee9cfdf2f32b9"
1313

1414
ARG SOVERSION=23
1515
RUN wget -q https://git.dpdk.org/dpdk/snapshot/$DPDK_TARBALL \

demo/openssl-qat-engine/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM ubuntu:22.04 as builder
22

33
ARG QATLIB_VERSION="23.02.0"
4-
ARG QAT_ENGINE_VERSION="v1.1.0"
4+
ARG QAT_ENGINE_VERSION="v1.2.0"
55
ARG ASYNC_NGINX_VERSION="v0.5.0"
6-
ARG IPSEC_MB_VERSION="v1.3"
7-
ARG IPP_CRYPTO_VERSION="ippcp_2021.7.1"
6+
ARG IPSEC_MB_VERSION="v1.4"
7+
ARG IPP_CRYPTO_VERSION="ippcp_2021.8"
88

99
RUN apt update && \
1010
env DEBIAN_FRONTEND=noninteractive apt install -y \
@@ -48,6 +48,7 @@ RUN cd /intel-ipsec-mb && \
4848
make && make install LIB_INSTALL_DIR=/usr/lib64
4949

5050
RUN cd /QAT_Engine && \
51+
sed -i -e 's/GCM_IV_DATA_LEN/IMB_GCM_IV_DATA_LEN/g' qat_evp.c && \
5152
./autogen.sh && \
5253
./configure \
5354
--enable-qat_sw && \
@@ -74,7 +75,7 @@ COPY --from=builder /usr/bin/*_sample* /usr/bin/
7475
COPY --from=builder /usr/lib/libqat.so.3.0.3 /usr/lib/
7576
COPY --from=builder /usr/lib/libusdm.so.0.1.0 /usr/lib/
7677
COPY --from=builder /usr/lib64/libIPSec_MB.so.1 /usr/lib/x86_64-linux-gnu/
77-
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.6 /usr/lib/x86_64-linux-gnu/
78+
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.8 /usr/lib/x86_64-linux-gnu/
7879
COPY --from=builder /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so
7980
COPY --from=builder /var/www/ /var/www/
8081
COPY --from=builder /usr/lib64/nginx/* /usr/lib64/nginx/

0 commit comments

Comments
 (0)