Skip to content

Commit

Permalink
Fix Intel QAT / ZFS compatibility on v4.7.1+ kernels
Browse files Browse the repository at this point in the history
This change use the compat code introduced in 9cc1844.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #9268 
Closes #9269
  • Loading branch information
loli10K authored and behlendorf committed Sep 3, 2019
1 parent 1e52716 commit 6988f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion module/zfs/qat_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ qat_compress(qat_compress_dir_t dir, char *src, int src_len,
}

static int
param_set_qat_compress(const char *val, struct kernel_param *kp)
param_set_qat_compress(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;
Expand Down
4 changes: 2 additions & 2 deletions module/zfs/qat_crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ qat_checksum(uint64_t cksum, uint8_t *buf, uint64_t size, zio_cksum_t *zcp)
}

static int
param_set_qat_encrypt(const char *val, struct kernel_param *kp)
param_set_qat_encrypt(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;
Expand All @@ -600,7 +600,7 @@ param_set_qat_encrypt(const char *val, struct kernel_param *kp)
}

static int
param_set_qat_checksum(const char *val, struct kernel_param *kp)
param_set_qat_checksum(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;
Expand Down

0 comments on commit 6988f3e

Please sign in to comment.