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
tile: fix build
[dpdk.git]
/
app
/
test
/
test_mempool.c
diff --git
a/app/test/test_mempool.c
b/app/test/test_mempool.c
index
fffbf8d
..
b9880b3
100644
(file)
--- a/
app/test/test_mempool.c
+++ b/
app/test/test_mempool.c
@@
-500,6
+500,12
@@
test_mempool_xmem_misc(void)
return 0;
}
return 0;
}
+static void
+walk_cb(struct rte_mempool *mp, void *userdata __rte_unused)
+{
+ printf("\t%s\n", mp->name);
+}
+
static int
test_mempool(void)
{
static int
test_mempool(void)
{
@@
-561,6
+567,9
@@
test_mempool(void)
goto err;
}
goto err;
}
+ printf("Walk into mempools:\n");
+ rte_mempool_walk(walk_cb, NULL);
+
rte_mempool_list_dump(stdout);
/* basic tests without cache */
rte_mempool_list_dump(stdout);
/* basic tests without cache */