]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify checksum obtain method of QAT
authorhedongzhang <h_d_zhang@163.com>
Tue, 3 Aug 2021 17:46:33 +0000 (01:46 +0800)
committerTony Hutter <hutter2@llnl.gov>
Tue, 14 Sep 2021 21:29:46 +0000 (14:29 -0700)
commitddb732e2c8aacc62615887af13795fad0fa01943
treeb71a64c3a78a35d5451428f5103972567356735d
parent451d6da98838a570a9a1b8607c02802462999c28
Modify checksum obtain method of QAT

CpaDcGeneratefooter function that obtain the checksum code
does not support the CPA_DC_STATELESS mode. So we get the
adler32 chencksum of the end of the zlib from dc_results.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chengfei Zhu <chengfeix.zhu@intel.com>
Signed-off-by: hedong.zhang <h_d_zhang@163.com>
Closes #12343
module/os/linux/zfs/qat_compress.c