sched: move grinder configuration
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>
This commit is contained in:
parent
3cba7cedd2
commit
ec487c1896
@ -92,7 +92,6 @@
|
||||
#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
|
||||
|
@ -45,6 +45,12 @@ The application is located in the ``qos_sched`` sub-directory.
|
||||
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
|
||||
-----------------------
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user