aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-11-05 15:55:23 +0000
committerMark Johnston <markj@FreeBSD.org>2020-11-05 15:55:23 +0000
commit72143e89bb430c3b1406b399b810806904f6c882 (patch)
tree53bdf1de310fd9fbfa5e1bdf4a88997f1cce732c /sys/modules
parent2dee296a3d67da017ab81cab010a55b098a8daa1 (diff)
Add qat(4)
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
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/qat/Makefile19
2 files changed, 21 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b0feddbad301..58cdf5071436 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -300,6 +300,7 @@ SUBDIR= \
pty \
puc \
pwm \
+ ${_qat} \
${_qlxge} \
${_qlxgb} \
${_qlxgbe} \
@@ -630,6 +631,7 @@ _ntb= ntb
_ocs_fc= ocs_fc
_ossl= ossl
_pccard= pccard
+_qat= qat
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_rdma= rdma
.endif
diff --git a/sys/modules/qat/Makefile b/sys/modules/qat/Makefile
new file mode 100644
index 000000000000..57301b5b78e3
--- /dev/null
+++ b/sys/modules/qat/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/dev/qat
+
+KMOD= qat
+
+SRCS= qat.c \
+ qat_ae.c \
+ qat_c2xxx.c \
+ qat_c3xxx.c \
+ qat_c62x.c \
+ qat_d15xx.c \
+ qat_dh895xcc.c \
+ qat_hw15.c \
+ qat_hw17.c
+
+SRCS+= bus_if.h cryptodev_if.h device_if.h pci_if.h
+
+.include <bsd.kmod.mk>