summaryrefslogtreecommitdiff
path: root/sys/dev/qat
Commit message (Collapse)AuthorAgeFilesLines
* qat: Address -Wunused-but-set-variable warningsMark Johnston2021-12-272-23/+4
| | | | (cherry picked from commit 8fcf230c1377c4598a7aa6560ec43ff46662fbaa)
* qat: Make prototypes consistent with the implementationMark Johnston2021-04-121-2/+2
| | | | | | Sponsored by: The FreeBSD Foundation (cherry picked from commit 843d16436d3388c1b46d37fca4e86885612d0e64)
* qat: Add support for separate AAD and output buffersMark Johnston2021-02-035-100/+281
| | | | | | Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit bd674d8b1fa808dff1afdcb6afc70226077ee78a)
* qat: Free counters during detachMark Johnston2021-01-141-0/+5
| | | | | MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate)
* qat: Count request allocation failuresMark Johnston2021-01-142-0/+6
| | | | | | | This can be useful for troubleshooting performance problems. MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate)
* qat: Fix DH895XCC firmware module autoloadingMark Johnston2021-01-141-1/+1
| | | | | MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate)
* qat: quiet -Wredundant-declsRyan Libby2020-12-111-2/+0
| | | | | | | | | Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27554 Notes: svn path=/head/; revision=368564
* qat: Initialize the crypto device ID to -1 instead of 0Mark Johnston2020-11-301-0/+1
| | | | | | | | | | | | Otherwise qat_detach() may attempt to deregister an unrelated crypto driver if an error occurs in qat_attach() before crypto_get_driverid() is called, since 0 is a valid driver ID. MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=368194
* qat: Fix firmware module autoloadingMark Johnston2020-11-305-5/+5
| | | | | | | | | | | | | | | | | | | | If firmware_get() fails to find a loaded firmware image, it searches for candidate KLDs to load. It will search for a KLD containing a module with the same name as the requested image, and failing that, will load a KLD with the same basename as the requested image. The module name given by fw_stub.awk is simply "<mangled KLD name>_fw". QAT firmware modules contain two images, neither of which match either of the names used during lookup, so automatic loading of firmware images after mountroot does not work. Work around this by using the same string for the first image name and for the KLD basename. MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=368193
* qat: Fix nits reported by CoverityMark Johnston2020-11-123-12/+12
| | | | | | | | MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Notes: svn path=/head/; revision=367617
* Add qat(4)Mark Johnston2020-11-0521-0/+15509
This provides an OpenCrypto driver for Intel QuickAssist devices. The driver was initially ported from NetBSD and comes with a few improvements: - support for GMAC/AES-GCM, AES-CTR and AES-XTS, and support for SHA/HMAC-authenticated encryption - support for detaching the driver - various bug fixes - DH895X support Discussed with: jhb MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Differential Revision: https://reviews.freebsd.org/D26963 Notes: svn path=/head/; revision=367386