[PATCH 1/2] lib/crct10diftest.c add selftests for crct10dif
Zhihang Shao
zhihang.shao.iscas at gmail.com
Wed Nov 13 02:40:35 PST 2024
Add selftests for kernel's implementation of CRC-T10DIF algorithm.
The test data includes 100 randomly generated test-cases.
The selftest file is similar to what is done in lib/crc32test.c, and is
used to verify the correctness and measure performance improvement of
the CRC-T10DIF algorithm with zbc extension optimization.
Signed-off-by: Zhihang Shao <zhihang.shao.iscas at gmail.com>
---
lib/Kconfig | 9 +
lib/Makefile | 1 +
lib/crct10diftest.c | 687 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 697 insertions(+)
create mode 100644 lib/crct10diftest.c
diff --git a/lib/Kconfig b/lib/Kconfig
index b38849af6f13..e0e488fd1307 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -187,6 +187,15 @@ config CRC32_SELFTEST
and crc32_be over byte strings with random alignment and length
and computes the total elapsed time and number of bytes processed.
+config CRCT10DIF_SELFTEST
+ tristate "CRCT10DIF perform self test on init"
+ depends on CRC_T10DIF
+ help
+ This option enables the CRCT10DIF library functions to perform a
+ self test on initialization. The self test computes crc_t10dif_update
+ over byte strings with random alignment and length
+ and computes the total elapsed time and number of bytes processed.
+
choice
prompt "CRC32 implementation"
depends on CRC32
diff --git a/lib/Makefile b/lib/Makefile
index 773adf88af41..6dac65a3778c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -161,6 +161,7 @@ obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o
obj-$(CONFIG_CRC32) += crc32.o
obj-$(CONFIG_CRC64) += crc64.o
obj-$(CONFIG_CRC32_SELFTEST) += crc32test.o
+obj-$(CONFIG_CRCT10DIF_SELFTEST) += crct10diftest.o
obj-$(CONFIG_CRC4) += crc4.o
obj-$(CONFIG_CRC7) += crc7.o
obj-$(CONFIG_LIBCRC32C) += libcrc32c.o
diff --git a/lib/crct10diftest.c b/lib/crct10diftest.c
new file mode 100644
index 000000000000..9541892eb12c
--- /dev/null
+++ b/lib/crct10diftest.c
@@ -0,0 +1,687 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * CRC-T10DIF selftests
+ *
+ * Copyright (C) 2024 Institute of Software, CAS.
+ */
+#include <linux/crc-t10dif.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/sched.h>
+#include <linux/time.h>
+
+static struct crc_test {
+ u16 crc; /* random starting crc*/
+ u16 start; /* random 6 bit offset in buf*/
+ u16 length; /* random 11 bit length of test*/
+ u16 crct10dif; /* expected crc_t10dif result*/
+} tests[] = {
+ {0xdead, 0x0009, 0x0030, 0x8419},
+ {0x37c8, 0x0014, 0x03f0, 0xf4b5},
+ {0x8f45, 0x002d, 0x03b0, 0x6937},
+ {0x4201, 0x0020, 0x0719, 0x665e},
+ {0xe102, 0x0037, 0x0599, 0xb45b},
+ {0xa65d, 0x0008, 0x024d, 0x95d3},
+ {0xadba, 0x0001, 0x0799, 0xbb14},
+ {0x4407, 0x0038, 0x06a3, 0xb401},
+ {0x5188, 0x000c, 0x03f5, 0xf00c},
+ {0x5120, 0x0025, 0x0255, 0x858b},
+ {0x6a92, 0x0006, 0x0559, 0x159a},
+ {0xfa66, 0x0032, 0x0561, 0x0916},
+ {0x40a9, 0x003a, 0x0179, 0x0eb5},
+ {0x3c82, 0x0006, 0x02f0, 0x598c},
+ {0xbe07, 0x000a, 0x0085, 0xb228},
+ {0x7942, 0x0029, 0x033b, 0x0cc4},
+ {0x1275, 0x0030, 0x041b, 0x87b3},
+ {0xb715, 0x0030, 0x03fa, 0xcda8},
+ {0x7476, 0x0013, 0x063b, 0x51e8},
+ {0xa5c5, 0x001c, 0x0245, 0x53af},
+ {0x3e97, 0x003e, 0x0575, 0xdacf},
+ {0xdf84, 0x0025, 0x0556, 0x1154},
+ {0x72ef, 0x001b, 0x079b, 0x07b3},
+ {0x6d04, 0x0016, 0x06fc, 0x8cdf},
+ {0xe206, 0x0017, 0x030e, 0xe609},
+ {0xc188, 0x0008, 0x02c3, 0x504b},
+ {0x705b, 0x003f, 0x04db, 0xcf7c},
+ {0x3c9b, 0x0021, 0x048f, 0x09f9},
+ {0x32df, 0x0004, 0x064c, 0x73fb},
+ {0x0269, 0x0022, 0x07f0, 0xa49e},
+ {0x717d, 0x000b, 0x018b, 0x2ba0},
+ {0xc261, 0x0007, 0x05fb, 0x726e},
+ {0x239f, 0x000a, 0x0582, 0xa055},
+ {0x6812, 0x0006, 0x0325, 0x6399},
+ {0x8145, 0x0001, 0x068e, 0x8a81},
+ {0xaf22, 0x001d, 0x0113, 0xeb59},
+ {0xb521, 0x001f, 0x0465, 0x0648},
+ {0x8b01, 0x0015, 0x04e4, 0xdbf6},
+ {0xf3e0, 0x002f, 0x0300, 0x01b3},
+ {0xa6f6, 0x003c, 0x02a8, 0x56f4},
+ {0x7a06, 0x002b, 0x07bc, 0x5df1},
+ {0x9071, 0x0022, 0x0286, 0x6d8a},
+ {0x8ae3, 0x0015, 0x0796, 0x4fa0},
+ {0x9432, 0x0029, 0x0406, 0xfb2d},
+ {0x3808, 0x002c, 0x00df, 0xb9b6},
+ {0xb4c1, 0x0003, 0x0788, 0x3e7e},
+ {0xbc32, 0x0008, 0x06e3, 0x9c4f},
+ {0xd384, 0x000c, 0x05be, 0x6505},
+ {0x51b7, 0x003a, 0x07a3, 0x4216},
+ {0xa85c, 0x0029, 0x03de, 0xdcfe},
+ {0x933e, 0x0034, 0x0544, 0xecac},
+ {0xcc1e, 0x000b, 0x00c5, 0x832b},
+ {0x99b7, 0x0024, 0x0730, 0x9541},
+ {0x9f67, 0x0038, 0x071a, 0x762b},
+ {0x2140, 0x003e, 0x06c1, 0xe6b5},
+ {0x0f8a, 0x003f, 0x024f, 0xfcdd},
+ {0xc9fa, 0x0032, 0x0369, 0x9192},
+ {0x5c1c, 0x0007, 0x0596, 0x074a},
+ {0xfabb, 0x001a, 0x06cb, 0xd699},
+ {0x9c25, 0x0010, 0x0300, 0x3571},
+ {0xf934, 0x0030, 0x0455, 0xd0ce},
+ {0x18e8, 0x002f, 0x0434, 0x8c42},
+ {0xd16d, 0x0036, 0x06ed, 0x247a},
+ {0x9f75, 0x003d, 0x0238, 0x2508},
+ {0xe32f, 0x0021, 0x03c6, 0x358a},
+ {0xbce8, 0x001c, 0x06a6, 0x11bd},
+ {0x9436, 0x0031, 0x067d, 0x4512},
+ {0xcd02, 0x003d, 0x0638, 0x2bef},
+ {0xdbad, 0x000d, 0x06d2, 0x4e67},
+ {0x65fd, 0x0006, 0x06be, 0xf178},
+ {0x05fc, 0x002b, 0x0062, 0x509d},
+ {0xcee8, 0x001a, 0x06e1, 0xccb1},
+ {0xe03c, 0x0027, 0x0163, 0x2633},
+ {0x6c03, 0x0009, 0x04c8, 0xfec2},
+ {0x657b, 0x0006, 0x0096, 0x1c5a},
+ {0x1cc3, 0x000e, 0x00b3, 0xd233},
+ {0x815c, 0x0005, 0x0506, 0xc241},
+ {0xaa8c, 0x0004, 0x06c3, 0x0e76},
+ {0x7970, 0x0025, 0x05fa, 0x4d7a},
+ {0x91c0, 0x001c, 0x0270, 0x40af},
+ {0x4f83, 0x0014, 0x0720, 0x9d03},
+ {0x0bdd, 0x0029, 0x03c1, 0xac55},
+ {0x372f, 0x0017, 0x03d5, 0x41d2},
+ {0x8325, 0x0009, 0x0463, 0x2add},
+ {0xf40e, 0x002a, 0x03da, 0x45ea},
+ {0x552e, 0x001e, 0x0723, 0x225a},
+ {0x41c3, 0x001d, 0x06f7, 0x1d61},
+ {0x09f9, 0x0027, 0x057f, 0x5cc0},
+ {0xfd3b, 0x0020, 0x0504, 0x8048},
+ {0xb889, 0x0005, 0x0271, 0x43e0},
+ {0xbd1c, 0x0007, 0x03aa, 0x7253},
+ {0xbad0, 0x000e, 0x04c3, 0x9855},
+ {0xc978, 0x001d, 0x0579, 0x2ab0},
+ {0x3b3b, 0x001c, 0x0545, 0x521a},
+ {0x41b9, 0x003c, 0x0082, 0x49b7},
+ {0x15a3, 0x0002, 0x0530, 0xf48a},
+ {0xeaa2, 0x0034, 0x03f8, 0x3aad},
+ {0x8af9, 0x0029, 0x02e3, 0x4b3d},
+ {0xb4b0, 0x000d, 0x0056, 0xecee},
+ {0x669b, 0x0019, 0x065f, 0x28d8},
+};
+
+static const u8 __aligned(8) test_buf[] __initconst = {
+ 0x4d, 0x87, 0x5f, 0x10, 0x90, 0xd5, 0x31, 0x96,
+ 0x3f, 0x5a, 0x50, 0xc7, 0x30, 0x80, 0x5f, 0x2c,
+ 0x78, 0xf0, 0xa2, 0xb5, 0xfb, 0xf9, 0x83, 0x14,
+ 0xe9, 0xb6, 0xaa, 0xe6, 0x39, 0x12, 0x0b, 0x87,
+ 0x99, 0x6a, 0x97, 0x2a, 0x3f, 0xc8, 0xc0, 0x7e,
+ 0x22, 0x10, 0x45, 0x52, 0x90, 0xa4, 0x7e, 0x08,
+ 0x94, 0x21, 0xbe, 0x8f, 0x1a, 0x41, 0xa3, 0x04,
+ 0xf7, 0x4d, 0xea, 0x30, 0x5f, 0xf5, 0xb7, 0xf9,
+ 0x60, 0x4e, 0x23, 0x9f, 0x16, 0xe3, 0x1e, 0x38,
+ 0xf3, 0x63, 0x8b, 0x84, 0x08, 0x09, 0x8c, 0x9c,
+ 0x2a, 0x4a, 0x2c, 0x45, 0x8b, 0xcf, 0x49, 0x82,
+ 0x1d, 0x33, 0xb3, 0x7c, 0x29, 0x6a, 0x75, 0x89,
+ 0xb9, 0x98, 0x28, 0xcf, 0x7b, 0x46, 0x08, 0x6f,
+ 0xaa, 0x93, 0xf3, 0xb2, 0x9c, 0x7f, 0x4e, 0xc7,
+ 0xca, 0x7a, 0x0c, 0x55, 0x4a, 0x55, 0xd8, 0x67,
+ 0x88, 0x8b, 0xe3, 0xb1, 0xf5, 0x59, 0x3a, 0xae,
+ 0xf1, 0x63, 0x7e, 0x6d, 0xa9, 0x86, 0xdc, 0x53,
+ 0x19, 0xcf, 0x05, 0xb5, 0x4e, 0x54, 0x7c, 0x18,
+ 0xce, 0x88, 0x6e, 0x18, 0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
+ 0x75, 0x45, 0x7f, 0x63, 0x38, 0x13, 0x6c, 0xe4,
+ 0x42, 0x77, 0x33, 0xbb, 0x6e, 0x1a, 0x4b, 0xbb,
+ 0xa2, 0x04, 0xad, 0x61, 0xe1, 0xa2, 0xc6, 0x76,
+ 0x92, 0xe2, 0x07, 0xdf, 0x80, 0x7e, 0xd5, 0xf5,
+ 0xc3, 0x54, 0x58, 0xfb, 0x67, 0xc4, 0xe0, 0xa9,
+ 0x3b, 0x13, 0x65, 0xaa, 0x2d, 0xb0, 0x65, 0xcf,
+ 0xb4, 0x12, 0x30, 0x95, 0xb5, 0xf6, 0x0b, 0x47,
+ 0xd8, 0x12, 0x26, 0x58, 0x91, 0xfb, 0x4d, 0x54,
+ 0x4f, 0xa5, 0x50, 0xb6, 0x69, 0x30, 0x60, 0xa5,
+ 0x43, 0xc5, 0x4f, 0x70, 0x75, 0xb4, 0x3f, 0x29,
+ 0xc6, 0x6f, 0xbf, 0x7b, 0x65, 0xca, 0xc2, 0x3e,
+ 0xdd, 0xe8, 0x96, 0x6e, 0xe3, 0xe4, 0xc2, 0x32,
+ 0x89, 0x12, 0xe9, 0xf3, 0x42, 0x49, 0x98, 0x85,
+ 0x0e, 0xe7, 0xf5, 0x83, 0x9b, 0x34, 0xac, 0x61,
+ 0xa3, 0x6b, 0xdd, 0x09, 0x36, 0x9f, 0x47, 0x13,
+ 0x88, 0xdd, 0x81, 0x6b, 0xc1, 0x43, 0x9e, 0x4b,
+ 0x56, 0x87, 0x3e, 0x98, 0xd0, 0xd6, 0x1e, 0xde,
+ 0xbd, 0x13, 0x61, 0x58, 0x48, 0x0d, 0xb9, 0xeb,
+};
+
+static int __init crct10dif_test_init(void)
+{
+ int i;
+ int errors = 0;
+ int bytes = 0;
+ u64 nsec;
+ unsigned long flags;
+
+ static u16 crc;
+
+ for (i = 0; i < 100; i++) {
+ bytes += tests[i].length;
+ crc ^= crc_t10dif_generic(tests[i].crc, test_buf +
+ tests[i].start, tests[i].length);
+ }
+
+ local_irq_save(flags);
+
+ nsec = ktime_get_ns();
+
+ for (i = 0; i < 100; i++) {
+ if (tests[i].crct10dif != crc_t10dif_update(
+ tests[i].crc,
+ test_buf + tests[i].start,
+ tests[i].length))
+ errors++;
+ }
+
+ nsec = ktime_get_ns() - nsec;
+
+ local_irq_restore(flags);
+
+ if (errors)
+ pr_warn("crct10dif: %d self tests failed\n", errors);
+ else
+ pr_info("crct10dif: self tests passed, processed %d bytes in %lld nsec\n",
+ bytes, nsec);
+
+ return 0;
+}
+
+static void __exit crct10dif_test_exit(void)
+{
+ pr_info("CRC-T10DIF test module unloaded.\n");
+}
+
+module_init(crct10dif_test_init);
+module_exit(crct10dif_test_exit);
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("CRC-T10DIF Test Module");
--
2.34.1
More information about the linux-riscv
mailing list