Commit Graph

92 Commits

Author SHA1 Message Date
Mikko Ylinen
2c3181fd16 openssl-qat-engine: fix qat-hw engine build
It was observed that qat-hw (when built right after qat-sw) is not built
correctly. Run make clean before the build (and back-up qat-sw since
clean removes it).

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-09 14:41:41 +02:00
Mikko Ylinen
aed51bda06 openssl-qat-engine: update component versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-04 13:18:40 +02:00
Mikko Ylinen
a8105befe0 demo: kustomize sgx sample deployments
adding kustomization to deploy sample jobs that demonstrate

1. launching of plain sample enclave application
2. SGX ECDSA quote generation "out-of-proc" using aesmd
3. SGX ECDSA quote generation "in-proc"

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-10-27 15:02:40 +02:00
Mikko Ylinen
0bffaf2f2d SGX: provide SGX aesmd sample
SGX aesmd (architectural enclave service daemon) can be used for SGX
DCAP Quote Generation. This commit adds a sample deployment that by
default talks to an Intel reference PCCS (Provisioning Certificate
Caching Service).

The default config provided is for a "single node" cluster that has
PCCS service localhost.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-10-23 13:21:17 +03:00
Mikko Ylinen
0ad7b5b6f9 sgx-sdk-demo: install packages without recommendations
The client side packages Recommends aesmd service and that gets pulled
in the image. aesmd service is expected to run in its own container so
we build the sample apps container without it.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-25 13:14:17 +03:00
Kevin Putnam
1d149ffee6 Documentation: Fixes broken links and standardizes headers.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-09-22 08:32:21 -07:00
Mikko Ylinen
8677e0e99b sgx-sdk-demo: add DCAP Quote Generation sample
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-16 15:35:09 +03:00
Mikko Ylinen
2a2993b13c sgx-sdk-demo: update SGX SDK version
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-16 15:34:55 +03:00
Ed Bartosh
f16c0936af FPGA: upgrade OPAE to v.1.5.0-2
Upgraded OPAE to the latest release
Tested opae-nlb-demo image on the host with Arria10 hardware

Fixes: #383
2020-09-16 12:35:33 +03:00
Mikko Ylinen
02fb1209d0 demo: fix openssl-qat-engine build
ipp-crypto repository did not provide a tag with the necessary changes
included until recently so we were using the master branch.

Now the tag was added (and master broke our build) so we move to use
it.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-02 09:20:31 +03:00
Mikko Ylinen
6a268c50dc demo: Add SGX SDK SampleEnclave container and job deployment
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-24 16:33:45 +03:00
Mikko Ylinen
1cfb849eef qat: update QAT software stack
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-12 23:08:59 +03:00
Ed Bartosh
30a0e8ccaa fpga: update demo
Updated FPGA demo screencasts:
- used latest kustomize setup
- got rid of cloning github repository
- renamed test-fpga-region.yaml -> demo/test-fpga-orchestrated.yaml
- updated readme
2020-07-01 19:43:59 +03:00
Dmitry Rozhkov
e87d94d4fb fpga: finalize plugin kustomization
closes #318
2020-07-01 11:57:45 +03:00
Ed Bartosh
bf66be9fb6 FPGA demo: add screencast for preprogrammed mode
This screencast demonstrates deployment scenario for FPGA
preprogrammed mode. It uses Docker as a runtime to show that
CRI-O is not required in this mode.
2020-06-30 17:02:05 +03:00
linjiach
10ce71943e Add new fpga opencl demo screencast, update thumbnail image and size
update fpga screencast link

squash commits for PR
2020-06-29 23:08:47 +00:00
Dmitry Rozhkov
7177409f19 fpga webhook: rework deployment to use kustomize
Contributes to #318
2020-06-23 15:53:36 +03:00
Mikko Ylinen
de529da631 demo: opae-nlb-demo: restore Clear Linux workaround
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-06-01 10:50:32 +03:00
Mikko Ylinen
7edff849f1 demo: add ipp-crypto to OpenSSL QAT Engine
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-05-05 22:50:24 +03:00
Mikko Ylinen
44f390b2ca demo: update OpenSSL QAT versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-05-05 22:50:24 +03:00
Alek Du
296b99e049 ubuntu-demo-openvino: use apt source instead of tar ball downloading
Openvino 2020 repo now has hddl package support. We should leverage that.

Signed-off-by: Alek Du <alek.du@intel.com>
2020-04-17 14:10:48 +08:00
Alek Du
caa64516a7 ubuntu-demo-openvino: upgrade to openvino R4 release to align with OVC
OVC upgraded hddldaemon to use R4, so we should do so too.
also change the openvino tgz file download from "ADD" to curl to leverage
the docker build cache.

Signed-off-by: Alek Du <alek.du@intel.com>
2020-03-18 16:12:47 +08:00
Mikko Ylinen
3ca0978c1d
openssl-qat-engine: update QAT stack versions (#304)
* openssl-qat-engine: update QAT stack versions

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-03-16 19:37:31 +02:00
Mikko Ylinen
3b9c57656d images: make os-core install implicit
swupd os-install fails (clearlinux/swupd-client/issues/1369) if
"--bundles=os-core" is used. It was confirmed that os-core is
always installed first regardless of what other --bundles are
specified.

To get the builds working, we move to rely on that implicit os-core
install.

Fixes: #330

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-03-12 18:55:01 +02:00
Dmitry Rozhkov
b9e0364f40 demo: fix image name for GPU job 2020-02-13 14:56:12 +02:00
Alek Du
887e56e780 VPU: Add Intel Movidius MyriadX VPU plugin support
This patch is to support Intel VCAC-A card (with MyriadX 2485 VPUs), for other
later on VPUs, we will reuse this plugin and add support.

VCAC-A board info is at:
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/media-analytics-vcac-a-accelerator-card-by-celestica-datasheet.pdf

Also add openvino HDDL VPU demo for Intel VCAC-A card.

Signed-off-by: Alek Du <alek.du@intel.com>
2020-01-28 23:17:50 +08:00
Ed Bartosh
15ce126817 fpga: update screencast to work with both kernel drivers
Made the screencast to work with OPAE and DFL kernel drivers.
2020-01-16 18:39:03 +02:00
Dmitry Rozhkov
4e2855dc0f
Merge pull request #247 from bart0sh/PR0068-opae-1.4.0-1
Upgrade OPAE to v1.4.0-1
2020-01-16 16:09:44 +02:00
Dmitry Rozhkov
857af6e2a9
Merge pull request #246 from bart0sh/PR0069-fix-opae-nlb-demo-build
Fix opae-demo-nlb build
2020-01-15 11:04:48 +02:00
Ed Bartosh
14729fb1a9 Upgrade OPAE to v1.4.0-1 2020-01-15 11:01:25 +02:00
Ed Bartosh
aeaaeb7265 fpga: update demo screencast
- removed image building screens
- used DFL setup
- used k8s 1.17, OPAE 1.4 and crio 1.16.1
- added bitstream storage screen
2020-01-14 16:26:29 +02:00
Ed Bartosh
69bb5c42cb Fix opae-demo-nlb build
- Removed Sphynx from the list of bundles as it brings python-basic3,
  which triggers this exception:

Step 9/18 : RUN cd /usr/src/opae/opae-sdk-${OPAE_RElEASE} &&     patch -p1 < 0001-OPAE-in-containers-don-t-enumerate-missing-device.patch &&     mkdir build &&     cd build &&     cmake .. -DBUILD_ASE=0 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=true &&     make xfpga nlb0 nlb3
...
-- Found Sphinx: /usr/sbin/sphinx-build
-- Found PythonInterp: /usr/sbin/python (found suitable version "3.8.1", minimum required is "2.7")
-- Found Perl: /usr/sbin/perl (found version "5.28.2")
-- Found PythonInterp: /usr/sbin/python (found version "3.8.1")
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/platforms/scripts/afu_platform_config_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/platforms/scripts/afu_platform_info_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/tools/extra/packager/packager_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/tools/extra/packager/afu_json_mgr_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/tools/extra/fpgadiag/fpgalpbk_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/tools/extra/fpgadiag/mactest_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/src/opae/opae-sdk-1.3.2-1/build/tools/extra/fpgadiag/fpgastats_main/do_zip.py", line 8, in <module>
    wr_buf.write('#!/usr/bin/env python' + os.linesep)
TypeError: a bytes-like object is required, not 'str'
2020-01-14 12:18:07 +02:00
Hector Augusto Garcia Baleon
1e8719cebc fpga: Install content in /usr/local for the nlb-demo
Signed-off-by: Hector Augusto Garcia Baleon <hector.augusto.garcia.baleon@intel.com>
2019-12-18 08:56:55 -06:00
Mikko Ylinen
e6524eaada images: drop SRCREV tag
The SRCREV tag becomes a RepoTag we end up having those tags in the
registry too.

To keep the registry clean, drop SRCREV tags.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-11-01 14:43:48 +02:00
Ubuntu
4f28657b6b fpga: fixed documentation and demo 2019-09-10 19:30:20 -05:00
Mikko Ylinen
f596fc593f demo: rename clearlinux-demo-opae to opae-nlb-demo
opae-nlb-demo name is more descriptive about the content and becomes
base image agnostic.

Also, set ENTRYPOINT similar to what we did with other images
and deployment files.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-09-06 21:28:59 +03:00
Alexander D. Kanevskiy
0cda452c41
Merge pull request #207 from mythi/lock-versions
Prepare for image publishing
2019-08-29 15:24:23 +03:00
Ed Bartosh
570297736a
Merge pull request #211 from kad/opae-multiple-devices
Fix OPAE library to work with multiple cards
2019-08-29 14:01:13 +03:00
Mikko Ylinen
d06f98690f images: tag with intel prefix
In preparations to get some of the images to hub.docker.com/intel,
start using intel/ prefix.

Moreover, set the Makefile variables so that the images built
by make [images|demos] can easily be pushed to any registry/org
by 'docker push' (e.g., by Jenkins).

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-29 13:21:19 +03:00
Alexander Kanevskiy
37fe284568 Fix OPAE library to work with multiple cards
On the host with multiple cards installed it might be case
that not all of them are exposed to the container.
Fix OPAE library to ignore devices that are not available.
2019-08-28 20:05:59 +03:00
Ed Bartosh
a2a4ef7cce fpga: update mapping collection
- Ordered collection in DCP release/region/afus order for simpler
maintenance.

- Got rid of ambiguous entries without dcp releases, e.g. Arria10,
Arria10-nlb3 etc.
2019-08-26 15:13:37 +03:00
Mikko Ylinen
04be52e0a1 fpga: move to clearlinux based images
Switch to clearlinux based image and rootfs and add
enablers to make builds reproducible.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-24 18:27:39 +03:00
Alexander Kanevskiy
186ec6613c FPGA: migrate to ClearLinux environment
- Migrate to OPAE 1.3.2
- Build all the tools from the source
- ignore files in workspace
- minimal fpga_tool utility to check gbs/aocx file parsing and flashing
- implemented kernel IOCTL based flashing of bitstreams
- add PCI and sysfs functions
2019-08-24 02:55:19 +03:00
Mikko Ylinen
e1399b5947 crypto-perf: move to clearlinux:base and add QAT test cases
Clear Linux enables DPDK QAT PMD so we can move to use everything from
there. This saves maintenance efforts and we get more up-to-date DPDK.
The DPDK version in this update gives a tool for compress perf too, for
instance.

The commit also adds kustomize scripts that overlay the original DPDK
demo deployment to run dpdk-test-[compress|crypto|-perf test cases:

$ kubectl apply -k deployments/qat_dpdk_app/test-compress1/
$ kubectl apply -f deployments/qat_dpdk_app/test-crypto1/

New test cases ('ptest's with varying parameters) can be easily added
by following the pattern in test-[crypto|compress]1 directories.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-20 22:01:44 +03:00
Mikko Ylinen
832e4aaf3c crypto-perf: add kustomization and move to deployments
We plan to use crypto-perf for simple QAT testing. This commit adds
kustomization to make the deployment easier. The original .yaml is
also moved to deployments/ with some changes.

For instance, it turns out also vfio-pci mode with DPDK needs CAP_SYS_ADMIN
(See PR: #187 which states that only igb_uio would need it).

kustomize is available part of kubectl since kubernetes v1.14.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-20 22:01:44 +03:00
Mikko Ylinen
32a0a4fd70 demo: openssl-qat-engine: move to clearlinux based images
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-20 16:07:12 +03:00
Mikko Ylinen
b8f6b8d415 demo: update OpenSSL QAT engine and QAT HAL versions in containers
Also, move from ENV to ARG to be able to override the versions
using --build-arg option.

Note: releases qat1.7.l.4.3.0-00033 and older do not have consistent
download URLs so wget'ing those will fail from this commit onwards.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-07-23 14:55:17 +03:00
Dmitry Rozhkov
f4ddb118ef
Merge pull request #188 from mythi/dockerfile-update
demo: update OpenSSL QAT engine version in containers
2019-06-14 10:03:57 +03:00
Mikko Ylinen
511c6a13bd demo: update OpenSSL QAT engine version in containers
v0.5.41 QAT_Engine allows us to drop pulling external openssl
git repository.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-06-13 19:01:39 +03:00
Mikko Ylinen
08a079ead2 crypto-perf: use IPC_LOCK to ensure mmap() works
Change SYS_ADMIN to IPC_LOCK capability to ensure DPDK gets to mmap() hugepages.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-06-12 07:31:01 +03:00