<snip> > Here only mode is set to RTE_SCHED_CMAN_RED. But I could not find the > place where cman_params are set from cfg_file (for e.g. red_params). Can > you clarify? Look beyond that particular change. All this is joined work. I am adding final touch to what I've started, he continued and now we all are close to push changes.
Take a look here at that particular file history: 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 353) 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 354) if (rte_cfgfile_has_section(cfg, "pie")) { 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 355) cman_params.cman_mode = RTE_SCHED_CMAN_PIE; 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 356) 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 357) for (i = 0; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++) { 06135957c4b (Wojciech Liguzinski 2021-11-04 11:03:34 +0000 358) char str[32]; Hope that helps 😊