![LEROY Christophe](/assets/img/avatar_default.png)
On PPC_8xx, CRC32_SLICEBY4 is more efficient (almost twice) than CRC32_SLICEBY8, as shown below: With CRC32_SLICEBY8: [ 1.109204] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64 [ 1.114401] crc32: self tests passed, processed 225944 bytes in 15118910 nsec [ 1.130655] crc32c: CRC_LE_BITS = 64 [ 1.134235] crc32c: self tests passed, processed 225944 bytes in 4479879 nsec With CRC32_SLICEBY4: [ 1.097129] crc32: CRC_LE_BITS = 32, CRC_BE BITS = 32 [ 1.101878] crc32: self tests passed, processed 225944 bytes in 8616242 nsec [ 1.116298] crc32c: CRC_LE_BITS = 32 [ 1.119607] crc32c: self tests passed, processed 225944 bytes in 3289576 nsec Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <scottwood@freescale.com>
74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
CONFIG_PPC_8xx=y
|
|
CONFIG_EXPERIMENTAL=y
|
|
# CONFIG_SWAP is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_SYSCTL_SYSCALL is not set
|
|
# CONFIG_ELF_CORE is not set
|
|
# CONFIG_BASE_FULL is not set
|
|
# CONFIG_FUTEX is not set
|
|
# CONFIG_VM_EVENT_COUNTERS is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
# CONFIG_IOSCHED_CFQ is not set
|
|
CONFIG_PPC_ADDER875=y
|
|
CONFIG_8xx_COPYBACK=y
|
|
CONFIG_HZ_1000=y
|
|
CONFIG_SPARSE_IRQ=y
|
|
# CONFIG_SECCOMP is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_SYN_COOKIES=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_FW_LOADER is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CHAR=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_AMDSTD=y
|
|
CONFIG_MTD_PHYSMAP_OF=y
|
|
# CONFIG_BLK_DEV is not set
|
|
# CONFIG_MISC_DEVICES is not set
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_DAVICOM_PHY=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_FS_ENET=y
|
|
# CONFIG_FS_ENET_HAS_SCC is not set
|
|
# CONFIG_NETDEV_1000 is not set
|
|
# CONFIG_NETDEV_10000 is not set
|
|
# CONFIG_VT is not set
|
|
CONFIG_SERIAL_CPM=y
|
|
CONFIG_SERIAL_CPM_CONSOLE=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_GEN_RTC=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_THERMAL=y
|
|
CONFIG_VIDEO_OUTPUT_CONTROL=y
|
|
# CONFIG_HID_SUPPORT is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_TMPFS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
# CONFIG_CRC32 is not set
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_DEBUG_INFO=y
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_CRC32_SLICEBY4=y
|