git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: introduce networking driver matrix
[dpdk.git]
/
app
/
test
/
test_hash.c
diff --git
a/app/test/test_hash.c
b/app/test/test_hash.c
index
4f2509d
..
2f3d884
100644
(file)
--- a/
app/test/test_hash.c
+++ b/
app/test/test_hash.c
@@
-217,6
+217,13
@@
test_crc32_hash_alg_equiv(void)
printf("Failed checking CRC32_SW against CRC32_SSE42_x64\n");
break;
}
printf("Failed checking CRC32_SW against CRC32_SSE42_x64\n");
break;
}
+
+ /* Check against 8-byte-operand ARM64 CRC32 if available */
+ rte_hash_crc_set_alg(CRC32_ARM64);
+ if (hash_val != rte_hash_crc(data64, data_len, init_val)) {
+ printf("Failed checking CRC32_SW against CRC32_ARM64\n");
+ break;
+ }
}
/* Resetting to best available algorithm */
}
/* Resetting to best available algorithm */