diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-06-22 16:17:58 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-06-24 20:22:24 +0200 |
commit | bb93b710691e52f8612cdcb13b9e8ccde128771d (patch) | |
tree | c9d804bc7072ecf4daf46497e608d784259f26e0 /target/linux/apm821xx | |
parent | e15049c88b917d1f9f75ed095f59f1dc6d69501c (diff) | |
download | upstream-bb93b710691e52f8612cdcb13b9e8ccde128771d.tar.gz upstream-bb93b710691e52f8612cdcb13b9e8ccde128771d.tar.bz2 upstream-bb93b710691e52f8612cdcb13b9e8ccde128771d.zip |
apm821xx: switch out kernel's CRC32 method
This patch replaces the OpenWrt' favoured
CRC32 Sarwate algorithm with the kernel
recommended SLICE8 CRC32 version.
This change alone lifted btrfs writes from 40 MiB/s
to 54 MiB/s on my My Book Live (SLICE4 managed 48 MiB/s).
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx')
-rw-r--r-- | target/linux/apm821xx/config-4.14 | 2 | ||||
-rw-r--r-- | target/linux/apm821xx/config-4.19 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index a70c95753d..ccc59b294d 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -56,6 +56,8 @@ CONFIG_CMDLINE_BOOL=y CONFIG_CONSISTENT_SIZE=0x00200000 CONFIG_CPU_BIG_ENDIAN=y CONFIG_CRC16=y +# CONFIG_CRC32_SARWATE is not set +CONFIG_CRC32_SLICEBY8=y CONFIG_CRYPTO_ACOMP2=y CONFIG_CRYPTO_AEAD=y CONFIG_CRYPTO_AEAD2=y diff --git a/target/linux/apm821xx/config-4.19 b/target/linux/apm821xx/config-4.19 index 3f57ec6b83..358eb3c716 100644 --- a/target/linux/apm821xx/config-4.19 +++ b/target/linux/apm821xx/config-4.19 @@ -60,6 +60,8 @@ CONFIG_CONSISTENT_SIZE=0x00200000 CONFIG_CONSOLE_LOGLEVEL_QUIET=4 CONFIG_CPU_BIG_ENDIAN=y CONFIG_CRC16=y +# CONFIG_CRC32_SARWATE is not set +CONFIG_CRC32_SLICEBY8=y CONFIG_CRYPTO_ACOMP2=y CONFIG_CRYPTO_AEAD=y CONFIG_CRYPTO_AEAD2=y |