[EXT] [PATCH v10 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model
Pavan Nikhilesh Bhagavatula
pbhagavatula at marvell.com
Thu Jun 8 14:08:40 CEST 2023
> Add new parameter "model" to choose mcore dispatch or rtc model.
> And in dispatch model, the node will affinity to worker core successively.
>
> Note:
> RTE_GRAPH_MODEL_SELECT is set to GRAPH_MODEL_RTC by default. Must
Should be RTE_GRAPH_MODEL_RTC
> set
> model the same as RTE_GRAPH_MODEL_SELECT If set it as rtc or mcore
> dispatch explicitly. If not define it, it could choose by param model
> in runtime.
> Only support one RX node for mcore dispatch model in current
> implementation.
>
> ./dpdk-l3fwd-graph -l 1,2,3,4 -n 4 -- -p 0x1 --config="(0,0,1)" -P
> --model="dispatch"
>
> Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
> Signed-off-by: Cunming Liang <cunming.liang at intel.com>
> Signed-off-by: Zhirun Yan <zhirun.yan at intel.com>
Acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> ---
> doc/guides/sample_app_ug/l3_forward_graph.rst | 16 ++
> examples/l3fwd-graph/main.c | 230 +++++++++++++++---
> 2 files changed, 208 insertions(+), 38 deletions(-)
>
More information about the dev
mailing list