Lines Matching defs:model
32 /* When adding a new graph model entry, update rte_graph_model_is_valid() implementation. */
33 #define RTE_GRAPH_MODEL_RTC 0 /**< Run-To-Completion model. It is the default model. */
35 /**< Dispatch model to support cross-core dispatching within core affinity. */
36 #define RTE_GRAPH_MODEL_DEFAULT RTE_GRAPH_MODEL_RTC /**< Default graph model. */
58 uint8_t model; /**< graph model */
62 /* Fast schedule area for mcore dispatch model */
71 } dispatch; /** Only used by dispatch model */
107 /** Fast schedule area for mcore dispatch model. */
537 * Test the validity of model.
539 * @param model
543 * True if graph model is valid, false otherwise.
546 rte_graph_model_is_valid(uint8_t model);
550 * before graph running. It will set all graphs the same model.
552 * @param model
553 * Name of the graph worker model.
558 int rte_graph_worker_model_set(uint8_t model);
561 * Get the graph worker model
563 * @note All graph will use the same model and this function will get model from the first one.
570 * Graph worker model on success.
575 * Get the graph worker model without check
577 * @note All graph will use the same model and this function will get model from the first one.
584 * Graph worker model on success.
589 return graph->model;