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: add VF capabilities to virtual channel interface
[dpdk.git]
/
app
/
test
/
test_mempool_perf.c
diff --git
a/app/test/test_mempool_perf.c
b/app/test/test_mempool_perf.c
index
1f7539c
..
cdc02a0
100644
(file)
--- a/
app/test/test_mempool_perf.c
+++ b/
app/test/test_mempool_perf.c
@@
-94,7
+94,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;