Kconfig

CONFIG_CRC4

  • Off
  • Module
  • Built in

The CRC4 library functions. Select this if your module uses any of the functions from <linux/crc4.h>.

CONFIG_CRC7

  • Off
  • Module
  • Built in

The CRC7 library functions. Select this if your module uses any of the functions from <linux/crc7.h>.

CONFIG_CRC8

  • Off
  • Module
  • Built in

The CRC8 library functions. Select this if your module uses any of the functions from <linux/crc8.h>.

CONFIG_CRC16

  • Off
  • Module
  • Built in

The CRC16 library functions. Select this if your module uses any of the functions from <linux/crc16.h>.

CONFIG_CRC_CCITT

  • Off
  • Module
  • Built in

The CRC-CCITT library functions. Select this if your module uses any of the functions from <linux/crc-ccitt.h>.

CONFIG_CRC_ITU_T

  • Off
  • Module
  • Built in

The CRC-ITU-T library functions. Select this if your module uses any of the functions from <linux/crc-itu-t.h>.

CONFIG_CRC_T10DIF

  • Off
  • Module
  • Built in

The CRC-T10DIF library functions. Select this if your module uses any of the functions from <linux/crc-t10dif.h>.

CONFIG_CRC32

  • Off
  • Module
  • Built in

The CRC32 library functions. Select this if your module uses any of the functions from <linux/crc32.h> or <linux/crc32c.h>.

CONFIG_CRC64

  • Off
  • Module
  • Built in

The CRC64 library functions. Select this if your module uses any of the functions from <linux/crc64.h>.

CONFIG_CRC_OPTIMIZATIONS Enable optimized CRC implementations

On

Disabling this option reduces code size slightly by disabling the architecture-optimized implementations of any CRC variants that are enabled. CRC checksumming performance may get much slower.

Keep this enabled unless you're really trying to minimize the size of the kernel.

Default

CONFIG_CRC_ENABLE_ALL_FOR_KUNIT Enable all CRC functions for KUnit test

  • Off
  • Module
  • Built in

Enable all CRC functions that have test code in CRC_KUNIT_TEST.

Enable this only if you'd like the CRC KUnit test suite to test all the CRC variants, even ones that wouldn't otherwise need to be built.

CONFIG_CRC_BENCHMARK Benchmark for the CRC functions

On

Include benchmarks in the KUnit test suite for the CRC functions.

CONFIG_KERNEL_MODE_NEON declarations