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
apps: use helper to create mbuf pools
[dpdk.git]
/
examples
/
load_balancer
/
main.h
diff --git
a/examples/load_balancer/main.h
b/examples/load_balancer/main.h
index
d9f878b
..
17c0f77
100644
(file)
--- a/
examples/load_balancer/main.h
+++ b/
examples/load_balancer/main.h
@@
-82,8
+82,8
@@
/* Mempools */
/* Mempools */
-#ifndef APP_DEFAULT_MBUF_SIZE
-#define APP_DEFAULT_MBUF_
SIZE (2048 + sizeof(struct rte_mbuf)
+ RTE_PKTMBUF_HEADROOM)
+#ifndef APP_DEFAULT_MBUF_
DATA_
SIZE
+#define APP_DEFAULT_MBUF_
DATA_SIZE (2048
+ RTE_PKTMBUF_HEADROOM)
#endif
#ifndef APP_DEFAULT_MEMPOOL_BUFFERS
#endif
#ifndef APP_DEFAULT_MEMPOOL_BUFFERS