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
examples/ipsec-secgw: check SP only when setup
[dpdk.git]
/
examples
/
qos_sched
/
main.h
diff --git
a/examples/qos_sched/main.h
b/examples/qos_sched/main.h
index
643f1c8
..
c7490c6
100644
(file)
--- a/
examples/qos_sched/main.h
+++ b/
examples/qos_sched/main.h
@@
-68,9
+68,12
@@
extern "C" {
#define BURST_TX_DRAIN_US 100
#define BURST_TX_DRAIN_US 100
-#define MAX_DATA_STREAMS (RTE_MAX_LCORE/2)
+#ifndef APP_MAX_LCORE
+#define APP_MAX_LCORE 64
+#endif
+#define MAX_DATA_STREAMS (APP_MAX_LCORE/2)
#define MAX_SCHED_SUBPORTS 8
#define MAX_SCHED_SUBPORTS 8
-#define MAX_SCHED_PIPES 4096
+#define MAX_SCHED_PIPES 4096
#ifndef APP_COLLECT_STAT
#define APP_COLLECT_STAT 1
#ifndef APP_COLLECT_STAT
#define APP_COLLECT_STAT 1