<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/qat/qat_api/common, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>qat: driver updates to improve code and fix bugs</title>
<updated>2025-06-06T13:43:54+00:00</updated>
<author>
<name>Hareshx Sankar Raj</name>
<email>hareshx.sankar.raj@intel.com</email>
</author>
<published>2025-05-07T09:38:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ded037e65e5239671b1292ec987a2e0894b217b5'/>
<id>ded037e65e5239671b1292ec987a2e0894b217b5</id>
<content type='text'>
Bug fixes and improvements are done for the qat code base
to improve code quality.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug fixes and improvements are done for the qat code base
to improve code quality.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: reimplement cpaCyGetXXXInstances as a wrapper</title>
<updated>2025-06-06T13:43:42+00:00</updated>
<author>
<name>Hareshx Sankar Raj</name>
<email>hareshx.sankar.raj@intel.com</email>
</author>
<published>2025-05-01T05:53:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e745eee59c821c1d8ae7f5b25dfbdf0049b4787c'/>
<id>e745eee59c821c1d8ae7f5b25dfbdf0049b4787c</id>
<content type='text'>
Currently code from sal_instances.c and sal_crypto.c
for getting cy instances or number of instances is duplicated.

This commit replaces cpaCyGetXXXInstances implementation with
Lac_GetCyXXXInstancesByType invocation.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently code from sal_instances.c and sal_crypto.c
for getting cy instances or number of instances is duplicated.

This commit replaces cpaCyGetXXXInstances implementation with
Lac_GetCyXXXInstancesByType invocation.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: fix typos and formatting issues</title>
<updated>2025-06-06T13:42:31+00:00</updated>
<author>
<name>Hareshx Sankar Raj</name>
<email>hareshx.sankar.raj@intel.com</email>
</author>
<published>2025-04-29T23:13:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25f09d4a9c358c5452435d299e00c1a1bdafff87'/>
<id>25f09d4a9c358c5452435d299e00c1a1bdafff87</id>
<content type='text'>
Multiple typos are corrected across the source code.
Formatting corrections are done to improve code quality
and maintainability. Some files which did not have proper
Copyright license are updated.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple typos are corrected across the source code.
Formatting corrections are done to improve code quality
and maintainability. Some files which did not have proper
Copyright license are updated.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix enum warnings in qat</title>
<updated>2024-07-31T19:31:55+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2024-07-31T12:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=357378bbdedf24ce2b90e9bd831af4a9db3ec70a'/>
<id>357378bbdedf24ce2b90e9bd831af4a9db3ec70a</id>
<content type='text'>
This fixes a number of clang 19 warnings:

    sys/dev/qat/qat_api/common/compression/dc_session.c:154:15: error: comparison of different enumeration types ('enum _CpaBoolean' and 'icp_qat_hw_compression_delayed_match_t') [-Werror,-Wenum-compare]
      154 |         if (CPA_TRUE == pService-&gt;comp_device_data.enableDmm) {
          |             ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sys/dev/qat/qat_api/common/compression/dc_session.c:285:17: error: comparison of different enumeration types ('enum _CpaBoolean' and 'icp_qat_hw_compression_delayed_match_t') [-Werror,-Wenum-compare]
      285 |                     (CPA_TRUE == pService-&gt;comp_device_data.enableDmm) ?
          |                      ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The `enableDmm` field of variable `comp_device_data` is of type
`icp_qat_hw_compression_delayed_match_t`, not `CpaBoolean`. In this
case, we can seamlessly replace the value with
`ICP_QAT_HW_COMPRESSION_DELAYED_MATCH_ENABLED`, which is numerically
equal to `CPA_TRUE`.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a number of clang 19 warnings:

    sys/dev/qat/qat_api/common/compression/dc_session.c:154:15: error: comparison of different enumeration types ('enum _CpaBoolean' and 'icp_qat_hw_compression_delayed_match_t') [-Werror,-Wenum-compare]
      154 |         if (CPA_TRUE == pService-&gt;comp_device_data.enableDmm) {
          |             ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sys/dev/qat/qat_api/common/compression/dc_session.c:285:17: error: comparison of different enumeration types ('enum _CpaBoolean' and 'icp_qat_hw_compression_delayed_match_t') [-Werror,-Wenum-compare]
      285 |                     (CPA_TRUE == pService-&gt;comp_device_data.enableDmm) ?
          |                      ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The `enableDmm` field of variable `comp_device_data` is of type
`icp_qat_hw_compression_delayed_match_t`, not `CpaBoolean`. In this
case, we can seamlessly replace the value with
`ICP_QAT_HW_COMPRESSION_DELAYED_MATCH_ENABLED`, which is numerically
equal to `CPA_TRUE`.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Intel 4xxx Series driver API extension</title>
<updated>2023-09-06T14:00:59+00:00</updated>
<author>
<name>Piotr Kasierski</name>
<email>piotrx.kasierski@intel.com</email>
</author>
<published>2023-09-06T13:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=22cf89c938886d14f5796fc49f9f020c23ea8eaf'/>
<id>22cf89c938886d14f5796fc49f9f020c23ea8eaf</id>
<content type='text'>
This commit introduces:
- Quick Assist API update for partial decompress and zero padding.
- Refactor of UIO locking.
- VF driver hotplug fix.
- Minor code style fixes for firmware API.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D41613
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit introduces:
- Quick Assist API update for partial decompress and zero padding.
- Refactor of UIO locking.
- VF driver hotplug fix.
- Minor code style fixes for firmware API.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D41613
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-16T17:54:24+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71625ec9ad2a9bc8c09784fbd23b759830e0ee5f'/>
<id>71625ec9ad2a9bc8c09784fbd23b759830e0ee5f</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Add Intel® 4xxx Series VF driver support</title>
<updated>2023-06-12T17:44:01+00:00</updated>
<author>
<name>Krzysztof Zdziarski</name>
<email>krzysztofx.zdziarski@intel.com</email>
</author>
<published>2023-06-12T17:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=266b0663c598b7e50c2998974c16f89b7ac23e3a'/>
<id>266b0663c598b7e50c2998974c16f89b7ac23e3a</id>
<content type='text'>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series VF driver support.
- Device configurability via sysctls.
- UIO support for Intel® 4xxx Series devices.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D39850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series VF driver support.
- Device configurability via sysctls.
- UIO support for Intel® 4xxx Series devices.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D39850
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Fixed Coverity reported issue</title>
<updated>2023-02-01T16:02:08+00:00</updated>
<author>
<name>Krzysztof Zdziarski</name>
<email>krzysztofx.zdziarski@intel.com</email>
</author>
<published>2023-02-01T15:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c0a4a7bb942fd3302f0093e4353820916d3661d1'/>
<id>c0a4a7bb942fd3302f0093e4353820916d3661d1</id>
<content type='text'>
This patch provides fixes for following Coverity issues:
CID 1504073
CID 1504075
CID 1504076
CID 1504077

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Fixes:		a977168c48d4 ("qat: Add Intel® 4xxx Series platform support")
Reviewed by:	markj
Sponsored by:   Intel Corporation
Differential Revision: https://reviews.freebsd.org/D38339
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch provides fixes for following Coverity issues:
CID 1504073
CID 1504075
CID 1504076
CID 1504077

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Fixes:		a977168c48d4 ("qat: Add Intel® 4xxx Series platform support")
Reviewed by:	markj
Sponsored by:   Intel Corporation
Differential Revision: https://reviews.freebsd.org/D38339
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Add Intel® 4xxx Series platform support</title>
<updated>2023-01-24T15:33:50+00:00</updated>
<author>
<name>Michal Gulbicki</name>
<email>michalx.gulbicki@intel.com</email>
</author>
<published>2023-01-24T14:31:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a977168c48d45085cdf0c40f9b9bde3850b1f3ea'/>
<id>a977168c48d45085cdf0c40f9b9bde3850b1f3ea</id>
<content type='text'>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series platform support.
- QuickAssist kernel API implementation update for Generation 4 device.
  Enabled services: symmetric cryptography and data compression.
- Increased default number of crypto instances in static configuration
  for performance purposes.

OCF backend changes:
- changed GCM/CCM MAC validation policy to generate MAC by HW
  and validate by SW due to the QAT HW limitations.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Sponsored by:	Intel Corporation
Reviewed by:	markj, jhb
Differential Revision:	https://reviews.freebsd.org/D36254
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series platform support.
- QuickAssist kernel API implementation update for Generation 4 device.
  Enabled services: symmetric cryptography and data compression.
- Increased default number of crypto instances in static configuration
  for performance purposes.

OCF backend changes:
- changed GCM/CCM MAC validation policy to generate MAC by HW
  and validate by SW due to the QAT HW limitations.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Sponsored by:	Intel Corporation
Reviewed by:	markj, jhb
Differential Revision:	https://reviews.freebsd.org/D36254
</pre>
</div>
</content>
</entry>
<entry>
<title>qat(4): Fix common typos in source code comments</title>
<updated>2023-01-11T12:27:56+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2023-01-11T12:27:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c07d6445eb89d9dd3950361b065b7bd110e3a043'/>
<id>c07d6445eb89d9dd3950361b065b7bd110e3a043</id>
<content type='text'>
- s/desciptor/descriptor/

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/desciptor/descriptor/

MFC after:	3 days
</pre>
</div>
</content>
</entry>
</feed>
