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
i40e/base: store CEE DCBX config
[dpdk.git]
/
app
/
test
/
test_memory.c
diff --git
a/app/test/test_memory.c
b/app/test/test_memory.c
index
6c62de8
..
02ef3cf
100644
(file)
--- a/
app/test/test_memory.c
+++ b/
app/test/test_memory.c
@@
-51,7
+51,7
@@
* - Try to read all memory; it should not segfault.
*/
* - Try to read all memory; it should not segfault.
*/
-int
+
static
int
test_memory(void)
{
uint64_t s;
test_memory(void)
{
uint64_t s;
@@
-84,3
+84,9
@@
test_memory(void)
return 0;
}
return 0;
}
+
+static struct test_command memory_cmd = {
+ .command = "memory_autotest",
+ .callback = test_memory,
+};
+REGISTER_TEST_COMMAND(memory_cmd);