Drop crc32c-arm64 option
authorwei xiao <wei.xiao@linaro.org>
Fri, 6 Jan 2017 02:37:03 +0000 (02:37 +0000)
committerwei xiao <wei.xiao@arm.com>
Fri, 13 Jan 2017 07:57:26 +0000 (07:57 +0000)
Crc32c will use ARM64 hardware assist, if available.

Jira: ENTLLT-359
Change-Id: Ibdf88f14bd4669ed68a93078c43eb5c8412da543

HOWTO
options.c
verify.c
verify.h

diff --git a/HOWTO b/HOWTO
index 9c8a8375ae513a7775c08d0378a224930cafc681..9ba511b4ea5ad7ccfad1be657cdda56583eba95d 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -1517,11 +1517,6 @@ verify=str       If writing to a file, fio can verify the file contents
                                back to regular software crc32c, if not
                                supported by the system.
 
-                       crc32c-arm64 Use hardware assisted crc32c calculation
-                               provided on CRC enabled ARM 64-bits processors.
-                               Falls back to regular software crc32c, if not
-                               supported by the system.
-
                        crc32   Use a crc32 sum of the data area and store
                                it in the header of each block.
 
index 5886c505b58f2466de4356a123a403ea6dcd01b2..1ca16e84ad15a5c916bf832f03d7c6f4a9c94a62 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2647,10 +2647,6 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                            .oval = VERIFY_CRC32C,
                            .help = "Use crc32c checksums for verification (hw assisted, if available)",
                          },
-                         { .ival = "crc32c-arm64",
-                           .oval = VERIFY_CRC32C,
-                           .help = "Use crc32c checksums for verification (hw assisted, if available)",
-                         },
                          { .ival = "crc32c",
                            .oval = VERIFY_CRC32C,
                            .help = "Use crc32c checksums for verification (hw assisted, if available)",
index 02cd3a4a70a04c60d6fe28dcdab5563261a00a82..5c7e43d05b31ae519d841372c25c660895e6f376 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -1211,7 +1211,6 @@ nothing:
 void fio_verify_init(struct thread_data *td)
 {
        if (td->o.verify == VERIFY_CRC32C_INTEL ||
-           td->o.verify == VERIFY_CRC32C_ARM64 ||
            td->o.verify == VERIFY_CRC32C) {
                crc32c_arm64_probe();
                crc32c_intel_probe();
index 8d40ff66de0806d26f425e9c7eae001937285503..deb161e2a99db3d96fb97395ae4041e4a389ed57 100644 (file)
--- a/verify.h
+++ b/verify.h
@@ -15,7 +15,6 @@ enum {
        VERIFY_CRC64,                   /* crc64 sum data blocks */
        VERIFY_CRC32,                   /* crc32 sum data blocks */
        VERIFY_CRC32C,                  /* crc32c sum data blocks */
-       VERIFY_CRC32C_ARM64,            /* crc32c sum data blocks with hw */
        VERIFY_CRC32C_INTEL,            /* crc32c sum data blocks with hw */
        VERIFY_CRC16,                   /* crc16 sum data blocks */
        VERIFY_CRC7,                    /* crc7 sum data blocks */