| /f-stack/dpdk/lib/librte_sched/ |
| H A D | rte_sched.c | 270 subport->qsize_sum + subport->qsize_add[qpos]); in rte_sched_subport_pipe_qbase() 584 subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1]; in rte_sched_subport_config_qsize() 597 subport->qsize_sum = subport->qsize_add[RTE_SCHED_TRAFFIC_CLASS_BE + 3] + in rte_sched_subport_config_qsize() 720 if (subport->qsize[i]) in rte_sched_pipe_profile_convert() 1027 if (subport == NULL) in rte_sched_subport_free() 1047 rte_free(subport); in rte_sched_subport_free() 1544 uint32_t subport, in rte_sched_port_qindex() argument 2184 subport->tb_credits = RTE_MIN(subport->tb_credits, sp->tb_size); in grinder_credits_update() 2270 subport->tb_credits = RTE_MIN(subport->tb_credits, sp->tb_size); in grinder_credits_update() 2281 subport->tc_ov_wm = in grinder_credits_update() [all …]
|
| H A D | rte_sched.h | 480 uint32_t subport, uint32_t pipe, uint32_t traffic_class, 506 uint32_t *subport, uint32_t *pipe,
|
| /f-stack/dpdk/examples/qos_sched/ |
| H A D | init.c | 305 uint32_t pipe, subport; in app_init_sched_port() local 324 for (subport = 0; subport < port_params.n_subports_per_port; subport ++) { in app_init_sched_port() 325 err = rte_sched_subport_config(port, subport, in app_init_sched_port() 326 &subport_params[subport], in app_init_sched_port() 330 "subport %u, err=%d\n", subport, err); in app_init_sched_port() 334 subport_params[subport].n_pipes_per_subport_enabled; in app_init_sched_port() 337 if (app_pipe_to_profile[subport][pipe] != -1) { in app_init_sched_port() 338 err = rte_sched_pipe_config(port, subport, pipe, in app_init_sched_port() 339 app_pipe_to_profile[subport][pipe]); in app_init_sched_port() 343 app_pipe_to_profile[subport][pipe], err); in app_init_sched_port()
|
| H A D | profile.cfg | 6 ; * Single subport (subport 0): 9 ; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration: 25 [subport 0] 26 number of pipes per subport = 4096 29 subport 0-8 = 0 ; These subports are configured with subport profile 0 31 [subport profile 0]
|
| H A D | app_thread.c | 32 get_pkt_sched(struct rte_mbuf *m, uint32_t *subport, uint32_t *pipe, in get_pkt_sched() argument 39 *subport = (rte_be_to_cpu_16(pdata[SUBPORT_OFFSET]) & 0x0FFF) & in get_pkt_sched() 44 (subport_params[*subport].n_pipes_per_subport_enabled - 1); in get_pkt_sched() 69 uint32_t subport; in app_rx_thread() local 84 &subport, &pipe, &traffic_class, &queue, &color); in app_rx_thread() 87 subport, pipe, in app_rx_thread()
|
| H A D | profile_ov.cfg | 10 [subport 0] 11 number of pipes per subport = 32 14 subport 0-8 = 0 16 [subport profile 0]
|
| H A D | cfg_file.h | 15 int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport);
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | qos_scheduler.rst | 121 The profile configuration file defines all the port/subport/pipe/traffic class/queue parameters 135 [subport 0] 136 number of pipes per subport = 4096 139 subport 0-8 = 0 ; These subports are configured with subport profile 0 141 [subport profile 0] 281 * stats port X subport Y: For a specific subport, it shows the number of packets that 305 * qavg port X subport Y: Show average queue size per subport. 307 * qavg port X subport Y tc Z: Show average queue size per subport for a specific traffic class. 309 * qavg port X subport Y pipe Z: Show average queue size per pipe. 313 * qavg port X subport Y pipe Z tc A q B: Show average queue size of a specific queue. [all …]
|
| H A D | ip_pipeline.rst | 248 Add traffic manager subport profile :: 250 tmgr subport profile 278 Configure traffic manager subport :: 281 subport <subport_id> 287 subport <subport_id> 473 [tm subport <subport_id> pipe <pipe_id>]
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | qos_framework.rst | 442 …th and the available credits (of current pipe, pipe traffic class, subport and subport traffic cla… 550 subport S traffic class TC, pipe P, pipe P traffic class TC. 586 The traffic shaping for subport and pipe is implemented using a token bucket per subport/per pipe. 748 The upper limit for the traffic classes at the subport and 931 allocated for the same traffic class at the parent subport level. 933 The existence of the oversubscription for a specific subport and 935 subport-level configuration as opposed to being created due 942 for all subport member pipes exceeds the limit configured at the subport level. 989 …tion, it is also assumed that the upper limit for subport best effort TC is set to 100% of the sub… 999 …ustrates how the watermark computed as subport level at the beginning of each period is propagated… [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_sched.c | 173 uint32_t subport, traffic_class, queue; in test_sched() local 179 &subport, &pipe, &traffic_class, &queue); in test_sched() 181 TEST_ASSERT_EQUAL(subport, SUBPORT, "Wrong subport\n"); in test_sched()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_20_11.rst | 406 * **Added support to update subport bandwidth dynamically.** 409 subport bandwidth profiles to the subport profile table at runtime. 411 * Added support to update the subport rate dynamically.
|
| H A D | deprecation.rst | 131 traffic classes, and subport level configuration of pipes and queues
|
| H A D | release_19_11.rst | 482 to subport level. This allows different subports of the same port to
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 579 uint32_t subport; member 606 .shaper_profile_id = params->shaper_profile_id.subport, in tmgr_hierarchy_default() 976 if (softnic_parser_read_uint32(&p.shaper_profile_id.subport, tokens[11]) != 0) { in cmd_tmgr_hierarchy_default()
|