| /dpdk/lib/sched/ |
| H A D | rte_sched.c | 273 subport->qsize_sum + subport->qsize_add[qpos]); in rte_sched_subport_pipe_qbase() 587 subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1]; in rte_sched_subport_config_qsize() 600 subport->qsize_sum = subport->qsize_add[RTE_SCHED_TRAFFIC_CLASS_BE + 3] + in rte_sched_subport_config_qsize() 723 if (subport->qsize[i]) in rte_sched_pipe_profile_convert() 1030 if (subport == NULL) in rte_sched_subport_free() 1050 rte_free(subport); in rte_sched_subport_free() 1619 uint32_t subport, in rte_sched_port_qindex() argument 1893 if (subport->cman_enabled && subport->cman == RTE_SCHED_CMAN_PIE) { in rte_sched_port_pie_dequeue() 2312 subport->tb_credits = RTE_MIN(subport->tb_credits, sp->tb_size); in grinder_credits_update() 2323 subport->tc_ov_wm = in grinder_credits_update() [all …]
|
| H A D | rte_sched.h | 509 uint32_t subport, uint32_t pipe, uint32_t traffic_class, 535 uint32_t *subport, uint32_t *pipe,
|
| /dpdk/examples/qos_sched/ |
| H A D | init.c | 309 uint32_t pipe, subport; in app_init_sched_port() local 328 for (subport = 0; subport < port_params.n_subports_per_port; subport ++) { in app_init_sched_port() 329 err = rte_sched_subport_config(port, subport, in app_init_sched_port() 330 &subport_params[subport], in app_init_sched_port() 334 "subport %u, err=%d\n", subport, err); in app_init_sched_port() 338 subport_params[subport].n_pipes_per_subport_enabled; in app_init_sched_port() 341 if (app_pipe_to_profile[subport][pipe] != -1) { in app_init_sched_port() 342 err = rte_sched_pipe_config(port, subport, pipe, in app_init_sched_port() 343 app_pipe_to_profile[subport][pipe]); in app_init_sched_port() 347 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 | 20 int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport);
|
| /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 142 * stats port X subport Y: For a specific subport, it shows the number of packets that 147 * stats port X subport Y pipe Z: For a specific pipe, it shows the number of packets that 166 * qavg port X subport Y: Show average queue size per subport. 168 * qavg port X subport Y tc Z: Show average queue size per subport for a specific traffic class. 170 * qavg port X subport Y pipe Z: Show average queue size per pipe. 172 * qavg port X subport Y pipe Z tc A: Show average queue size per pipe for a specific traffic clas… 174 * qavg port X subport Y pipe Z tc A q B: Show average queue size of a specific queue. 204 * A subport represents a predefined group of users.
|
| 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>]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | qos_framework.rst | 443 …th and the available credits (of current pipe, pipe traffic class, subport and subport traffic cla… 551 subport S traffic class TC, pipe P, pipe P traffic class TC. 587 The traffic shaping for subport and pipe is implemented using a token bucket per subport/per pipe. 749 The upper limit for the traffic classes at the subport and 932 allocated for the same traffic class at the parent subport level. 934 The existence of the oversubscription for a specific subport and 936 subport-level configuration as opposed to being created due 943 for all subport member pipes exceeds the limit configured at the subport level. 990 …tion, it is also assumed that the upper limit for subport best effort TC is set to 100% of the sub… 1000 …ustrates how the watermark computed as subport level at the beginning of each period is propagated… [all …]
|
| /dpdk/app/test/ |
| H A D | test_sched.c | 182 uint32_t subport, traffic_class, queue; in test_sched() local 188 &subport, &pipe, &traffic_class, &queue); in test_sched() 190 TEST_ASSERT_EQUAL(subport, SUBPORT, "Wrong subport\n"); in test_sched()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_20_11.rst | 359 * **Added support to update subport bandwidth dynamically.** 362 subport bandwidth profiles to the subport profile table at runtime. 364 * Added support to update the subport rate dynamically.
|
| H A D | release_19_11.rst | 414 to subport level. This allows different subports of the same port to
|
| /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()
|