Fix enum warnings in qatThis 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 _CpaBoolea
Fix enum warnings in qatThis 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->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->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 thiscase, we can seamlessly replace the value with`ICP_QAT_HW_COMPRESSION_DELAYED_MATCH_ENABLED`, which is numericallyequal to `CPA_TRUE`.MFC after: 3 days
show more ...
qat: Intel 4xxx Series driver API extensionThis commit introduces:- Quick Assist API update for partial decompress and zero padding.- Refactor of UIO locking.- VF driver hotplug fix.- Minor cod
qat: Intel 4xxx Series driver API extensionThis 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 <krzysztofx.zdziarski@intel.com>Patch co-authored by: Michal Gulbicki <michalx.gulbicki@intel.com>Patch co-authored by: Piotr Kasierski <piotrx.kasierski@intel.com>Patch co-authored by: Karol Grzadziel <karolx.grzadziel@intel.com>Sponsored by: Intel CorporationMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D41613
sys: Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
qat: Add Intel® 4xxx Series VF driver supportOverview:Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardwareacceleration for offloading security, authentication and compressionservices
qat: Add Intel® 4xxx Series VF driver supportOverview:Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardwareacceleration for offloading security, authentication and compressionservices from the CPU, thus significantly increasing the performance andefficiency 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 <krzysztofx.zdziarski@intel.com>Patch co-authored by: Michal Gulbicki <michalx.gulbicki@intel.com>Patch co-authored by: Julian Grajkowski <julianx.grajkowski@intel.com>Patch co-authored by: Piotr Kasierski <piotrx.kasierski@intel.com>Patch co-authored by: Lukasz Kolodzinski <lukaszx.kolodzinski@intel.com>Patch co-authored by: Karol Grzadziel <karolx.grzadziel@intel.com>Sponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D39850
qat: Fixed Coverity reported issueThis patch provides fixes for following Coverity issues:CID 1504073CID 1504075CID 1504076CID 1504077Patch co-authored by: Krzysztof Zdziarski <krzysztofx.zdz
qat: Fixed Coverity reported issueThis patch provides fixes for following Coverity issues:CID 1504073CID 1504075CID 1504076CID 1504077Patch co-authored by: Krzysztof Zdziarski <krzysztofx.zdziarski@intel.com>Patch co-authored by: Michal Gulbicki <michalx.gulbicki@intel.com>Patch co-authored by: Julian Grajkowski <julianx.grajkowski@intel.com>Patch co-authored by: Piotr Kasierski <piotrx.kasierski@intel.com>Patch co-authored by: Lukasz Kolodzinski <lukaszx.kolodzinski@intel.com>Patch co-authored by: Karol Grzadziel <karolx.grzadziel@intel.com>Fixes: a977168c48d4 ("qat: Add Intel® 4xxx Series platform support")Reviewed by: markjSponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D38339
qat: Add Intel® 4xxx Series platform supportOverview:Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardwareacceleration for offloading security, authentication and compressionservices
qat: Add Intel® 4xxx Series platform supportOverview:Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardwareacceleration for offloading security, authentication and compressionservices from the CPU, thus significantly increasing the performance andefficiency 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 <krzysztofx.zdziarski@intel.com>Patch co-authored by: Michal Jaraczewski <michalx.jaraczewski@intel.com>Patch co-authored by: Michal Gulbicki <michalx.gulbicki@intel.com>Patch co-authored by: Julian Grajkowski <julianx.grajkowski@intel.com>Patch co-authored by: Piotr Kasierski <piotrx.kasierski@intel.com>Patch co-authored by: Adam Czupryna <adamx.czupryna@intel.com>Patch co-authored by: Konrad Zelazny <konradx.zelazny@intel.com>Patch co-authored by: Katarzyna Rucinska <katarzynax.kargol@intel.com>Patch co-authored by: Lukasz Kolodzinski <lukaszx.kolodzinski@intel.com>Patch co-authored by: Zbigniew Jedlinski <zbigniewx.jedlinski@intel.com>Sponsored by: Intel CorporationReviewed by: markj, jhbDifferential Revision: https://reviews.freebsd.org/D36254
qat: Import a new Intel (R) QAT driverQAT in-tree driver ported from out-of-tree release availablefrom 01.org.The driver exposes complete cryptography and data compressionAPI in the kernel and
qat: Import a new Intel (R) QAT driverQAT in-tree driver ported from out-of-tree release availablefrom 01.org.The driver exposes complete cryptography and data compressionAPI in the kernel and integrates with Open Crypto Framework.Details of supported operations, devices and usage can be foundin man and on 01.org.Patch co-authored by: Krzysztof Zdziarski <krzysztofx.zdziarski@intel.com>Patch co-authored by: Michal Jaraczewski <michalx.jaraczewski@intel.com>Patch co-authored by: Michal Gulbicki <michalx.gulbicki@intel.com>Patch co-authored by: Julian Grajkowski <julianx.grajkowski@intel.com>Patch co-authored by: Piotr Kasierski <piotrx.kasierski@intel.com>Patch co-authored by: Adam Czupryna <adamx.czupryna@intel.com>Patch co-authored by: Konrad Zelazny <konradx.zelazny@intel.com>Patch co-authored by: Katarzyna Rucinska <katarzynax.kargol@intel.com>Patch co-authored by: Lukasz Kolodzinski <lukaszx.kolodzinski@intel.com>Patch co-authored by: Zbigniew Jedlinski <zbigniewx.jedlinski@intel.com>Reviewed by: markj, jhb (OCF integration)Reviewed by: debdrup, pauamma (docs)Sponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D34632