]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/qat.c
SHA256 QAT acceleration
authorTom Caputi <tcaputi@datto.com>
Thu, 15 Mar 2018 17:53:58 +0000 (13:53 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Mar 2018 17:53:58 +0000 (10:53 -0700)
commit38742209322b5b3d93635a4820b2f9c755aadee8
tree166b15847cb283cb710e93c73933fc0279cbcce5
parent8a2a9db8df7d421aedeababf7b1ecbb51642f16c
SHA256 QAT acceleration

This patch enables acceleration of SHA256 checksums using Intel
Quick Assist Technology. This patch also fixes up and refactors
some of the code from QAT encryption to make the behavior
consistent.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chengfeix Zhu <chengfeix.zhu@intel.com>
Signed-off-by: Weigang Li <weigang.li@intel.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7295
module/zfs/qat.c
module/zfs/qat.h
module/zfs/qat_compress.c
module/zfs/qat_crypt.c
module/zfs/sha256.c