On 7/19/2017 10:54 AM, Thomas Monjalon wrote:
17/07/2017 11:37, Hemant Agrawal:
--- a/examples/qos_sched/main.h
+++ b/examples/qos_sched/main.h
@@ -69,8 +69,13 @@ extern "C" {
 #define BURST_TX_DRAIN_US 100

 #ifndef APP_MAX_LCORE
+#if (APP_MAX_LCORE > 64)
 #define APP_MAX_LCORE 64

If APP_MAX_LCORE is not defined, it cannot be > 64, right?
Or what am I missing?

It should be RTE_MAX_LCORE

+#else
+#define APP_MAX_LCORE RTE_MAX_LCORE
+#endif
 #endif





Reply via email to