> 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.w...@intel.com> > Signed-off-by: Cunming Liang <cunming.li...@intel.com> > Signed-off-by: Zhirun Yan <zhirun....@intel.com> Acked-by: Pavan Nikhilesh <pbhagavat...@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(-) >