Grinder configuration is now moved to sched library.
Number of grinders can also modified by specifying
RTE_SCHED_PORT_N_GRINDERS=N in CFLAGS, where N is number of grinders.
Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
#undef RTE_SCHED_CMAN
#undef RTE_SCHED_COLLECT_STATS
#undef RTE_SCHED_SUBPORT_TC_OV
-#define RTE_SCHED_PORT_N_GRINDERS 8
/* rte_graph defines */
#define RTE_GRAPH_BURST_SIZE 256
DPDK must be compiled defining *RTE_SCHED_COLLECT_STATS*, which can be done by changing the relevant
entry in the ``config/rte_config.h`` file.
+.. note::
+
+ Number of grinders is currently set to 8.
+ This can be modified by specifying RTE_SCHED_PORT_N_GRINDERS=N
+ in CFLAGS, where N is number of grinders.
+
Running the Application
-----------------------
#pragma warning(disable:2259) /* conversion may lose significant bits */
#endif
+#ifndef RTE_SCHED_PORT_N_GRINDERS
+#define RTE_SCHED_PORT_N_GRINDERS 8
+#endif
+
#define RTE_SCHED_TB_RATE_CONFIG_ERR (1e-7)
#define RTE_SCHED_WRR_SHIFT 3
#define RTE_SCHED_MAX_QUEUES_PER_TC RTE_SCHED_BE_QUEUES_PER_PIPE