Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

7 changed files with 78 additions and 17 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/qatlib-23.11.0.tar.gz
/qatlib-*.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -3,15 +3,15 @@
%global libqat_soversion 4
%global libusdm_soversion 0
Name: qatlib
Version: 23.11.0
Version: 24.09.0
Release: 1%{?dist}
Summary: Intel QuickAssist user space library
# The entire source code is released under BSD.
# For a breakdown of inbound licenses see the INSTALL file.
License: BSD and (BSD or GPLv2)
License: BSD-3-Clause AND ( BSD-3-Clause OR GPL-2.0-only )
URL: https://github.com/intel/%{name}
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm numactl-devel
Requires(pre): shadow-utils
Recommends: qatlib-service
# https://bugzilla.redhat.com/show_bug.cgi?id=1897661
@ -47,6 +47,7 @@ This package contains sample applications that use the Intel QuickAssists APIs.
%package service
Summary: A daemon for qatlib resources management
Requires: pciutils
Requires: %{name}%{?_isa} = %{version}-%{release}
%{?systemd_requires}
@ -119,6 +120,7 @@ exit 0
%attr(0754,-,qat) %{_bindir}/prime_sample
%attr(0754,-,qat) %{_bindir}/hkdf_sample
%attr(0754,-,qat) %{_bindir}/ec_montedwds_sample
%attr(0754,-,qat) %{_bindir}/zuc_sample
%{_datadir}/qat/calgary
%{_datadir}/qat/calgary32
%{_datadir}/qat/canterbury
@ -131,37 +133,60 @@ exit 0
%{_mandir}/man8/qat_init.sh.8*
%changelog
* Tue Oct 01 2024 Vladis Dronov <vdronov@redhat.com> - 24.09.0-1
- Update to qatlib 24.09.0 @ 36fb0903 (RHEL-40255)
- Add pciutils as a dependency of the qatlib-service subpackage
- Add numactl-devel as a dependency since it is required by qatlib-24.09.0
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 24.02.0-1
- Update to qatlib 24.02.0 (RHEL-20174)
- Add zuc_sample to qatlib-tests package
- Use proper SPDX license identifiers
* Mon Nov 20 2023 Vladis Dronov <vdronov@redhat.com> - 23.11.0-1
- Update to qatlib 23.11.0 (RHEL-15641)
- Update to qatlib 23.11.0 (RHEL-15639)
- Add chaining_sample to qatlib-tests package
* Fri Mar 03 2023 Vladis Dronov <vdronov@redhat.com> - 23.02.0-1
- Update to qatlib 23.02.0 (bz 2084283)
- Update to qatlib 23.02.0 (bz 2084227)
* Fri Jul 22 2022 Vladis Dronov <vdronov@redhat.com> - 22.07.0-1
- Update to qatlib 22.07 (bz 2040743)
- Update to qatlib 22.07 (bz 2040744)
- Moved qat.service to separate rpm
* Thu Nov 11 2021 Vladis Dronov <vdronov@redhat.com> - 21.11.0-1
- Update to qatlib 21.11 (bz 1960303)
- Update to qatlib 21.11 (bz 2012939)
- Add qatlib-tests package
- Add OSCI testing harness
* Fri Aug 27 2021 Vladis Dronov <vdronov@redhat.com> - 21.05.0-2
- Add documentation files to the main package
* Mon Aug 16 2021 Vladis Dronov <vdronov@redhat.com> - 21.05.0-1
- Update to qatlib 21.05 with openssl-3 support (bz 1920444, bz 1953498)
- Add documentation files to a package
* Tue Jun 8 2021 Vladis Dronov <vdronov@redhat.com> - 21.05.0-1
- Update to qatlib 21.05 (bz 1920237)
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 20.10.0-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Feb 9 2021 Vladis Dronov <vdronov@redhat.com> - 20.10.0-3
- Add OSCI testing harness (bz 1907482)
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 20.10.0-6
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
* Mon Dec 14 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-2
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20.10.0-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 20.10.0-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 14 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-2
- Add ExcludeArch i686
* Mon Nov 16 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-1
* Mon Nov 16 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-1
- Update to qatlib 20.10
- Fixes to spec to address comments from Fedora review
* Mon Aug 10 2020 Mateusz Polrola <mateuszx.potrola@intel.com> - 20.08.0-1
* Mon Aug 10 2020 Mateusz Polrola <mateuszx.potrola@intel.com> - 20.08.0-1
- Initial version of the package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (qatlib-24.09.0.tar.gz) = 1acda7bbfbe1634c4876f90113e80d0c6f54a92276bdeca30fe6e1d91e5a9a82133e3ead405109926906422efeeb59f078093f425198dac7a132ff774b95623f

13
tests/README Normal file
View File

@ -0,0 +1,13 @@
these tests should be configured as BaseOS CI tests (not as OSCI tests), as
they require an x86_64 machine with QAT_4XXX (or later) hardware, so should
be run in Beaker.
see: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests
and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084
and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test
see https://bugzilla.redhat.com/show_bug.cgi?id=1725444#c31 for the details.
QATlib includes some sample codes that can be used to do a sanity check.
However they require a platform with QAT_4XXX. The sample codes reside now
in qatlib-tests package in CRB. You can use cpa_sample_code for a general
sanity test.

6
tests/nulltest.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# we cannot the this since there is no machine with QAT_4XXX hardware in Beaker as of now
# Intel promised us to provide OtherQA for qatlib, qatengine and QAT kernel patchsets
echo QATLIB nulltest is PASS
exit 0

10
tests/tests.yml Normal file
View File

@ -0,0 +1,10 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- nulltest:
dir: .
run: nulltest.sh