Merge pull request #2104 from eadamsintel/update-qat-version

Update qat version
This commit is contained in:
Fabiano Fidêncio 2021-06-24 11:41:14 +02:00 committed by GitHub
commit bb4a256a30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -74,7 +74,7 @@ Make sure to check [`01.org`](https://01.org/intel-quickassist-technology) for
the latest driver. the latest driver.
```bash ```bash
$ export QAT_DRIVER_VER=qat1.7.l.4.12.0-00011.tar.gz $ export QAT_DRIVER_VER=qat1.7.l.4.14.0-00031.tar.gz
$ export QAT_DRIVER_URL=https://downloadmirror.intel.com/30178/eng/${QAT_DRIVER_VER} $ export QAT_DRIVER_URL=https://downloadmirror.intel.com/30178/eng/${QAT_DRIVER_VER}
$ export QAT_CONF_LOCATION=~/QAT_conf $ export QAT_CONF_LOCATION=~/QAT_conf
$ export QAT_DOCKERFILE=https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/demo/openssl-qat-engine/Dockerfile $ export QAT_DOCKERFILE=https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/demo/openssl-qat-engine/Dockerfile
@ -402,7 +402,7 @@ different hypervisor, different install method for Kata, or a different
Intel® QAT chipset then the command will need to be modified. Intel® QAT chipset then the command will need to be modified.
> **Note: The following was tested with > **Note: The following was tested with
[containerd v1.3.9](https://github.com/containerd/containerd/releases/tag/v1.3.9).** [containerd v1.4.6](https://github.com/containerd/containerd/releases/tag/v1.4.6).**
```bash ```bash
$ config_file="/opt/kata/share/defaults/kata-containers/configuration-qemu.toml" $ config_file="/opt/kata/share/defaults/kata-containers/configuration-qemu.toml"

View File

@ -9,9 +9,9 @@ FROM fedora:latest
# images being pulled from the registry. # images being pulled from the registry.
# Set AGENT_VERSION as an env variable to specify a specific version of Kata Agent to install # Set AGENT_VERSION as an env variable to specify a specific version of Kata Agent to install
LABEL DOCKERFILE_VERSION="2.1" LABEL DOCKERFILE_VERSION="2.2"
ENV QAT_DRIVER_VER "QAT1.7.L.4.13.0-00009.tar.gz" ENV QAT_DRIVER_VER "QAT1.7.L.4.14.0-00031.tar.gz"
ENV QAT_DRIVER_URL "https://downloadmirror.intel.com/30178/eng/${QAT_DRIVER_VER}" ENV QAT_DRIVER_URL "https://downloadmirror.intel.com/30178/eng/${QAT_DRIVER_VER}"
ENV QAT_CONFIGURE_OPTIONS "--enable-icp-sriov=guest" ENV QAT_CONFIGURE_OPTIONS "--enable-icp-sriov=guest"
ENV KATA_REPO_VERSION "main" ENV KATA_REPO_VERSION "main"
@ -41,7 +41,8 @@ RUN dnf install -y \
qemu-img \ qemu-img \
systemd-devel \ systemd-devel \
sudo \ sudo \
xz xz \
yasm
# Add in non-privileged user # Add in non-privileged user
RUN useradd qatbuilder -p "" && \ RUN useradd qatbuilder -p "" && \

View File

@ -120,6 +120,7 @@ copy_outputs()
sudo cp -- "$f" "${OUTPUT_DIR}/configs/${output_conf_file}" sudo cp -- "$f" "${OUTPUT_DIR}/configs/${output_conf_file}"
sudo sed -i 's/\[SSL\]/\[SHIM\]/g' ${OUTPUT_DIR}/configs/${output_conf_file} sudo sed -i 's/\[SSL\]/\[SHIM\]/g' ${OUTPUT_DIR}/configs/${output_conf_file}
done done
/bin/echo -e "Check the ./output directory for the kernel and rootfs\n"
} }
help() { help() {