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_mempool.c
diff --git
a/app/test/test_mempool.c
b/app/test/test_mempool.c
index
9eb0d5d
..
72f8fb6
100644
(file)
--- a/
app/test/test_mempool.c
+++ b/
app/test/test_mempool.c
@@
-75,7
+75,7
@@
#define TIME_S 5
#define MEMPOOL_ELT_SIZE 2048
#define MAX_KEEP 128
#define TIME_S 5
#define MEMPOOL_ELT_SIZE 2048
#define MAX_KEEP 128
-#define MEMPOOL_SIZE ((
RTE_MAX_LCORE
*(MAX_KEEP+RTE_MEMPOOL_CACHE_MAX_SIZE))-1)
+#define MEMPOOL_SIZE ((
rte_lcore_count()
*(MAX_KEEP+RTE_MEMPOOL_CACHE_MAX_SIZE))-1)
static struct rte_mempool *mp;
static struct rte_mempool *mp_cache, *mp_nocache;
static struct rte_mempool *mp;
static struct rte_mempool *mp_cache, *mp_nocache;