Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 25) sorted by relevance

/dpdk/app/test/
H A Dtest_sched.c143 uint32_t pipe; in test_sched() local
162 for (pipe = 0; pipe < subport_param[0].n_pipes_per_subport_enabled; pipe++) { in test_sched()
163 err = rte_sched_pipe_config(port, SUBPORT, pipe, 0); in test_sched()
164 TEST_ASSERT_SUCCESS(err, "Error config sched pipe %u, err=%d\n", pipe, err); in test_sched()
188 &subport, &pipe, &traffic_class, &queue); in test_sched()
191 TEST_ASSERT_EQUAL(pipe, PIPE, "Wrong pipe\n"); in test_sched()
H A Dtest_interrupts.c68 if (pipe(pfds.pipefd) < 0) in test_interrupt_init()
/dpdk/drivers/net/vdev_netvsc/
H A Dvdev_netvsc.c93 if (ctx->pipe[0] != -1) in vdev_netvsc_ctx_destroy()
94 close(ctx->pipe[0]); in vdev_netvsc_ctx_destroy()
95 if (ctx->pipe[1] != -1) in vdev_netvsc_ctx_destroy()
96 close(ctx->pipe[1]); in vdev_netvsc_ctx_destroy()
416 ret = write(ctx->pipe[1], addr, len + 1); in vdev_netvsc_device_probe()
431 ret = write(ctx->pipe[1], "\n", 1); in vdev_netvsc_device_probe()
435 fsync(ctx->pipe[1]); in vdev_netvsc_device_probe()
578 ctx->pipe[0] = -1; in vdev_netvsc_netvsc_probe()
579 ctx->pipe[1] = -1; in vdev_netvsc_netvsc_probe()
581 if (pipe(ctx->pipe) == -1) { in vdev_netvsc_netvsc_probe()
[all …]
/dpdk/lib/sched/
H A Drte_sched.c1620 uint32_t pipe, in rte_sched_port_qindex() argument
1626 ((pipe & in rte_sched_port_qindex()
2303 struct rte_sched_pipe *pipe = grinder->pipe; in grinder_credits_update() local
2318 pipe->tb_credits = RTE_MIN(pipe->tb_credits, params->tb_size); in grinder_credits_update()
2353 struct rte_sched_pipe *pipe = grinder->pipe; in grinder_credits_check() local
2597 grinder->pipe = subport->pipe + grinder->pindex; in grinder_next_pipe()
2618 struct rte_sched_pipe *pipe = grinder->pipe; in grinder_wrr_load() local
2646 struct rte_sched_pipe *pipe = grinder->pipe; in grinder_wrr_store() local
2648 pipe->wrr_tokens[0] = in grinder_wrr_store()
2651 pipe->wrr_tokens[1] = in grinder_wrr_store()
[all …]
H A Drte_sched.h509 uint32_t subport, uint32_t pipe, uint32_t traffic_class,
535 uint32_t *subport, uint32_t *pipe,
/dpdk/examples/qos_sched/
H A Dinit.c309 uint32_t pipe, subport; in app_init_sched_port() local
340 for (pipe = 0; pipe < n_pipes_per_subport; pipe++) { 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()
346 "for profile %d, err=%d\n", pipe, in app_init_sched_port()
347 app_pipe_to_profile[subport][pipe], err); in app_init_sched_port()
H A Dapp_thread.c32 get_pkt_sched(struct rte_mbuf *m, uint32_t *subport, uint32_t *pipe, in get_pkt_sched() argument
43 *pipe = (rte_be_to_cpu_16(pdata[PIPE_OFFSET]) & 0x0FFF) & in get_pkt_sched()
70 uint32_t pipe; 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 Dprofile_ov.cfg35 pipe 0-31 = 0 ; These pipes are configured with pipe profile 0
38 [pipe profile 0]
H A Dprofile.cfg11 ; - Each of the 13 traffic classes has rate set to 100% of pipe rate
51 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
54 [pipe profile 0]
H A Dcfg_file.h13 int cfg_load_pipe(struct rte_cfgfile *cfg, struct rte_sched_pipe_params *pipe);
/dpdk/doc/guides/prog_guide/
H A Dqos_framework.rst434 #. Identify the next active pipe using the bitmap scan operation, *prefetch* pipe.
436 #. *Read* pipe data structure. Update the credits for the current pipe and its subport.
453 moving to the next active TC from the same pipe (if any) or to another active pipe.
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.
737 Strict priority scheduling of traffic classes within the same pipe is implemented by the pipe deque…
750 pipe levels is enforced by periodically refilling the subport / pipe traffic class credit counter,
991 and that the upper limit for pipe best effort TC is set to 100% of pipe rate for all subport member…
1140 the pipe has to be drilled down using the pipe dequeue state machine,
1145 if the pipe does not have enough credits,
[all …]
H A Dtrace_lib.rst195 You can pipe the output of the babeltrace into a tool like grep(1) for further
200 You can pipe the output of babeltrace into a tool like wc(1) to count the
H A Dpoll_mode_drv.rst22 …ironment for packet processing applications allows for two models, run-to-completion and pipe-line:
27 * In the *pipe-line* model, one core polls one or more port's RX descriptor ring through an API.
40 Conversely, in an asynchronous pipe-line model, some logical cores may be dedicated to the retrieva…
118 This is also true for the pipe-line model provided all logical cores used are located on the same p…
H A Dcryptodev_lib.rst153 the pipe-line model provided all logical cores used are located on the same
H A Dbbdev.rst180 pipe-line model provided all logical cores used are located on the same processor.
/dpdk/doc/guides/sample_app_ug/
H A Dqos_scheduler.rst121 The profile configuration file defines all the port/subport/pipe/traffic class/queue parameters
147 * stats port X subport Y pipe Z: For a specific pipe, it shows the number of packets that
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.
206 * A pipe represents an individual user/subscriber.
233 …| Traffic Class | 13 | TCs of the same pipe services in strict priority | De…
H A Dip_pipeline.rst257 Add traffic manager pipe profile ::
259 tmgr pipe profile
284 Configure traffic manager pipe ::
288 pipe from <pipe_id_first> to <pipe_id_last>
473 [tm subport <subport_id> pipe <pipe_id>]
/dpdk/lib/eal/freebsd/
H A Deal.c804 if (pipe(lcore_config[i].pipe_main2worker) < 0) in rte_eal_init()
806 if (pipe(lcore_config[i].pipe_worker2main) < 0) in rte_eal_init()
/dpdk/lib/vhost/
H A Dfd_man.c336 if (pipe(fdset->u.pipefd) < 0) { in fdset_pipe_init()
/dpdk/lib/eal/linux/
H A Deal.c1139 if (pipe(lcore_config[i].pipe_main2worker) < 0) in rte_eal_init()
1141 if (pipe(lcore_config[i].pipe_worker2main) < 0) in rte_eal_init()
H A Deal_interrupts.c1185 if (pipe(intr_pipe.pipefd) < 0) { in rte_eal_intr_init()
/dpdk/doc/guides/rel_notes/
H A Drelease_19_11.rst412 * sched: The pipe nodes configuration parameters such as number of pipes,
413 pipe queue sizes, pipe profiles, etc., are moved from port level structure
415 have different configuration for the pipe nodes.
H A Ddeprecation.rst18 after read or write error on the pipe, instead of calling ``rte_panic``.
H A Drelease_19_08.rst245 of pipe traffic classes and their queues size, and for runtime configuration
246 of the maximum number of pipe profiles, respectively. In addition, the
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c580 uint32_t pipe; member
613 .shaper_profile_id = params->shaper_profile_id.pipe, in tmgr_hierarchy_default()
986 if (softnic_parser_read_uint32(&p.shaper_profile_id.pipe, tokens[13]) != 0) { in cmd_tmgr_hierarchy_default()