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
app/testpmd: fix incorrect port number check
[dpdk.git]
/
app
/
test
/
test_prefetch.c
diff --git
a/app/test/test_prefetch.c
b/app/test/test_prefetch.c
index
10039b7
..
f8615e2
100644
(file)
--- a/
app/test/test_prefetch.c
+++ b/
app/test/test_prefetch.c
@@
-46,7
+46,7
@@
* The test always return success.
*/
-int
+
static
int
test_prefetch(void)
{
int a;
@@
-57,3
+57,9
@@
test_prefetch(void)
return 0;
}
+
+static struct test_command prefetch_cmd = {
+ .command = "prefetch_autotest",
+ .callback = test_prefetch,
+};
+REGISTER_TEST_COMMAND(prefetch_cmd);