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
/
qos_sched
/
main.h
diff --git
a/examples/qos_sched/main.h
b/examples/qos_sched/main.h
index
971ec27
..
0e6f264
100644
(file)
--- a/
examples/qos_sched/main.h
+++ b/
examples/qos_sched/main.h
@@
-50,7
+50,7
@@
extern "C" {
#define APP_RX_DESC_DEFAULT 128
#define APP_TX_DESC_DEFAULT 256
#define APP_RX_DESC_DEFAULT 128
#define APP_TX_DESC_DEFAULT 256
-#define MBUF_
SIZE (1528 + sizeof(struct rte_mbuf)
+ RTE_PKTMBUF_HEADROOM)
+#define MBUF_
DATA_SIZE (1528
+ RTE_PKTMBUF_HEADROOM)
#define APP_RING_SIZE (8*1024)
#define NB_MBUF (2*1024*1024)
#define APP_RING_SIZE (8*1024)
#define NB_MBUF (2*1024*1024)