From a122c1c9c9e68be04ca39763a9638fc43fb96c99 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Tue, 2 Dec 2014 15:25:28 +0000
Subject: [PATCH] oxnas: switch CRC32 implementation to SLICEBY8

similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43498
---
 target/linux/oxnas/config-3.18 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/oxnas/config-3.18 b/target/linux/oxnas/config-3.18
index 4997dc1c31..f66650a2e1 100644
--- a/target/linux/oxnas/config-3.18
+++ b/target/linux/oxnas/config-3.18
@@ -70,6 +70,8 @@ CONFIG_CPU_RMAP=y
 CONFIG_CPU_TLB_V6=y
 CONFIG_CPU_V6K=y
 CONFIG_CRC16=y
+# CONFIG_CRC32_SARWATE is not set
+CONFIG_CRC32_SLICEBY8=y
 CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_XZ=y
-- 
GitLab