]> git.ipfire.org Git - thirdparty/zstd.git/commit
[linux] Expose ZSTD_compressSequencesAndLiterals() in the kernel 4260/head
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Tue, 21 Jan 2025 18:52:46 +0000 (18:52 +0000)
committerGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Mon, 27 Jan 2025 15:24:22 +0000 (15:24 +0000)
commit92be4be8102eecedaa0d2a7c65b2d1088e01622a
treeebb1ee55ab33102880ff7837b44ce90cf9713e52
parentab54285129cdeb6f1e80f9b704e05b0cf40025bb
[linux] Expose ZSTD_compressSequencesAndLiterals() in the kernel

Make the function ZSTD_compressSequencesAndLiterals() available in kernel
space. This will be used by Intel QAT driver.

Additionally, (1) expose the function ZSTD_CCtx_setParameter(), which is
required to set parameters before calling ZSTD_compressSequencesAndLiterals(),
(2) update the build process to include `compress/zstd_preSplit.o` and
(3) replace `asm/unaligned.h` with `linux/unaligned.h`.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
contrib/linux-kernel/linux.mk
contrib/linux-kernel/linux_zstd.h
contrib/linux-kernel/mem.h
contrib/linux-kernel/test/include/linux/unaligned.h [moved from contrib/linux-kernel/test/include/asm/unaligned.h with 100% similarity]
contrib/linux-kernel/test/include/linux/xxhash.h
contrib/linux-kernel/zstd_compress_module.c